SAM4SD32 (SAM4S-EK2)
Loading...
Searching...
No Matches
instance_usart0.h
Go to the documentation of this file.
1
31/*
32 * Support and FAQ: visit <a href="https://www.microchip.com/support/">Microchip Support</a>
33 */
34
35#ifndef _SAM4S_USART0_INSTANCE_
36#define _SAM4S_USART0_INSTANCE_
37
38/* ========== Register definition for USART0 peripheral ========== */
39#if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
40 #define REG_USART0_CR (0x40024000U)
41 #define REG_USART0_MR (0x40024004U)
42 #define REG_USART0_IER (0x40024008U)
43 #define REG_USART0_IDR (0x4002400CU)
44 #define REG_USART0_IMR (0x40024010U)
45 #define REG_USART0_CSR (0x40024014U)
46 #define REG_USART0_RHR (0x40024018U)
47 #define REG_USART0_THR (0x4002401CU)
48 #define REG_USART0_BRGR (0x40024020U)
49 #define REG_USART0_RTOR (0x40024024U)
50 #define REG_USART0_TTGR (0x40024028U)
51 #define REG_USART0_FIDI (0x40024040U)
52 #define REG_USART0_NER (0x40024044U)
53 #define REG_USART0_IF (0x4002404CU)
54 #define REG_USART0_MAN (0x40024050U)
55 #define REG_USART0_WPMR (0x400240E4U)
56 #define REG_USART0_WPSR (0x400240E8U)
57 #define REG_USART0_VERSION (0x400240FCU)
58 #define REG_USART0_RPR (0x40024100U)
59 #define REG_USART0_RCR (0x40024104U)
60 #define REG_USART0_TPR (0x40024108U)
61 #define REG_USART0_TCR (0x4002410CU)
62 #define REG_USART0_RNPR (0x40024110U)
63 #define REG_USART0_RNCR (0x40024114U)
64 #define REG_USART0_TNPR (0x40024118U)
65 #define REG_USART0_TNCR (0x4002411CU)
66 #define REG_USART0_PTCR (0x40024120U)
67 #define REG_USART0_PTSR (0x40024124U)
68#else
69 #define REG_USART0_CR (*(__O uint32_t*)0x40024000U)
70 #define REG_USART0_MR (*(__IO uint32_t*)0x40024004U)
71 #define REG_USART0_IER (*(__O uint32_t*)0x40024008U)
72 #define REG_USART0_IDR (*(__O uint32_t*)0x4002400CU)
73 #define REG_USART0_IMR (*(__I uint32_t*)0x40024010U)
74 #define REG_USART0_CSR (*(__I uint32_t*)0x40024014U)
75 #define REG_USART0_RHR (*(__I uint32_t*)0x40024018U)
76 #define REG_USART0_THR (*(__O uint32_t*)0x4002401CU)
77 #define REG_USART0_BRGR (*(__IO uint32_t*)0x40024020U)
78 #define REG_USART0_RTOR (*(__IO uint32_t*)0x40024024U)
79 #define REG_USART0_TTGR (*(__IO uint32_t*)0x40024028U)
80 #define REG_USART0_FIDI (*(__IO uint32_t*)0x40024040U)
81 #define REG_USART0_NER (*(__I uint32_t*)0x40024044U)
82 #define REG_USART0_IF (*(__IO uint32_t*)0x4002404CU)
83 #define REG_USART0_MAN (*(__IO uint32_t*)0x40024050U)
84 #define REG_USART0_WPMR (*(__IO uint32_t*)0x400240E4U)
85 #define REG_USART0_WPSR (*(__I uint32_t*)0x400240E8U)
86 #define REG_USART0_VERSION (*(__I uint32_t*)0x400240FCU)
87 #define REG_USART0_RPR (*(__IO uint32_t*)0x40024100U)
88 #define REG_USART0_RCR (*(__IO uint32_t*)0x40024104U)
89 #define REG_USART0_TPR (*(__IO uint32_t*)0x40024108U)
90 #define REG_USART0_TCR (*(__IO uint32_t*)0x4002410CU)
91 #define REG_USART0_RNPR (*(__IO uint32_t*)0x40024110U)
92 #define REG_USART0_RNCR (*(__IO uint32_t*)0x40024114U)
93 #define REG_USART0_TNPR (*(__IO uint32_t*)0x40024118U)
94 #define REG_USART0_TNCR (*(__IO uint32_t*)0x4002411CU)
95 #define REG_USART0_PTCR (*(__O uint32_t*)0x40024120U)
96 #define REG_USART0_PTSR (*(__I uint32_t*)0x40024124U)
97#endif /* (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
98
99#endif /* _SAM4S_USART0_INSTANCE_ */