EFM32 Jade Gecko 12 Software Documentation  efm32jg12-doc-5.1.2
efm32jg12b_letimer.h
Go to the documentation of this file.
1 /**************************************************************************/
32 /**************************************************************************/
36 /**************************************************************************/
41 typedef struct
42 {
43  __IOM uint32_t CTRL;
44  __IOM uint32_t CMD;
45  __IM uint32_t STATUS;
46  __IOM uint32_t CNT;
47  __IOM uint32_t COMP0;
48  __IOM uint32_t COMP1;
49  __IOM uint32_t REP0;
50  __IOM uint32_t REP1;
51  __IM uint32_t IF;
52  __IOM uint32_t IFS;
53  __IOM uint32_t IFC;
54  __IOM uint32_t IEN;
56  uint32_t RESERVED0[1];
57  __IM uint32_t SYNCBUSY;
59  uint32_t RESERVED1[2];
60  __IOM uint32_t ROUTEPEN;
61  __IOM uint32_t ROUTELOC0;
63  uint32_t RESERVED2[2];
64  __IOM uint32_t PRSSEL;
67 /**************************************************************************/
72 /* Bit fields for LETIMER CTRL */
73 #define _LETIMER_CTRL_RESETVALUE 0x00000000UL
74 #define _LETIMER_CTRL_MASK 0x000013FFUL
75 #define _LETIMER_CTRL_REPMODE_SHIFT 0
76 #define _LETIMER_CTRL_REPMODE_MASK 0x3UL
77 #define _LETIMER_CTRL_REPMODE_DEFAULT 0x00000000UL
78 #define _LETIMER_CTRL_REPMODE_FREE 0x00000000UL
79 #define _LETIMER_CTRL_REPMODE_ONESHOT 0x00000001UL
80 #define _LETIMER_CTRL_REPMODE_BUFFERED 0x00000002UL
81 #define _LETIMER_CTRL_REPMODE_DOUBLE 0x00000003UL
82 #define LETIMER_CTRL_REPMODE_DEFAULT (_LETIMER_CTRL_REPMODE_DEFAULT << 0)
83 #define LETIMER_CTRL_REPMODE_FREE (_LETIMER_CTRL_REPMODE_FREE << 0)
84 #define LETIMER_CTRL_REPMODE_ONESHOT (_LETIMER_CTRL_REPMODE_ONESHOT << 0)
85 #define LETIMER_CTRL_REPMODE_BUFFERED (_LETIMER_CTRL_REPMODE_BUFFERED << 0)
86 #define LETIMER_CTRL_REPMODE_DOUBLE (_LETIMER_CTRL_REPMODE_DOUBLE << 0)
87 #define _LETIMER_CTRL_UFOA0_SHIFT 2
88 #define _LETIMER_CTRL_UFOA0_MASK 0xCUL
89 #define _LETIMER_CTRL_UFOA0_DEFAULT 0x00000000UL
90 #define _LETIMER_CTRL_UFOA0_NONE 0x00000000UL
91 #define _LETIMER_CTRL_UFOA0_TOGGLE 0x00000001UL
92 #define _LETIMER_CTRL_UFOA0_PULSE 0x00000002UL
93 #define _LETIMER_CTRL_UFOA0_PWM 0x00000003UL
94 #define LETIMER_CTRL_UFOA0_DEFAULT (_LETIMER_CTRL_UFOA0_DEFAULT << 2)
95 #define LETIMER_CTRL_UFOA0_NONE (_LETIMER_CTRL_UFOA0_NONE << 2)
96 #define LETIMER_CTRL_UFOA0_TOGGLE (_LETIMER_CTRL_UFOA0_TOGGLE << 2)
97 #define LETIMER_CTRL_UFOA0_PULSE (_LETIMER_CTRL_UFOA0_PULSE << 2)
98 #define LETIMER_CTRL_UFOA0_PWM (_LETIMER_CTRL_UFOA0_PWM << 2)
99 #define _LETIMER_CTRL_UFOA1_SHIFT 4
100 #define _LETIMER_CTRL_UFOA1_MASK 0x30UL
101 #define _LETIMER_CTRL_UFOA1_DEFAULT 0x00000000UL
102 #define _LETIMER_CTRL_UFOA1_NONE 0x00000000UL
103 #define _LETIMER_CTRL_UFOA1_TOGGLE 0x00000001UL
104 #define _LETIMER_CTRL_UFOA1_PULSE 0x00000002UL
105 #define _LETIMER_CTRL_UFOA1_PWM 0x00000003UL
106 #define LETIMER_CTRL_UFOA1_DEFAULT (_LETIMER_CTRL_UFOA1_DEFAULT << 4)
107 #define LETIMER_CTRL_UFOA1_NONE (_LETIMER_CTRL_UFOA1_NONE << 4)
108 #define LETIMER_CTRL_UFOA1_TOGGLE (_LETIMER_CTRL_UFOA1_TOGGLE << 4)
109 #define LETIMER_CTRL_UFOA1_PULSE (_LETIMER_CTRL_UFOA1_PULSE << 4)
110 #define LETIMER_CTRL_UFOA1_PWM (_LETIMER_CTRL_UFOA1_PWM << 4)
111 #define LETIMER_CTRL_OPOL0 (0x1UL << 6)
112 #define _LETIMER_CTRL_OPOL0_SHIFT 6
113 #define _LETIMER_CTRL_OPOL0_MASK 0x40UL
114 #define _LETIMER_CTRL_OPOL0_DEFAULT 0x00000000UL
115 #define LETIMER_CTRL_OPOL0_DEFAULT (_LETIMER_CTRL_OPOL0_DEFAULT << 6)
116 #define LETIMER_CTRL_OPOL1 (0x1UL << 7)
117 #define _LETIMER_CTRL_OPOL1_SHIFT 7
118 #define _LETIMER_CTRL_OPOL1_MASK 0x80UL
119 #define _LETIMER_CTRL_OPOL1_DEFAULT 0x00000000UL
120 #define LETIMER_CTRL_OPOL1_DEFAULT (_LETIMER_CTRL_OPOL1_DEFAULT << 7)
121 #define LETIMER_CTRL_BUFTOP (0x1UL << 8)
122 #define _LETIMER_CTRL_BUFTOP_SHIFT 8
123 #define _LETIMER_CTRL_BUFTOP_MASK 0x100UL
124 #define _LETIMER_CTRL_BUFTOP_DEFAULT 0x00000000UL
125 #define LETIMER_CTRL_BUFTOP_DEFAULT (_LETIMER_CTRL_BUFTOP_DEFAULT << 8)
126 #define LETIMER_CTRL_COMP0TOP (0x1UL << 9)
127 #define _LETIMER_CTRL_COMP0TOP_SHIFT 9
128 #define _LETIMER_CTRL_COMP0TOP_MASK 0x200UL
129 #define _LETIMER_CTRL_COMP0TOP_DEFAULT 0x00000000UL
130 #define LETIMER_CTRL_COMP0TOP_DEFAULT (_LETIMER_CTRL_COMP0TOP_DEFAULT << 9)
131 #define LETIMER_CTRL_DEBUGRUN (0x1UL << 12)
132 #define _LETIMER_CTRL_DEBUGRUN_SHIFT 12
133 #define _LETIMER_CTRL_DEBUGRUN_MASK 0x1000UL
134 #define _LETIMER_CTRL_DEBUGRUN_DEFAULT 0x00000000UL
135 #define LETIMER_CTRL_DEBUGRUN_DEFAULT (_LETIMER_CTRL_DEBUGRUN_DEFAULT << 12)
137 /* Bit fields for LETIMER CMD */
138 #define _LETIMER_CMD_RESETVALUE 0x00000000UL
139 #define _LETIMER_CMD_MASK 0x0000001FUL
140 #define LETIMER_CMD_START (0x1UL << 0)
141 #define _LETIMER_CMD_START_SHIFT 0
142 #define _LETIMER_CMD_START_MASK 0x1UL
143 #define _LETIMER_CMD_START_DEFAULT 0x00000000UL
144 #define LETIMER_CMD_START_DEFAULT (_LETIMER_CMD_START_DEFAULT << 0)
145 #define LETIMER_CMD_STOP (0x1UL << 1)
146 #define _LETIMER_CMD_STOP_SHIFT 1
147 #define _LETIMER_CMD_STOP_MASK 0x2UL
148 #define _LETIMER_CMD_STOP_DEFAULT 0x00000000UL
149 #define LETIMER_CMD_STOP_DEFAULT (_LETIMER_CMD_STOP_DEFAULT << 1)
150 #define LETIMER_CMD_CLEAR (0x1UL << 2)
151 #define _LETIMER_CMD_CLEAR_SHIFT 2
152 #define _LETIMER_CMD_CLEAR_MASK 0x4UL
153 #define _LETIMER_CMD_CLEAR_DEFAULT 0x00000000UL
154 #define LETIMER_CMD_CLEAR_DEFAULT (_LETIMER_CMD_CLEAR_DEFAULT << 2)
155 #define LETIMER_CMD_CTO0 (0x1UL << 3)
156 #define _LETIMER_CMD_CTO0_SHIFT 3
157 #define _LETIMER_CMD_CTO0_MASK 0x8UL
158 #define _LETIMER_CMD_CTO0_DEFAULT 0x00000000UL
159 #define LETIMER_CMD_CTO0_DEFAULT (_LETIMER_CMD_CTO0_DEFAULT << 3)
160 #define LETIMER_CMD_CTO1 (0x1UL << 4)
161 #define _LETIMER_CMD_CTO1_SHIFT 4
162 #define _LETIMER_CMD_CTO1_MASK 0x10UL
163 #define _LETIMER_CMD_CTO1_DEFAULT 0x00000000UL
164 #define LETIMER_CMD_CTO1_DEFAULT (_LETIMER_CMD_CTO1_DEFAULT << 4)
166 /* Bit fields for LETIMER STATUS */
167 #define _LETIMER_STATUS_RESETVALUE 0x00000000UL
168 #define _LETIMER_STATUS_MASK 0x00000001UL
169 #define LETIMER_STATUS_RUNNING (0x1UL << 0)
170 #define _LETIMER_STATUS_RUNNING_SHIFT 0
171 #define _LETIMER_STATUS_RUNNING_MASK 0x1UL
172 #define _LETIMER_STATUS_RUNNING_DEFAULT 0x00000000UL
173 #define LETIMER_STATUS_RUNNING_DEFAULT (_LETIMER_STATUS_RUNNING_DEFAULT << 0)
175 /* Bit fields for LETIMER CNT */
176 #define _LETIMER_CNT_RESETVALUE 0x00000000UL
177 #define _LETIMER_CNT_MASK 0x0000FFFFUL
178 #define _LETIMER_CNT_CNT_SHIFT 0
179 #define _LETIMER_CNT_CNT_MASK 0xFFFFUL
180 #define _LETIMER_CNT_CNT_DEFAULT 0x00000000UL
181 #define LETIMER_CNT_CNT_DEFAULT (_LETIMER_CNT_CNT_DEFAULT << 0)
183 /* Bit fields for LETIMER COMP0 */
184 #define _LETIMER_COMP0_RESETVALUE 0x00000000UL
185 #define _LETIMER_COMP0_MASK 0x0000FFFFUL
186 #define _LETIMER_COMP0_COMP0_SHIFT 0
187 #define _LETIMER_COMP0_COMP0_MASK 0xFFFFUL
188 #define _LETIMER_COMP0_COMP0_DEFAULT 0x00000000UL
189 #define LETIMER_COMP0_COMP0_DEFAULT (_LETIMER_COMP0_COMP0_DEFAULT << 0)
191 /* Bit fields for LETIMER COMP1 */
192 #define _LETIMER_COMP1_RESETVALUE 0x00000000UL
193 #define _LETIMER_COMP1_MASK 0x0000FFFFUL
194 #define _LETIMER_COMP1_COMP1_SHIFT 0
195 #define _LETIMER_COMP1_COMP1_MASK 0xFFFFUL
196 #define _LETIMER_COMP1_COMP1_DEFAULT 0x00000000UL
197 #define LETIMER_COMP1_COMP1_DEFAULT (_LETIMER_COMP1_COMP1_DEFAULT << 0)
199 /* Bit fields for LETIMER REP0 */
200 #define _LETIMER_REP0_RESETVALUE 0x00000000UL
201 #define _LETIMER_REP0_MASK 0x000000FFUL
202 #define _LETIMER_REP0_REP0_SHIFT 0
203 #define _LETIMER_REP0_REP0_MASK 0xFFUL
204 #define _LETIMER_REP0_REP0_DEFAULT 0x00000000UL
205 #define LETIMER_REP0_REP0_DEFAULT (_LETIMER_REP0_REP0_DEFAULT << 0)
207 /* Bit fields for LETIMER REP1 */
208 #define _LETIMER_REP1_RESETVALUE 0x00000000UL
209 #define _LETIMER_REP1_MASK 0x000000FFUL
210 #define _LETIMER_REP1_REP1_SHIFT 0
211 #define _LETIMER_REP1_REP1_MASK 0xFFUL
212 #define _LETIMER_REP1_REP1_DEFAULT 0x00000000UL
213 #define LETIMER_REP1_REP1_DEFAULT (_LETIMER_REP1_REP1_DEFAULT << 0)
215 /* Bit fields for LETIMER IF */
216 #define _LETIMER_IF_RESETVALUE 0x00000000UL
217 #define _LETIMER_IF_MASK 0x0000001FUL
218 #define LETIMER_IF_COMP0 (0x1UL << 0)
219 #define _LETIMER_IF_COMP0_SHIFT 0
220 #define _LETIMER_IF_COMP0_MASK 0x1UL
221 #define _LETIMER_IF_COMP0_DEFAULT 0x00000000UL
222 #define LETIMER_IF_COMP0_DEFAULT (_LETIMER_IF_COMP0_DEFAULT << 0)
223 #define LETIMER_IF_COMP1 (0x1UL << 1)
224 #define _LETIMER_IF_COMP1_SHIFT 1
225 #define _LETIMER_IF_COMP1_MASK 0x2UL
226 #define _LETIMER_IF_COMP1_DEFAULT 0x00000000UL
227 #define LETIMER_IF_COMP1_DEFAULT (_LETIMER_IF_COMP1_DEFAULT << 1)
228 #define LETIMER_IF_UF (0x1UL << 2)
229 #define _LETIMER_IF_UF_SHIFT 2
230 #define _LETIMER_IF_UF_MASK 0x4UL
231 #define _LETIMER_IF_UF_DEFAULT 0x00000000UL
232 #define LETIMER_IF_UF_DEFAULT (_LETIMER_IF_UF_DEFAULT << 2)
233 #define LETIMER_IF_REP0 (0x1UL << 3)
234 #define _LETIMER_IF_REP0_SHIFT 3
235 #define _LETIMER_IF_REP0_MASK 0x8UL
236 #define _LETIMER_IF_REP0_DEFAULT 0x00000000UL
237 #define LETIMER_IF_REP0_DEFAULT (_LETIMER_IF_REP0_DEFAULT << 3)
238 #define LETIMER_IF_REP1 (0x1UL << 4)
239 #define _LETIMER_IF_REP1_SHIFT 4
240 #define _LETIMER_IF_REP1_MASK 0x10UL
241 #define _LETIMER_IF_REP1_DEFAULT 0x00000000UL
242 #define LETIMER_IF_REP1_DEFAULT (_LETIMER_IF_REP1_DEFAULT << 4)
244 /* Bit fields for LETIMER IFS */
245 #define _LETIMER_IFS_RESETVALUE 0x00000000UL
246 #define _LETIMER_IFS_MASK 0x0000001FUL
247 #define LETIMER_IFS_COMP0 (0x1UL << 0)
248 #define _LETIMER_IFS_COMP0_SHIFT 0
249 #define _LETIMER_IFS_COMP0_MASK 0x1UL
250 #define _LETIMER_IFS_COMP0_DEFAULT 0x00000000UL
251 #define LETIMER_IFS_COMP0_DEFAULT (_LETIMER_IFS_COMP0_DEFAULT << 0)
252 #define LETIMER_IFS_COMP1 (0x1UL << 1)
253 #define _LETIMER_IFS_COMP1_SHIFT 1
254 #define _LETIMER_IFS_COMP1_MASK 0x2UL
255 #define _LETIMER_IFS_COMP1_DEFAULT 0x00000000UL
256 #define LETIMER_IFS_COMP1_DEFAULT (_LETIMER_IFS_COMP1_DEFAULT << 1)
257 #define LETIMER_IFS_UF (0x1UL << 2)
258 #define _LETIMER_IFS_UF_SHIFT 2
259 #define _LETIMER_IFS_UF_MASK 0x4UL
260 #define _LETIMER_IFS_UF_DEFAULT 0x00000000UL
261 #define LETIMER_IFS_UF_DEFAULT (_LETIMER_IFS_UF_DEFAULT << 2)
262 #define LETIMER_IFS_REP0 (0x1UL << 3)
263 #define _LETIMER_IFS_REP0_SHIFT 3
264 #define _LETIMER_IFS_REP0_MASK 0x8UL
265 #define _LETIMER_IFS_REP0_DEFAULT 0x00000000UL
266 #define LETIMER_IFS_REP0_DEFAULT (_LETIMER_IFS_REP0_DEFAULT << 3)
267 #define LETIMER_IFS_REP1 (0x1UL << 4)
268 #define _LETIMER_IFS_REP1_SHIFT 4
269 #define _LETIMER_IFS_REP1_MASK 0x10UL
270 #define _LETIMER_IFS_REP1_DEFAULT 0x00000000UL
271 #define LETIMER_IFS_REP1_DEFAULT (_LETIMER_IFS_REP1_DEFAULT << 4)
273 /* Bit fields for LETIMER IFC */
274 #define _LETIMER_IFC_RESETVALUE 0x00000000UL
275 #define _LETIMER_IFC_MASK 0x0000001FUL
276 #define LETIMER_IFC_COMP0 (0x1UL << 0)
277 #define _LETIMER_IFC_COMP0_SHIFT 0
278 #define _LETIMER_IFC_COMP0_MASK 0x1UL
279 #define _LETIMER_IFC_COMP0_DEFAULT 0x00000000UL
280 #define LETIMER_IFC_COMP0_DEFAULT (_LETIMER_IFC_COMP0_DEFAULT << 0)
281 #define LETIMER_IFC_COMP1 (0x1UL << 1)
282 #define _LETIMER_IFC_COMP1_SHIFT 1
283 #define _LETIMER_IFC_COMP1_MASK 0x2UL
284 #define _LETIMER_IFC_COMP1_DEFAULT 0x00000000UL
285 #define LETIMER_IFC_COMP1_DEFAULT (_LETIMER_IFC_COMP1_DEFAULT << 1)
286 #define LETIMER_IFC_UF (0x1UL << 2)
287 #define _LETIMER_IFC_UF_SHIFT 2
288 #define _LETIMER_IFC_UF_MASK 0x4UL
289 #define _LETIMER_IFC_UF_DEFAULT 0x00000000UL
290 #define LETIMER_IFC_UF_DEFAULT (_LETIMER_IFC_UF_DEFAULT << 2)
291 #define LETIMER_IFC_REP0 (0x1UL << 3)
292 #define _LETIMER_IFC_REP0_SHIFT 3
293 #define _LETIMER_IFC_REP0_MASK 0x8UL
294 #define _LETIMER_IFC_REP0_DEFAULT 0x00000000UL
295 #define LETIMER_IFC_REP0_DEFAULT (_LETIMER_IFC_REP0_DEFAULT << 3)
296 #define LETIMER_IFC_REP1 (0x1UL << 4)
297 #define _LETIMER_IFC_REP1_SHIFT 4
298 #define _LETIMER_IFC_REP1_MASK 0x10UL
299 #define _LETIMER_IFC_REP1_DEFAULT 0x00000000UL
300 #define LETIMER_IFC_REP1_DEFAULT (_LETIMER_IFC_REP1_DEFAULT << 4)
302 /* Bit fields for LETIMER IEN */
303 #define _LETIMER_IEN_RESETVALUE 0x00000000UL
304 #define _LETIMER_IEN_MASK 0x0000001FUL
305 #define LETIMER_IEN_COMP0 (0x1UL << 0)
306 #define _LETIMER_IEN_COMP0_SHIFT 0
307 #define _LETIMER_IEN_COMP0_MASK 0x1UL
308 #define _LETIMER_IEN_COMP0_DEFAULT 0x00000000UL
309 #define LETIMER_IEN_COMP0_DEFAULT (_LETIMER_IEN_COMP0_DEFAULT << 0)
310 #define LETIMER_IEN_COMP1 (0x1UL << 1)
311 #define _LETIMER_IEN_COMP1_SHIFT 1
312 #define _LETIMER_IEN_COMP1_MASK 0x2UL
313 #define _LETIMER_IEN_COMP1_DEFAULT 0x00000000UL
314 #define LETIMER_IEN_COMP1_DEFAULT (_LETIMER_IEN_COMP1_DEFAULT << 1)
315 #define LETIMER_IEN_UF (0x1UL << 2)
316 #define _LETIMER_IEN_UF_SHIFT 2
317 #define _LETIMER_IEN_UF_MASK 0x4UL
318 #define _LETIMER_IEN_UF_DEFAULT 0x00000000UL
319 #define LETIMER_IEN_UF_DEFAULT (_LETIMER_IEN_UF_DEFAULT << 2)
320 #define LETIMER_IEN_REP0 (0x1UL << 3)
321 #define _LETIMER_IEN_REP0_SHIFT 3
322 #define _LETIMER_IEN_REP0_MASK 0x8UL
323 #define _LETIMER_IEN_REP0_DEFAULT 0x00000000UL
324 #define LETIMER_IEN_REP0_DEFAULT (_LETIMER_IEN_REP0_DEFAULT << 3)
325 #define LETIMER_IEN_REP1 (0x1UL << 4)
326 #define _LETIMER_IEN_REP1_SHIFT 4
327 #define _LETIMER_IEN_REP1_MASK 0x10UL
328 #define _LETIMER_IEN_REP1_DEFAULT 0x00000000UL
329 #define LETIMER_IEN_REP1_DEFAULT (_LETIMER_IEN_REP1_DEFAULT << 4)
331 /* Bit fields for LETIMER SYNCBUSY */
332 #define _LETIMER_SYNCBUSY_RESETVALUE 0x00000000UL
333 #define _LETIMER_SYNCBUSY_MASK 0x00000002UL
334 #define LETIMER_SYNCBUSY_CMD (0x1UL << 1)
335 #define _LETIMER_SYNCBUSY_CMD_SHIFT 1
336 #define _LETIMER_SYNCBUSY_CMD_MASK 0x2UL
337 #define _LETIMER_SYNCBUSY_CMD_DEFAULT 0x00000000UL
338 #define LETIMER_SYNCBUSY_CMD_DEFAULT (_LETIMER_SYNCBUSY_CMD_DEFAULT << 1)
340 /* Bit fields for LETIMER ROUTEPEN */
341 #define _LETIMER_ROUTEPEN_RESETVALUE 0x00000000UL
342 #define _LETIMER_ROUTEPEN_MASK 0x00000003UL
343 #define LETIMER_ROUTEPEN_OUT0PEN (0x1UL << 0)
344 #define _LETIMER_ROUTEPEN_OUT0PEN_SHIFT 0
345 #define _LETIMER_ROUTEPEN_OUT0PEN_MASK 0x1UL
346 #define _LETIMER_ROUTEPEN_OUT0PEN_DEFAULT 0x00000000UL
347 #define LETIMER_ROUTEPEN_OUT0PEN_DEFAULT (_LETIMER_ROUTEPEN_OUT0PEN_DEFAULT << 0)
348 #define LETIMER_ROUTEPEN_OUT1PEN (0x1UL << 1)
349 #define _LETIMER_ROUTEPEN_OUT1PEN_SHIFT 1
350 #define _LETIMER_ROUTEPEN_OUT1PEN_MASK 0x2UL
351 #define _LETIMER_ROUTEPEN_OUT1PEN_DEFAULT 0x00000000UL
352 #define LETIMER_ROUTEPEN_OUT1PEN_DEFAULT (_LETIMER_ROUTEPEN_OUT1PEN_DEFAULT << 1)
354 /* Bit fields for LETIMER ROUTELOC0 */
355 #define _LETIMER_ROUTELOC0_RESETVALUE 0x00000000UL
356 #define _LETIMER_ROUTELOC0_MASK 0x00001F1FUL
357 #define _LETIMER_ROUTELOC0_OUT0LOC_SHIFT 0
358 #define _LETIMER_ROUTELOC0_OUT0LOC_MASK 0x1FUL
359 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC0 0x00000000UL
360 #define _LETIMER_ROUTELOC0_OUT0LOC_DEFAULT 0x00000000UL
361 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC1 0x00000001UL
362 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC2 0x00000002UL
363 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC3 0x00000003UL
364 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC4 0x00000004UL
365 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC5 0x00000005UL
366 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC6 0x00000006UL
367 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC7 0x00000007UL
368 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC8 0x00000008UL
369 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC9 0x00000009UL
370 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC10 0x0000000AUL
371 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC11 0x0000000BUL
372 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC12 0x0000000CUL
373 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC13 0x0000000DUL
374 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC14 0x0000000EUL
375 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC15 0x0000000FUL
376 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC16 0x00000010UL
377 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC17 0x00000011UL
378 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC18 0x00000012UL
379 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC19 0x00000013UL
380 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC20 0x00000014UL
381 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC21 0x00000015UL
382 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC22 0x00000016UL
383 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC23 0x00000017UL
384 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC24 0x00000018UL
385 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC25 0x00000019UL
386 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC26 0x0000001AUL
387 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC27 0x0000001BUL
388 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC28 0x0000001CUL
389 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC29 0x0000001DUL
390 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC30 0x0000001EUL
391 #define _LETIMER_ROUTELOC0_OUT0LOC_LOC31 0x0000001FUL
392 #define LETIMER_ROUTELOC0_OUT0LOC_LOC0 (_LETIMER_ROUTELOC0_OUT0LOC_LOC0 << 0)
393 #define LETIMER_ROUTELOC0_OUT0LOC_DEFAULT (_LETIMER_ROUTELOC0_OUT0LOC_DEFAULT << 0)
394 #define LETIMER_ROUTELOC0_OUT0LOC_LOC1 (_LETIMER_ROUTELOC0_OUT0LOC_LOC1 << 0)
395 #define LETIMER_ROUTELOC0_OUT0LOC_LOC2 (_LETIMER_ROUTELOC0_OUT0LOC_LOC2 << 0)
396 #define LETIMER_ROUTELOC0_OUT0LOC_LOC3 (_LETIMER_ROUTELOC0_OUT0LOC_LOC3 << 0)
397 #define LETIMER_ROUTELOC0_OUT0LOC_LOC4 (_LETIMER_ROUTELOC0_OUT0LOC_LOC4 << 0)
398 #define LETIMER_ROUTELOC0_OUT0LOC_LOC5 (_LETIMER_ROUTELOC0_OUT0LOC_LOC5 << 0)
399 #define LETIMER_ROUTELOC0_OUT0LOC_LOC6 (_LETIMER_ROUTELOC0_OUT0LOC_LOC6 << 0)
400 #define LETIMER_ROUTELOC0_OUT0LOC_LOC7 (_LETIMER_ROUTELOC0_OUT0LOC_LOC7 << 0)
401 #define LETIMER_ROUTELOC0_OUT0LOC_LOC8 (_LETIMER_ROUTELOC0_OUT0LOC_LOC8 << 0)
402 #define LETIMER_ROUTELOC0_OUT0LOC_LOC9 (_LETIMER_ROUTELOC0_OUT0LOC_LOC9 << 0)
403 #define LETIMER_ROUTELOC0_OUT0LOC_LOC10 (_LETIMER_ROUTELOC0_OUT0LOC_LOC10 << 0)
404 #define LETIMER_ROUTELOC0_OUT0LOC_LOC11 (_LETIMER_ROUTELOC0_OUT0LOC_LOC11 << 0)
405 #define LETIMER_ROUTELOC0_OUT0LOC_LOC12 (_LETIMER_ROUTELOC0_OUT0LOC_LOC12 << 0)
406 #define LETIMER_ROUTELOC0_OUT0LOC_LOC13 (_LETIMER_ROUTELOC0_OUT0LOC_LOC13 << 0)
407 #define LETIMER_ROUTELOC0_OUT0LOC_LOC14 (_LETIMER_ROUTELOC0_OUT0LOC_LOC14 << 0)
408 #define LETIMER_ROUTELOC0_OUT0LOC_LOC15 (_LETIMER_ROUTELOC0_OUT0LOC_LOC15 << 0)
409 #define LETIMER_ROUTELOC0_OUT0LOC_LOC16 (_LETIMER_ROUTELOC0_OUT0LOC_LOC16 << 0)
410 #define LETIMER_ROUTELOC0_OUT0LOC_LOC17 (_LETIMER_ROUTELOC0_OUT0LOC_LOC17 << 0)
411 #define LETIMER_ROUTELOC0_OUT0LOC_LOC18 (_LETIMER_ROUTELOC0_OUT0LOC_LOC18 << 0)
412 #define LETIMER_ROUTELOC0_OUT0LOC_LOC19 (_LETIMER_ROUTELOC0_OUT0LOC_LOC19 << 0)
413 #define LETIMER_ROUTELOC0_OUT0LOC_LOC20 (_LETIMER_ROUTELOC0_OUT0LOC_LOC20 << 0)
414 #define LETIMER_ROUTELOC0_OUT0LOC_LOC21 (_LETIMER_ROUTELOC0_OUT0LOC_LOC21 << 0)
415 #define LETIMER_ROUTELOC0_OUT0LOC_LOC22 (_LETIMER_ROUTELOC0_OUT0LOC_LOC22 << 0)
416 #define LETIMER_ROUTELOC0_OUT0LOC_LOC23 (_LETIMER_ROUTELOC0_OUT0LOC_LOC23 << 0)
417 #define LETIMER_ROUTELOC0_OUT0LOC_LOC24 (_LETIMER_ROUTELOC0_OUT0LOC_LOC24 << 0)
418 #define LETIMER_ROUTELOC0_OUT0LOC_LOC25 (_LETIMER_ROUTELOC0_OUT0LOC_LOC25 << 0)
419 #define LETIMER_ROUTELOC0_OUT0LOC_LOC26 (_LETIMER_ROUTELOC0_OUT0LOC_LOC26 << 0)
420 #define LETIMER_ROUTELOC0_OUT0LOC_LOC27 (_LETIMER_ROUTELOC0_OUT0LOC_LOC27 << 0)
421 #define LETIMER_ROUTELOC0_OUT0LOC_LOC28 (_LETIMER_ROUTELOC0_OUT0LOC_LOC28 << 0)
422 #define LETIMER_ROUTELOC0_OUT0LOC_LOC29 (_LETIMER_ROUTELOC0_OUT0LOC_LOC29 << 0)
423 #define LETIMER_ROUTELOC0_OUT0LOC_LOC30 (_LETIMER_ROUTELOC0_OUT0LOC_LOC30 << 0)
424 #define LETIMER_ROUTELOC0_OUT0LOC_LOC31 (_LETIMER_ROUTELOC0_OUT0LOC_LOC31 << 0)
425 #define _LETIMER_ROUTELOC0_OUT1LOC_SHIFT 8
426 #define _LETIMER_ROUTELOC0_OUT1LOC_MASK 0x1F00UL
427 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC0 0x00000000UL
428 #define _LETIMER_ROUTELOC0_OUT1LOC_DEFAULT 0x00000000UL
429 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC1 0x00000001UL
430 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC2 0x00000002UL
431 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC3 0x00000003UL
432 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC4 0x00000004UL
433 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC5 0x00000005UL
434 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC6 0x00000006UL
435 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC7 0x00000007UL
436 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC8 0x00000008UL
437 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC9 0x00000009UL
438 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC10 0x0000000AUL
439 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC11 0x0000000BUL
440 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC12 0x0000000CUL
441 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC13 0x0000000DUL
442 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC14 0x0000000EUL
443 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC15 0x0000000FUL
444 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC16 0x00000010UL
445 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC17 0x00000011UL
446 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC18 0x00000012UL
447 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC19 0x00000013UL
448 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC20 0x00000014UL
449 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC21 0x00000015UL
450 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC22 0x00000016UL
451 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC23 0x00000017UL
452 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC24 0x00000018UL
453 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC25 0x00000019UL
454 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC26 0x0000001AUL
455 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC27 0x0000001BUL
456 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC28 0x0000001CUL
457 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC29 0x0000001DUL
458 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC30 0x0000001EUL
459 #define _LETIMER_ROUTELOC0_OUT1LOC_LOC31 0x0000001FUL
460 #define LETIMER_ROUTELOC0_OUT1LOC_LOC0 (_LETIMER_ROUTELOC0_OUT1LOC_LOC0 << 8)
461 #define LETIMER_ROUTELOC0_OUT1LOC_DEFAULT (_LETIMER_ROUTELOC0_OUT1LOC_DEFAULT << 8)
462 #define LETIMER_ROUTELOC0_OUT1LOC_LOC1 (_LETIMER_ROUTELOC0_OUT1LOC_LOC1 << 8)
463 #define LETIMER_ROUTELOC0_OUT1LOC_LOC2 (_LETIMER_ROUTELOC0_OUT1LOC_LOC2 << 8)
464 #define LETIMER_ROUTELOC0_OUT1LOC_LOC3 (_LETIMER_ROUTELOC0_OUT1LOC_LOC3 << 8)
465 #define LETIMER_ROUTELOC0_OUT1LOC_LOC4 (_LETIMER_ROUTELOC0_OUT1LOC_LOC4 << 8)
466 #define LETIMER_ROUTELOC0_OUT1LOC_LOC5 (_LETIMER_ROUTELOC0_OUT1LOC_LOC5 << 8)
467 #define LETIMER_ROUTELOC0_OUT1LOC_LOC6 (_LETIMER_ROUTELOC0_OUT1LOC_LOC6 << 8)
468 #define LETIMER_ROUTELOC0_OUT1LOC_LOC7 (_LETIMER_ROUTELOC0_OUT1LOC_LOC7 << 8)
469 #define LETIMER_ROUTELOC0_OUT1LOC_LOC8 (_LETIMER_ROUTELOC0_OUT1LOC_LOC8 << 8)
470 #define LETIMER_ROUTELOC0_OUT1LOC_LOC9 (_LETIMER_ROUTELOC0_OUT1LOC_LOC9 << 8)
471 #define LETIMER_ROUTELOC0_OUT1LOC_LOC10 (_LETIMER_ROUTELOC0_OUT1LOC_LOC10 << 8)
472 #define LETIMER_ROUTELOC0_OUT1LOC_LOC11 (_LETIMER_ROUTELOC0_OUT1LOC_LOC11 << 8)
473 #define LETIMER_ROUTELOC0_OUT1LOC_LOC12 (_LETIMER_ROUTELOC0_OUT1LOC_LOC12 << 8)
474 #define LETIMER_ROUTELOC0_OUT1LOC_LOC13 (_LETIMER_ROUTELOC0_OUT1LOC_LOC13 << 8)
475 #define LETIMER_ROUTELOC0_OUT1LOC_LOC14 (_LETIMER_ROUTELOC0_OUT1LOC_LOC14 << 8)
476 #define LETIMER_ROUTELOC0_OUT1LOC_LOC15 (_LETIMER_ROUTELOC0_OUT1LOC_LOC15 << 8)
477 #define LETIMER_ROUTELOC0_OUT1LOC_LOC16 (_LETIMER_ROUTELOC0_OUT1LOC_LOC16 << 8)
478 #define LETIMER_ROUTELOC0_OUT1LOC_LOC17 (_LETIMER_ROUTELOC0_OUT1LOC_LOC17 << 8)
479 #define LETIMER_ROUTELOC0_OUT1LOC_LOC18 (_LETIMER_ROUTELOC0_OUT1LOC_LOC18 << 8)
480 #define LETIMER_ROUTELOC0_OUT1LOC_LOC19 (_LETIMER_ROUTELOC0_OUT1LOC_LOC19 << 8)
481 #define LETIMER_ROUTELOC0_OUT1LOC_LOC20 (_LETIMER_ROUTELOC0_OUT1LOC_LOC20 << 8)
482 #define LETIMER_ROUTELOC0_OUT1LOC_LOC21 (_LETIMER_ROUTELOC0_OUT1LOC_LOC21 << 8)
483 #define LETIMER_ROUTELOC0_OUT1LOC_LOC22 (_LETIMER_ROUTELOC0_OUT1LOC_LOC22 << 8)
484 #define LETIMER_ROUTELOC0_OUT1LOC_LOC23 (_LETIMER_ROUTELOC0_OUT1LOC_LOC23 << 8)
485 #define LETIMER_ROUTELOC0_OUT1LOC_LOC24 (_LETIMER_ROUTELOC0_OUT1LOC_LOC24 << 8)
486 #define LETIMER_ROUTELOC0_OUT1LOC_LOC25 (_LETIMER_ROUTELOC0_OUT1LOC_LOC25 << 8)
487 #define LETIMER_ROUTELOC0_OUT1LOC_LOC26 (_LETIMER_ROUTELOC0_OUT1LOC_LOC26 << 8)
488 #define LETIMER_ROUTELOC0_OUT1LOC_LOC27 (_LETIMER_ROUTELOC0_OUT1LOC_LOC27 << 8)
489 #define LETIMER_ROUTELOC0_OUT1LOC_LOC28 (_LETIMER_ROUTELOC0_OUT1LOC_LOC28 << 8)
490 #define LETIMER_ROUTELOC0_OUT1LOC_LOC29 (_LETIMER_ROUTELOC0_OUT1LOC_LOC29 << 8)
491 #define LETIMER_ROUTELOC0_OUT1LOC_LOC30 (_LETIMER_ROUTELOC0_OUT1LOC_LOC30 << 8)
492 #define LETIMER_ROUTELOC0_OUT1LOC_LOC31 (_LETIMER_ROUTELOC0_OUT1LOC_LOC31 << 8)
494 /* Bit fields for LETIMER PRSSEL */
495 #define _LETIMER_PRSSEL_RESETVALUE 0x00000000UL
496 #define _LETIMER_PRSSEL_MASK 0x0CCCF3CFUL
497 #define _LETIMER_PRSSEL_PRSSTARTSEL_SHIFT 0
498 #define _LETIMER_PRSSEL_PRSSTARTSEL_MASK 0xFUL
499 #define _LETIMER_PRSSEL_PRSSTARTSEL_DEFAULT 0x00000000UL
500 #define _LETIMER_PRSSEL_PRSSTARTSEL_PRSCH0 0x00000000UL
501 #define _LETIMER_PRSSEL_PRSSTARTSEL_PRSCH1 0x00000001UL
502 #define _LETIMER_PRSSEL_PRSSTARTSEL_PRSCH2 0x00000002UL
503 #define _LETIMER_PRSSEL_PRSSTARTSEL_PRSCH3 0x00000003UL
504 #define _LETIMER_PRSSEL_PRSSTARTSEL_PRSCH4 0x00000004UL
505 #define _LETIMER_PRSSEL_PRSSTARTSEL_PRSCH5 0x00000005UL
506 #define _LETIMER_PRSSEL_PRSSTARTSEL_PRSCH6 0x00000006UL
507 #define _LETIMER_PRSSEL_PRSSTARTSEL_PRSCH7 0x00000007UL
508 #define _LETIMER_PRSSEL_PRSSTARTSEL_PRSCH8 0x00000008UL
509 #define _LETIMER_PRSSEL_PRSSTARTSEL_PRSCH9 0x00000009UL
510 #define _LETIMER_PRSSEL_PRSSTARTSEL_PRSCH10 0x0000000AUL
511 #define _LETIMER_PRSSEL_PRSSTARTSEL_PRSCH11 0x0000000BUL
512 #define LETIMER_PRSSEL_PRSSTARTSEL_DEFAULT (_LETIMER_PRSSEL_PRSSTARTSEL_DEFAULT << 0)
513 #define LETIMER_PRSSEL_PRSSTARTSEL_PRSCH0 (_LETIMER_PRSSEL_PRSSTARTSEL_PRSCH0 << 0)
514 #define LETIMER_PRSSEL_PRSSTARTSEL_PRSCH1 (_LETIMER_PRSSEL_PRSSTARTSEL_PRSCH1 << 0)
515 #define LETIMER_PRSSEL_PRSSTARTSEL_PRSCH2 (_LETIMER_PRSSEL_PRSSTARTSEL_PRSCH2 << 0)
516 #define LETIMER_PRSSEL_PRSSTARTSEL_PRSCH3 (_LETIMER_PRSSEL_PRSSTARTSEL_PRSCH3 << 0)
517 #define LETIMER_PRSSEL_PRSSTARTSEL_PRSCH4 (_LETIMER_PRSSEL_PRSSTARTSEL_PRSCH4 << 0)
518 #define LETIMER_PRSSEL_PRSSTARTSEL_PRSCH5 (_LETIMER_PRSSEL_PRSSTARTSEL_PRSCH5 << 0)
519 #define LETIMER_PRSSEL_PRSSTARTSEL_PRSCH6 (_LETIMER_PRSSEL_PRSSTARTSEL_PRSCH6 << 0)
520 #define LETIMER_PRSSEL_PRSSTARTSEL_PRSCH7 (_LETIMER_PRSSEL_PRSSTARTSEL_PRSCH7 << 0)
521 #define LETIMER_PRSSEL_PRSSTARTSEL_PRSCH8 (_LETIMER_PRSSEL_PRSSTARTSEL_PRSCH8 << 0)
522 #define LETIMER_PRSSEL_PRSSTARTSEL_PRSCH9 (_LETIMER_PRSSEL_PRSSTARTSEL_PRSCH9 << 0)
523 #define LETIMER_PRSSEL_PRSSTARTSEL_PRSCH10 (_LETIMER_PRSSEL_PRSSTARTSEL_PRSCH10 << 0)
524 #define LETIMER_PRSSEL_PRSSTARTSEL_PRSCH11 (_LETIMER_PRSSEL_PRSSTARTSEL_PRSCH11 << 0)
525 #define _LETIMER_PRSSEL_PRSSTOPSEL_SHIFT 6
526 #define _LETIMER_PRSSEL_PRSSTOPSEL_MASK 0x3C0UL
527 #define _LETIMER_PRSSEL_PRSSTOPSEL_DEFAULT 0x00000000UL
528 #define _LETIMER_PRSSEL_PRSSTOPSEL_PRSCH0 0x00000000UL
529 #define _LETIMER_PRSSEL_PRSSTOPSEL_PRSCH1 0x00000001UL
530 #define _LETIMER_PRSSEL_PRSSTOPSEL_PRSCH2 0x00000002UL
531 #define _LETIMER_PRSSEL_PRSSTOPSEL_PRSCH3 0x00000003UL
532 #define _LETIMER_PRSSEL_PRSSTOPSEL_PRSCH4 0x00000004UL
533 #define _LETIMER_PRSSEL_PRSSTOPSEL_PRSCH5 0x00000005UL
534 #define _LETIMER_PRSSEL_PRSSTOPSEL_PRSCH6 0x00000006UL
535 #define _LETIMER_PRSSEL_PRSSTOPSEL_PRSCH7 0x00000007UL
536 #define _LETIMER_PRSSEL_PRSSTOPSEL_PRSCH8 0x00000008UL
537 #define _LETIMER_PRSSEL_PRSSTOPSEL_PRSCH9 0x00000009UL
538 #define _LETIMER_PRSSEL_PRSSTOPSEL_PRSCH10 0x0000000AUL
539 #define _LETIMER_PRSSEL_PRSSTOPSEL_PRSCH11 0x0000000BUL
540 #define LETIMER_PRSSEL_PRSSTOPSEL_DEFAULT (_LETIMER_PRSSEL_PRSSTOPSEL_DEFAULT << 6)
541 #define LETIMER_PRSSEL_PRSSTOPSEL_PRSCH0 (_LETIMER_PRSSEL_PRSSTOPSEL_PRSCH0 << 6)
542 #define LETIMER_PRSSEL_PRSSTOPSEL_PRSCH1 (_LETIMER_PRSSEL_PRSSTOPSEL_PRSCH1 << 6)
543 #define LETIMER_PRSSEL_PRSSTOPSEL_PRSCH2 (_LETIMER_PRSSEL_PRSSTOPSEL_PRSCH2 << 6)
544 #define LETIMER_PRSSEL_PRSSTOPSEL_PRSCH3 (_LETIMER_PRSSEL_PRSSTOPSEL_PRSCH3 << 6)
545 #define LETIMER_PRSSEL_PRSSTOPSEL_PRSCH4 (_LETIMER_PRSSEL_PRSSTOPSEL_PRSCH4 << 6)
546 #define LETIMER_PRSSEL_PRSSTOPSEL_PRSCH5 (_LETIMER_PRSSEL_PRSSTOPSEL_PRSCH5 << 6)
547 #define LETIMER_PRSSEL_PRSSTOPSEL_PRSCH6 (_LETIMER_PRSSEL_PRSSTOPSEL_PRSCH6 << 6)
548 #define LETIMER_PRSSEL_PRSSTOPSEL_PRSCH7 (_LETIMER_PRSSEL_PRSSTOPSEL_PRSCH7 << 6)
549 #define LETIMER_PRSSEL_PRSSTOPSEL_PRSCH8 (_LETIMER_PRSSEL_PRSSTOPSEL_PRSCH8 << 6)
550 #define LETIMER_PRSSEL_PRSSTOPSEL_PRSCH9 (_LETIMER_PRSSEL_PRSSTOPSEL_PRSCH9 << 6)
551 #define LETIMER_PRSSEL_PRSSTOPSEL_PRSCH10 (_LETIMER_PRSSEL_PRSSTOPSEL_PRSCH10 << 6)
552 #define LETIMER_PRSSEL_PRSSTOPSEL_PRSCH11 (_LETIMER_PRSSEL_PRSSTOPSEL_PRSCH11 << 6)
553 #define _LETIMER_PRSSEL_PRSCLEARSEL_SHIFT 12
554 #define _LETIMER_PRSSEL_PRSCLEARSEL_MASK 0xF000UL
555 #define _LETIMER_PRSSEL_PRSCLEARSEL_DEFAULT 0x00000000UL
556 #define _LETIMER_PRSSEL_PRSCLEARSEL_PRSCH0 0x00000000UL
557 #define _LETIMER_PRSSEL_PRSCLEARSEL_PRSCH1 0x00000001UL
558 #define _LETIMER_PRSSEL_PRSCLEARSEL_PRSCH2 0x00000002UL
559 #define _LETIMER_PRSSEL_PRSCLEARSEL_PRSCH3 0x00000003UL
560 #define _LETIMER_PRSSEL_PRSCLEARSEL_PRSCH4 0x00000004UL
561 #define _LETIMER_PRSSEL_PRSCLEARSEL_PRSCH5 0x00000005UL
562 #define _LETIMER_PRSSEL_PRSCLEARSEL_PRSCH6 0x00000006UL
563 #define _LETIMER_PRSSEL_PRSCLEARSEL_PRSCH7 0x00000007UL
564 #define _LETIMER_PRSSEL_PRSCLEARSEL_PRSCH8 0x00000008UL
565 #define _LETIMER_PRSSEL_PRSCLEARSEL_PRSCH9 0x00000009UL
566 #define _LETIMER_PRSSEL_PRSCLEARSEL_PRSCH10 0x0000000AUL
567 #define _LETIMER_PRSSEL_PRSCLEARSEL_PRSCH11 0x0000000BUL
568 #define LETIMER_PRSSEL_PRSCLEARSEL_DEFAULT (_LETIMER_PRSSEL_PRSCLEARSEL_DEFAULT << 12)
569 #define LETIMER_PRSSEL_PRSCLEARSEL_PRSCH0 (_LETIMER_PRSSEL_PRSCLEARSEL_PRSCH0 << 12)
570 #define LETIMER_PRSSEL_PRSCLEARSEL_PRSCH1 (_LETIMER_PRSSEL_PRSCLEARSEL_PRSCH1 << 12)
571 #define LETIMER_PRSSEL_PRSCLEARSEL_PRSCH2 (_LETIMER_PRSSEL_PRSCLEARSEL_PRSCH2 << 12)
572 #define LETIMER_PRSSEL_PRSCLEARSEL_PRSCH3 (_LETIMER_PRSSEL_PRSCLEARSEL_PRSCH3 << 12)
573 #define LETIMER_PRSSEL_PRSCLEARSEL_PRSCH4 (_LETIMER_PRSSEL_PRSCLEARSEL_PRSCH4 << 12)
574 #define LETIMER_PRSSEL_PRSCLEARSEL_PRSCH5 (_LETIMER_PRSSEL_PRSCLEARSEL_PRSCH5 << 12)
575 #define LETIMER_PRSSEL_PRSCLEARSEL_PRSCH6 (_LETIMER_PRSSEL_PRSCLEARSEL_PRSCH6 << 12)
576 #define LETIMER_PRSSEL_PRSCLEARSEL_PRSCH7 (_LETIMER_PRSSEL_PRSCLEARSEL_PRSCH7 << 12)
577 #define LETIMER_PRSSEL_PRSCLEARSEL_PRSCH8 (_LETIMER_PRSSEL_PRSCLEARSEL_PRSCH8 << 12)
578 #define LETIMER_PRSSEL_PRSCLEARSEL_PRSCH9 (_LETIMER_PRSSEL_PRSCLEARSEL_PRSCH9 << 12)
579 #define LETIMER_PRSSEL_PRSCLEARSEL_PRSCH10 (_LETIMER_PRSSEL_PRSCLEARSEL_PRSCH10 << 12)
580 #define LETIMER_PRSSEL_PRSCLEARSEL_PRSCH11 (_LETIMER_PRSSEL_PRSCLEARSEL_PRSCH11 << 12)
581 #define _LETIMER_PRSSEL_PRSSTARTMODE_SHIFT 18
582 #define _LETIMER_PRSSEL_PRSSTARTMODE_MASK 0xC0000UL
583 #define _LETIMER_PRSSEL_PRSSTARTMODE_DEFAULT 0x00000000UL
584 #define _LETIMER_PRSSEL_PRSSTARTMODE_NONE 0x00000000UL
585 #define _LETIMER_PRSSEL_PRSSTARTMODE_RISING 0x00000001UL
586 #define _LETIMER_PRSSEL_PRSSTARTMODE_FALLING 0x00000002UL
587 #define _LETIMER_PRSSEL_PRSSTARTMODE_BOTH 0x00000003UL
588 #define LETIMER_PRSSEL_PRSSTARTMODE_DEFAULT (_LETIMER_PRSSEL_PRSSTARTMODE_DEFAULT << 18)
589 #define LETIMER_PRSSEL_PRSSTARTMODE_NONE (_LETIMER_PRSSEL_PRSSTARTMODE_NONE << 18)
590 #define LETIMER_PRSSEL_PRSSTARTMODE_RISING (_LETIMER_PRSSEL_PRSSTARTMODE_RISING << 18)
591 #define LETIMER_PRSSEL_PRSSTARTMODE_FALLING (_LETIMER_PRSSEL_PRSSTARTMODE_FALLING << 18)
592 #define LETIMER_PRSSEL_PRSSTARTMODE_BOTH (_LETIMER_PRSSEL_PRSSTARTMODE_BOTH << 18)
593 #define _LETIMER_PRSSEL_PRSSTOPMODE_SHIFT 22
594 #define _LETIMER_PRSSEL_PRSSTOPMODE_MASK 0xC00000UL
595 #define _LETIMER_PRSSEL_PRSSTOPMODE_DEFAULT 0x00000000UL
596 #define _LETIMER_PRSSEL_PRSSTOPMODE_NONE 0x00000000UL
597 #define _LETIMER_PRSSEL_PRSSTOPMODE_RISING 0x00000001UL
598 #define _LETIMER_PRSSEL_PRSSTOPMODE_FALLING 0x00000002UL
599 #define _LETIMER_PRSSEL_PRSSTOPMODE_BOTH 0x00000003UL
600 #define LETIMER_PRSSEL_PRSSTOPMODE_DEFAULT (_LETIMER_PRSSEL_PRSSTOPMODE_DEFAULT << 22)
601 #define LETIMER_PRSSEL_PRSSTOPMODE_NONE (_LETIMER_PRSSEL_PRSSTOPMODE_NONE << 22)
602 #define LETIMER_PRSSEL_PRSSTOPMODE_RISING (_LETIMER_PRSSEL_PRSSTOPMODE_RISING << 22)
603 #define LETIMER_PRSSEL_PRSSTOPMODE_FALLING (_LETIMER_PRSSEL_PRSSTOPMODE_FALLING << 22)
604 #define LETIMER_PRSSEL_PRSSTOPMODE_BOTH (_LETIMER_PRSSEL_PRSSTOPMODE_BOTH << 22)
605 #define _LETIMER_PRSSEL_PRSCLEARMODE_SHIFT 26
606 #define _LETIMER_PRSSEL_PRSCLEARMODE_MASK 0xC000000UL
607 #define _LETIMER_PRSSEL_PRSCLEARMODE_DEFAULT 0x00000000UL
608 #define _LETIMER_PRSSEL_PRSCLEARMODE_NONE 0x00000000UL
609 #define _LETIMER_PRSSEL_PRSCLEARMODE_RISING 0x00000001UL
610 #define _LETIMER_PRSSEL_PRSCLEARMODE_FALLING 0x00000002UL
611 #define _LETIMER_PRSSEL_PRSCLEARMODE_BOTH 0x00000003UL
612 #define LETIMER_PRSSEL_PRSCLEARMODE_DEFAULT (_LETIMER_PRSSEL_PRSCLEARMODE_DEFAULT << 26)
613 #define LETIMER_PRSSEL_PRSCLEARMODE_NONE (_LETIMER_PRSSEL_PRSCLEARMODE_NONE << 26)
614 #define LETIMER_PRSSEL_PRSCLEARMODE_RISING (_LETIMER_PRSSEL_PRSCLEARMODE_RISING << 26)
615 #define LETIMER_PRSSEL_PRSCLEARMODE_FALLING (_LETIMER_PRSSEL_PRSCLEARMODE_FALLING << 26)
616 #define LETIMER_PRSSEL_PRSCLEARMODE_BOTH (_LETIMER_PRSSEL_PRSCLEARMODE_BOTH << 26)
__IOM uint32_t REP1
__IM uint32_t SYNCBUSY
__IOM uint32_t CTRL
__IOM uint32_t IEN
__IOM uint32_t CMD
__IOM uint32_t REP0
__IOM uint32_t COMP0
__IM uint32_t STATUS
__IOM uint32_t IFC
__IOM uint32_t CNT
__IM uint32_t IF
__IOM uint32_t ROUTELOC0
__IOM uint32_t PRSSEL
__IOM uint32_t ROUTEPEN
__IOM uint32_t IFS
__IOM uint32_t COMP1