utils/cmsis/same70/include/instance/rtc.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_RTC_INSTANCE_
36 #define _SAME70_RTC_INSTANCE_
37 
38 /* ========== Register definition for RTC peripheral ========== */
39 #if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
40  #define REG_RTC_CR (0x400E1860U)
41  #define REG_RTC_MR (0x400E1864U)
42  #define REG_RTC_TIMR (0x400E1868U)
43  #define REG_RTC_CALR (0x400E186CU)
44  #define REG_RTC_TIMALR (0x400E1870U)
45  #define REG_RTC_CALALR (0x400E1874U)
46  #define REG_RTC_SR (0x400E1878U)
47  #define REG_RTC_SCCR (0x400E187CU)
48  #define REG_RTC_IER (0x400E1880U)
49  #define REG_RTC_IDR (0x400E1884U)
50  #define REG_RTC_IMR (0x400E1888U)
51  #define REG_RTC_VER (0x400E188CU)
52  #define REG_RTC_WPMR (0x400E1944U)
53  #define REG_RTC_VERSION (0x400E195CU)
54 #else
55  #define REG_RTC_CR (*(__IO uint32_t*)0x400E1860U)
56  #define REG_RTC_MR (*(__IO uint32_t*)0x400E1864U)
57  #define REG_RTC_TIMR (*(__IO uint32_t*)0x400E1868U)
58  #define REG_RTC_CALR (*(__IO uint32_t*)0x400E186CU)
59  #define REG_RTC_TIMALR (*(__IO uint32_t*)0x400E1870U)
60  #define REG_RTC_CALALR (*(__IO uint32_t*)0x400E1874U)
61  #define REG_RTC_SR (*(__I uint32_t*)0x400E1878U)
62  #define REG_RTC_SCCR (*(__O uint32_t*)0x400E187CU)
63  #define REG_RTC_IER (*(__O uint32_t*)0x400E1880U)
64  #define REG_RTC_IDR (*(__O uint32_t*)0x400E1884U)
65  #define REG_RTC_IMR (*(__I uint32_t*)0x400E1888U)
66  #define REG_RTC_VER (*(__I uint32_t*)0x400E188CU)
67  #define REG_RTC_WPMR (*(__IO uint32_t*)0x400E1944U)
68  #define REG_RTC_VERSION (*(__I uint32_t*)0x400E195CU)
69 #endif /* (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
70 
71 #endif /* _SAME70_RTC_INSTANCE_ */


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