tc2.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_TC2_INSTANCE_
36 #define _SAME70_TC2_INSTANCE_
37 
38 /* ========== Register definition for TC2 peripheral ========== */
39 #if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
40  #define REG_TC2_CCR0 (0x40014000U)
41  #define REG_TC2_CMR0 (0x40014004U)
42  #define REG_TC2_SMMR0 (0x40014008U)
43  #define REG_TC2_RAB0 (0x4001400CU)
44  #define REG_TC2_CV0 (0x40014010U)
45  #define REG_TC2_RA0 (0x40014014U)
46  #define REG_TC2_RB0 (0x40014018U)
47  #define REG_TC2_RC0 (0x4001401CU)
48  #define REG_TC2_SR0 (0x40014020U)
49  #define REG_TC2_IER0 (0x40014024U)
50  #define REG_TC2_IDR0 (0x40014028U)
51  #define REG_TC2_IMR0 (0x4001402CU)
52  #define REG_TC2_EMR0 (0x40014030U)
53  #define REG_TC2_CCR1 (0x40014040U)
54  #define REG_TC2_CMR1 (0x40014044U)
55  #define REG_TC2_SMMR1 (0x40014048U)
56  #define REG_TC2_RAB1 (0x4001404CU)
57  #define REG_TC2_CV1 (0x40014050U)
58  #define REG_TC2_RA1 (0x40014054U)
59  #define REG_TC2_RB1 (0x40014058U)
60  #define REG_TC2_RC1 (0x4001405CU)
61  #define REG_TC2_SR1 (0x40014060U)
62  #define REG_TC2_IER1 (0x40014064U)
63  #define REG_TC2_IDR1 (0x40014068U)
64  #define REG_TC2_IMR1 (0x4001406CU)
65  #define REG_TC2_EMR1 (0x40014070U)
66  #define REG_TC2_CCR2 (0x40014080U)
67  #define REG_TC2_CMR2 (0x40014084U)
68  #define REG_TC2_SMMR2 (0x40014088U)
69  #define REG_TC2_RAB2 (0x4001408CU)
70  #define REG_TC2_CV2 (0x40014090U)
71  #define REG_TC2_RA2 (0x40014094U)
72  #define REG_TC2_RB2 (0x40014098U)
73  #define REG_TC2_RC2 (0x4001409CU)
74  #define REG_TC2_SR2 (0x400140A0U)
75  #define REG_TC2_IER2 (0x400140A4U)
76  #define REG_TC2_IDR2 (0x400140A8U)
77  #define REG_TC2_IMR2 (0x400140ACU)
78  #define REG_TC2_EMR2 (0x400140B0U)
79  #define REG_TC2_BCR (0x400140C0U)
80  #define REG_TC2_BMR (0x400140C4U)
81  #define REG_TC2_QIER (0x400140C8U)
82  #define REG_TC2_QIDR (0x400140CCU)
83  #define REG_TC2_QIMR (0x400140D0U)
84  #define REG_TC2_QISR (0x400140D4U)
85  #define REG_TC2_FMR (0x400140D8U)
86  #define REG_TC2_WPMR (0x400140E4U)
87  #define REG_TC2_VER (0x400140FCU)
88 #else
89  #define REG_TC2_CCR0 (*(__O uint32_t*)0x40014000U)
90  #define REG_TC2_CMR0 (*(__IO uint32_t*)0x40014004U)
91  #define REG_TC2_SMMR0 (*(__IO uint32_t*)0x40014008U)
92  #define REG_TC2_RAB0 (*(__I uint32_t*)0x4001400CU)
93  #define REG_TC2_CV0 (*(__I uint32_t*)0x40014010U)
94  #define REG_TC2_RA0 (*(__IO uint32_t*)0x40014014U)
95  #define REG_TC2_RB0 (*(__IO uint32_t*)0x40014018U)
96  #define REG_TC2_RC0 (*(__IO uint32_t*)0x4001401CU)
97  #define REG_TC2_SR0 (*(__I uint32_t*)0x40014020U)
98  #define REG_TC2_IER0 (*(__O uint32_t*)0x40014024U)
99  #define REG_TC2_IDR0 (*(__O uint32_t*)0x40014028U)
100  #define REG_TC2_IMR0 (*(__I uint32_t*)0x4001402CU)
101  #define REG_TC2_EMR0 (*(__IO uint32_t*)0x40014030U)
102  #define REG_TC2_CCR1 (*(__O uint32_t*)0x40014040U)
103  #define REG_TC2_CMR1 (*(__IO uint32_t*)0x40014044U)
104  #define REG_TC2_SMMR1 (*(__IO uint32_t*)0x40014048U)
105  #define REG_TC2_RAB1 (*(__I uint32_t*)0x4001404CU)
106  #define REG_TC2_CV1 (*(__I uint32_t*)0x40014050U)
107  #define REG_TC2_RA1 (*(__IO uint32_t*)0x40014054U)
108  #define REG_TC2_RB1 (*(__IO uint32_t*)0x40014058U)
109  #define REG_TC2_RC1 (*(__IO uint32_t*)0x4001405CU)
110  #define REG_TC2_SR1 (*(__I uint32_t*)0x40014060U)
111  #define REG_TC2_IER1 (*(__O uint32_t*)0x40014064U)
112  #define REG_TC2_IDR1 (*(__O uint32_t*)0x40014068U)
113  #define REG_TC2_IMR1 (*(__I uint32_t*)0x4001406CU)
114  #define REG_TC2_EMR1 (*(__IO uint32_t*)0x40014070U)
115  #define REG_TC2_CCR2 (*(__O uint32_t*)0x40014080U)
116  #define REG_TC2_CMR2 (*(__IO uint32_t*)0x40014084U)
117  #define REG_TC2_SMMR2 (*(__IO uint32_t*)0x40014088U)
118  #define REG_TC2_RAB2 (*(__I uint32_t*)0x4001408CU)
119  #define REG_TC2_CV2 (*(__I uint32_t*)0x40014090U)
120  #define REG_TC2_RA2 (*(__IO uint32_t*)0x40014094U)
121  #define REG_TC2_RB2 (*(__IO uint32_t*)0x40014098U)
122  #define REG_TC2_RC2 (*(__IO uint32_t*)0x4001409CU)
123  #define REG_TC2_SR2 (*(__I uint32_t*)0x400140A0U)
124  #define REG_TC2_IER2 (*(__O uint32_t*)0x400140A4U)
125  #define REG_TC2_IDR2 (*(__O uint32_t*)0x400140A8U)
126  #define REG_TC2_IMR2 (*(__I uint32_t*)0x400140ACU)
127  #define REG_TC2_EMR2 (*(__IO uint32_t*)0x400140B0U)
128  #define REG_TC2_BCR (*(__O uint32_t*)0x400140C0U)
129  #define REG_TC2_BMR (*(__IO uint32_t*)0x400140C4U)
130  #define REG_TC2_QIER (*(__O uint32_t*)0x400140C8U)
131  #define REG_TC2_QIDR (*(__O uint32_t*)0x400140CCU)
132  #define REG_TC2_QIMR (*(__I uint32_t*)0x400140D0U)
133  #define REG_TC2_QISR (*(__I uint32_t*)0x400140D4U)
134  #define REG_TC2_FMR (*(__IO uint32_t*)0x400140D8U)
135  #define REG_TC2_WPMR (*(__IO uint32_t*)0x400140E4U)
136  #define REG_TC2_VER (*(__I uint32_t*)0x400140FCU)
137 #endif /* (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
138 
139 #endif /* _SAME70_TC2_INSTANCE_ */


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