uart1.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_UART1_INSTANCE_
36 #define _SAME70_UART1_INSTANCE_
37 
38 /* ========== Register definition for UART1 peripheral ========== */
39 #if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
40  #define REG_UART1_CR (0x400E0A00U)
41  #define REG_UART1_MR (0x400E0A04U)
42  #define REG_UART1_IER (0x400E0A08U)
43  #define REG_UART1_IDR (0x400E0A0CU)
44  #define REG_UART1_IMR (0x400E0A10U)
45  #define REG_UART1_SR (0x400E0A14U)
46  #define REG_UART1_RHR (0x400E0A18U)
47  #define REG_UART1_THR (0x400E0A1CU)
48  #define REG_UART1_BRGR (0x400E0A20U)
49  #define REG_UART1_CMPR (0x400E0A24U)
50  #define REG_UART1_WPMR (0x400E0AE4U)
51  #define REG_UART1_VERSION (0x400E0AFCU)
52 #else
53  #define REG_UART1_CR (*(__O uint32_t*)0x400E0A00U)
54  #define REG_UART1_MR (*(__IO uint32_t*)0x400E0A04U)
55  #define REG_UART1_IER (*(__O uint32_t*)0x400E0A08U)
56  #define REG_UART1_IDR (*(__O uint32_t*)0x400E0A0CU)
57  #define REG_UART1_IMR (*(__I uint32_t*)0x400E0A10U)
58  #define REG_UART1_SR (*(__I uint32_t*)0x400E0A14U)
59  #define REG_UART1_RHR (*(__I uint32_t*)0x400E0A18U)
60  #define REG_UART1_THR (*(__O uint32_t*)0x400E0A1CU)
61  #define REG_UART1_BRGR (*(__IO uint32_t*)0x400E0A20U)
62  #define REG_UART1_CMPR (*(__IO uint32_t*)0x400E0A24U)
63  #define REG_UART1_WPMR (*(__IO uint32_t*)0x400E0AE4U)
64  #define REG_UART1_VERSION (*(__I uint32_t*)0x400E0AFCU)
65 #endif /* (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
66 
67 #endif /* _SAME70_UART1_INSTANCE_ */


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