Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. #define __IO volatile
  2.  
  3. typedef struct {
  4. union {
  5. __IO uint32_t RR;
  6. __IO uint32_t TR;
  7. __IO uint32_t DL;
  8. __IO uint32_t RR_TR_DL;
  9. };
  10. union {
  11. __IO uint32_t DH;
  12. __IO uint32_t IR;
  13. __IO uint32_t DH_IER;
  14. };
  15. } UART_TypeDef;
  16.  
  17. typedef struct {
  18. union {
  19. struct{
  20. __IO uint32_t CTRLR0;
  21. __IO uint32_t SSI_COMP_VERSION;
  22. union {
  23. __IO uint32_t DR;
  24. __IO uint32_t DR0;
  25. };
  26. __IO uint32_t DR1;
  27. __IO uint32_t RSVD_2;
  28. };
  29. uint8_t RESERVED[0x1000];
  30. };
  31. } SSI_TypeDef;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement