uart0.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 _SAME70_UART0_INSTANCE_
36 #define _SAME70_UART0_INSTANCE_
37 
38 /* ========== Register definition for UART0 peripheral ========== */
39 #if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
40  #define REG_UART0_CR (0x400E0800U)
41  #define REG_UART0_MR (0x400E0804U)
42  #define REG_UART0_IER (0x400E0808U)
43  #define REG_UART0_IDR (0x400E080CU)
44  #define REG_UART0_IMR (0x400E0810U)
45  #define REG_UART0_SR (0x400E0814U)
46  #define REG_UART0_RHR (0x400E0818U)
47  #define REG_UART0_THR (0x400E081CU)
48  #define REG_UART0_BRGR (0x400E0820U)
49  #define REG_UART0_CMPR (0x400E0824U)
50  #define REG_UART0_WPMR (0x400E08E4U)
51  #define REG_UART0_VERSION (0x400E08FCU)
52 #else
53  #define REG_UART0_CR (*(__O uint32_t*)0x400E0800U)
54  #define REG_UART0_MR (*(__IO uint32_t*)0x400E0804U)
55  #define REG_UART0_IER (*(__O uint32_t*)0x400E0808U)
56  #define REG_UART0_IDR (*(__O uint32_t*)0x400E080CU)
57  #define REG_UART0_IMR (*(__I uint32_t*)0x400E0810U)
58  #define REG_UART0_SR (*(__I uint32_t*)0x400E0814U)
59  #define REG_UART0_RHR (*(__I uint32_t*)0x400E0818U)
60  #define REG_UART0_THR (*(__O uint32_t*)0x400E081CU)
61  #define REG_UART0_BRGR (*(__IO uint32_t*)0x400E0820U)
62  #define REG_UART0_CMPR (*(__IO uint32_t*)0x400E0824U)
63  #define REG_UART0_WPMR (*(__IO uint32_t*)0x400E08E4U)
64  #define REG_UART0_VERSION (*(__I uint32_t*)0x400E08FCU)
65 #endif /* (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
66 
67 #endif /* _SAME70_UART0_INSTANCE_ */


inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:17:58