SAM4SD32 (SAM4S-EK2)
Loading...
Searching...
No Matches
instance_usart1.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_USART1_INSTANCE_
36#define _SAM4S_USART1_INSTANCE_
37
38/* ========== Register definition for USART1 peripheral ========== */
39#if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
40 #define REG_USART1_CR (0x40028000U)
41 #define REG_USART1_MR (0x40028004U)
42 #define REG_USART1_IER (0x40028008U)
43 #define REG_USART1_IDR (0x4002800CU)
44 #define REG_USART1_IMR (0x40028010U)
45 #define REG_USART1_CSR (0x40028014U)
46 #define REG_USART1_RHR (0x40028018U)
47 #define REG_USART1_THR (0x4002801CU)
48 #define REG_USART1_BRGR (0x40028020U)
49 #define REG_USART1_RTOR (0x40028024U)
50 #define REG_USART1_TTGR (0x40028028U)
51 #define REG_USART1_FIDI (0x40028040U)
52 #define REG_USART1_NER (0x40028044U)
53 #define REG_USART1_IF (0x4002804CU)
54 #define REG_USART1_MAN (0x40028050U)
55 #define REG_USART1_WPMR (0x400280E4U)
56 #define REG_USART1_WPSR (0x400280E8U)
57 #define REG_USART1_VERSION (0x400280FCU)
58 #define REG_USART1_RPR (0x40028100U)
59 #define REG_USART1_RCR (0x40028104U)
60 #define REG_USART1_TPR (0x40028108U)
61 #define REG_USART1_TCR (0x4002810CU)
62 #define REG_USART1_RNPR (0x40028110U)
63 #define REG_USART1_RNCR (0x40028114U)
64 #define REG_USART1_TNPR (0x40028118U)
65 #define REG_USART1_TNCR (0x4002811CU)
66 #define REG_USART1_PTCR (0x40028120U)
67 #define REG_USART1_PTSR (0x40028124U)
68#else
69 #define REG_USART1_CR (*(__O uint32_t*)0x40028000U)
70 #define REG_USART1_MR (*(__IO uint32_t*)0x40028004U)
71 #define REG_USART1_IER (*(__O uint32_t*)0x40028008U)
72 #define REG_USART1_IDR (*(__O uint32_t*)0x4002800CU)
73 #define REG_USART1_IMR (*(__I uint32_t*)0x40028010U)
74 #define REG_USART1_CSR (*(__I uint32_t*)0x40028014U)
75 #define REG_USART1_RHR (*(__I uint32_t*)0x40028018U)
76 #define REG_USART1_THR (*(__O uint32_t*)0x4002801CU)
77 #define REG_USART1_BRGR (*(__IO uint32_t*)0x40028020U)
78 #define REG_USART1_RTOR (*(__IO uint32_t*)0x40028024U)
79 #define REG_USART1_TTGR (*(__IO uint32_t*)0x40028028U)
80 #define REG_USART1_FIDI (*(__IO uint32_t*)0x40028040U)
81 #define REG_USART1_NER (*(__I uint32_t*)0x40028044U)
82 #define REG_USART1_IF (*(__IO uint32_t*)0x4002804CU)
83 #define REG_USART1_MAN (*(__IO uint32_t*)0x40028050U)
84 #define REG_USART1_WPMR (*(__IO uint32_t*)0x400280E4U)
85 #define REG_USART1_WPSR (*(__I uint32_t*)0x400280E8U)
86 #define REG_USART1_VERSION (*(__I uint32_t*)0x400280FCU)
87 #define REG_USART1_RPR (*(__IO uint32_t*)0x40028100U)
88 #define REG_USART1_RCR (*(__IO uint32_t*)0x40028104U)
89 #define REG_USART1_TPR (*(__IO uint32_t*)0x40028108U)
90 #define REG_USART1_TCR (*(__IO uint32_t*)0x4002810CU)
91 #define REG_USART1_RNPR (*(__IO uint32_t*)0x40028110U)
92 #define REG_USART1_RNCR (*(__IO uint32_t*)0x40028114U)
93 #define REG_USART1_TNPR (*(__IO uint32_t*)0x40028118U)
94 #define REG_USART1_TNCR (*(__IO uint32_t*)0x4002811CU)
95 #define REG_USART1_PTCR (*(__O uint32_t*)0x40028120U)
96 #define REG_USART1_PTSR (*(__I uint32_t*)0x40028124U)
97#endif /* (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
98
99#endif /* _SAM4S_USART1_INSTANCE_ */