uart2.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_UART2_INSTANCE_
36 #define _SAME70_UART2_INSTANCE_
37 
38 /* ========== Register definition for UART2 peripheral ========== */
39 #if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
40  #define REG_UART2_CR (0x400E1A00U)
41  #define REG_UART2_MR (0x400E1A04U)
42  #define REG_UART2_IER (0x400E1A08U)
43  #define REG_UART2_IDR (0x400E1A0CU)
44  #define REG_UART2_IMR (0x400E1A10U)
45  #define REG_UART2_SR (0x400E1A14U)
46  #define REG_UART2_RHR (0x400E1A18U)
47  #define REG_UART2_THR (0x400E1A1CU)
48  #define REG_UART2_BRGR (0x400E1A20U)
49  #define REG_UART2_CMPR (0x400E1A24U)
50  #define REG_UART2_WPMR (0x400E1AE4U)
51  #define REG_UART2_VERSION (0x400E1AFCU)
52 #else
53  #define REG_UART2_CR (*(__O uint32_t*)0x400E1A00U)
54  #define REG_UART2_MR (*(__IO uint32_t*)0x400E1A04U)
55  #define REG_UART2_IER (*(__O uint32_t*)0x400E1A08U)
56  #define REG_UART2_IDR (*(__O uint32_t*)0x400E1A0CU)
57  #define REG_UART2_IMR (*(__I uint32_t*)0x400E1A10U)
58  #define REG_UART2_SR (*(__I uint32_t*)0x400E1A14U)
59  #define REG_UART2_RHR (*(__I uint32_t*)0x400E1A18U)
60  #define REG_UART2_THR (*(__O uint32_t*)0x400E1A1CU)
61  #define REG_UART2_BRGR (*(__IO uint32_t*)0x400E1A20U)
62  #define REG_UART2_CMPR (*(__IO uint32_t*)0x400E1A24U)
63  #define REG_UART2_WPMR (*(__IO uint32_t*)0x400E1AE4U)
64  #define REG_UART2_VERSION (*(__I uint32_t*)0x400E1AFCU)
65 #endif /* (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
66 
67 #endif /* _SAME70_UART2_INSTANCE_ */


inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:05