EFM32 Jade Gecko 12 Software Documentation  efm32jg12-doc-5.1.2
efm32jg12b500f1024gl125.h
Go to the documentation of this file.
1 /**************************************************************************/
34 #ifndef EFM32JG12B500F1024GL125_H
35 #define EFM32JG12B500F1024GL125_H
36 
37 #ifdef __cplusplus
38 extern "C" {
39 #endif
40 
41 /**************************************************************************/
46 /**************************************************************************/
52 typedef enum IRQn
53 {
54 /****** Cortex-M3 Processor Exceptions Numbers ********************************************/
58  BusFault_IRQn = -11,
60  SVCall_IRQn = -5,
62  PendSV_IRQn = -2,
63  SysTick_IRQn = -1,
65 /****** EFM32JG12B Peripheral Interrupt Numbers ********************************************/
66 
67  EMU_IRQn = 0,
68  WDOG0_IRQn = 2,
69  WDOG1_IRQn = 3,
70  LDMA_IRQn = 9,
72  TIMER0_IRQn = 11,
75  ACMP0_IRQn = 14,
76  ADC0_IRQn = 15,
77  IDAC0_IRQn = 16,
78  I2C0_IRQn = 17,
80  TIMER1_IRQn = 19,
83  LEUART0_IRQn = 22,
84  PCNT0_IRQn = 23,
85  CMU_IRQn = 24,
86  MSC_IRQn = 25,
87  CRYPTO0_IRQn = 26,
89  RTCC_IRQn = 30,
91  SMU_IRQn = 35,
92  WTIMER0_IRQn = 36,
93  WTIMER1_IRQn = 37,
94  PCNT1_IRQn = 38,
95  PCNT2_IRQn = 39,
98  I2C1_IRQn = 42,
101  VDAC0_IRQn = 45,
102  CSEN_IRQn = 46,
105  TRNG0_IRQn = 49,
106 } IRQn_Type;
107 
108 #define CRYPTO_IRQn CRYPTO0_IRQn
110 /**************************************************************************/
115 #define __MPU_PRESENT 1
116 #define __VTOR_PRESENT 1
117 #define __NVIC_PRIO_BITS 3
118 #define __Vendor_SysTickConfig 0
122 /**************************************************************************/
128 #define _EFM32_JADE_FAMILY 1
129 #define _EFM_DEVICE
130 #define _SILICON_LABS_32B_SERIES_1
131 #define _SILICON_LABS_32B_SERIES 1
132 #define _SILICON_LABS_32B_SERIES_1_CONFIG_2
133 #define _SILICON_LABS_32B_SERIES_1_CONFIG 2
134 #define _SILICON_LABS_GECKO_INTERNAL_SDID 84
135 #define _SILICON_LABS_GECKO_INTERNAL_SDID_84
136 #define _SILICON_LABS_32B_PLATFORM_2
137 #define _SILICON_LABS_32B_PLATFORM 2
138 #define _SILICON_LABS_32B_PLATFORM_2_GEN_2
139 #define _SILICON_LABS_32B_PLATFORM_2_GEN 2
141 /* If part number is not defined as compiler option, define it */
142 #if !defined(EFM32JG12B500F1024GL125)
143 #define EFM32JG12B500F1024GL125 1
144 #endif
145 
147 #define PART_NUMBER "EFM32JG12B500F1024GL125"
150 #define RAM0_CODE_MEM_BASE ((uint32_t) 0x10000000UL)
151 #define RAM0_CODE_MEM_SIZE ((uint32_t) 0x20000UL)
152 #define RAM0_CODE_MEM_END ((uint32_t) 0x1001FFFFUL)
153 #define RAM0_CODE_MEM_BITS ((uint32_t) 0x00000011UL)
154 #define RAM2_MEM_BASE ((uint32_t) 0x20040000UL)
155 #define RAM2_MEM_SIZE ((uint32_t) 0x800UL)
156 #define RAM2_MEM_END ((uint32_t) 0x200407FFUL)
157 #define RAM2_MEM_BITS ((uint32_t) 0x0000000BUL)
158 #define RAM1_MEM_BASE ((uint32_t) 0x20020000UL)
159 #define RAM1_MEM_SIZE ((uint32_t) 0x20000UL)
160 #define RAM1_MEM_END ((uint32_t) 0x2003FFFFUL)
161 #define RAM1_MEM_BITS ((uint32_t) 0x00000011UL)
162 #define CRYPTO1_BITCLR_MEM_BASE ((uint32_t) 0x440F0400UL)
163 #define CRYPTO1_BITCLR_MEM_SIZE ((uint32_t) 0x400UL)
164 #define CRYPTO1_BITCLR_MEM_END ((uint32_t) 0x440F07FFUL)
165 #define CRYPTO1_BITCLR_MEM_BITS ((uint32_t) 0x0000000AUL)
166 #define PER_MEM_BASE ((uint32_t) 0x40000000UL)
167 #define PER_MEM_SIZE ((uint32_t) 0xF0000UL)
168 #define PER_MEM_END ((uint32_t) 0x400EFFFFUL)
169 #define PER_MEM_BITS ((uint32_t) 0x00000014UL)
170 #define RAM1_CODE_MEM_BASE ((uint32_t) 0x10020000UL)
171 #define RAM1_CODE_MEM_SIZE ((uint32_t) 0x20000UL)
172 #define RAM1_CODE_MEM_END ((uint32_t) 0x1003FFFFUL)
173 #define RAM1_CODE_MEM_BITS ((uint32_t) 0x00000011UL)
174 #define CRYPTO1_MEM_BASE ((uint32_t) 0x400F0400UL)
175 #define CRYPTO1_MEM_SIZE ((uint32_t) 0x400UL)
176 #define CRYPTO1_MEM_END ((uint32_t) 0x400F07FFUL)
177 #define CRYPTO1_MEM_BITS ((uint32_t) 0x0000000AUL)
178 #define FLASH_MEM_BASE ((uint32_t) 0x00000000UL)
179 #define FLASH_MEM_SIZE ((uint32_t) 0x10000000UL)
180 #define FLASH_MEM_END ((uint32_t) 0x0FFFFFFFUL)
181 #define FLASH_MEM_BITS ((uint32_t) 0x0000001CUL)
182 #define CRYPTO0_MEM_BASE ((uint32_t) 0x400F0000UL)
183 #define CRYPTO0_MEM_SIZE ((uint32_t) 0x400UL)
184 #define CRYPTO0_MEM_END ((uint32_t) 0x400F03FFUL)
185 #define CRYPTO0_MEM_BITS ((uint32_t) 0x0000000AUL)
186 #define CRYPTO_MEM_BASE CRYPTO0_MEM_BASE
187 #define CRYPTO_MEM_SIZE CRYPTO0_MEM_SIZE
188 #define CRYPTO_MEM_END CRYPTO0_MEM_END
189 #define CRYPTO_MEM_BITS CRYPTO0_MEM_BITS
190 #define PER_BITCLR_MEM_BASE ((uint32_t) 0x44000000UL)
191 #define PER_BITCLR_MEM_SIZE ((uint32_t) 0xF0000UL)
192 #define PER_BITCLR_MEM_END ((uint32_t) 0x440EFFFFUL)
193 #define PER_BITCLR_MEM_BITS ((uint32_t) 0x00000014UL)
194 #define CRYPTO0_BITSET_MEM_BASE ((uint32_t) 0x460F0000UL)
195 #define CRYPTO0_BITSET_MEM_SIZE ((uint32_t) 0x400UL)
196 #define CRYPTO0_BITSET_MEM_END ((uint32_t) 0x460F03FFUL)
197 #define CRYPTO0_BITSET_MEM_BITS ((uint32_t) 0x0000000AUL)
198 #define CRYPTO_BITSET_MEM_BASE CRYPTO0_BITSET_MEM_BASE
199 #define CRYPTO_BITSET_MEM_SIZE CRYPTO0_BITSET_MEM_SIZE
200 #define CRYPTO_BITSET_MEM_END CRYPTO0_BITSET_MEM_END
201 #define CRYPTO_BITSET_MEM_BITS CRYPTO0_BITSET_MEM_BITS
202 #define CRYPTO0_BITCLR_MEM_BASE ((uint32_t) 0x440F0000UL)
203 #define CRYPTO0_BITCLR_MEM_SIZE ((uint32_t) 0x400UL)
204 #define CRYPTO0_BITCLR_MEM_END ((uint32_t) 0x440F03FFUL)
205 #define CRYPTO0_BITCLR_MEM_BITS ((uint32_t) 0x0000000AUL)
206 #define CRYPTO_BITCLR_MEM_BASE CRYPTO0_BITCLR_MEM_BASE
207 #define CRYPTO_BITCLR_MEM_SIZE CRYPTO0_BITCLR_MEM_SIZE
208 #define CRYPTO_BITCLR_MEM_END CRYPTO0_BITCLR_MEM_END
209 #define CRYPTO_BITCLR_MEM_BITS CRYPTO0_BITCLR_MEM_BITS
210 #define PER_BITSET_MEM_BASE ((uint32_t) 0x46000000UL)
211 #define PER_BITSET_MEM_SIZE ((uint32_t) 0xF0000UL)
212 #define PER_BITSET_MEM_END ((uint32_t) 0x460EFFFFUL)
213 #define PER_BITSET_MEM_BITS ((uint32_t) 0x00000014UL)
214 #define CRYPTO1_BITSET_MEM_BASE ((uint32_t) 0x460F0400UL)
215 #define CRYPTO1_BITSET_MEM_SIZE ((uint32_t) 0x400UL)
216 #define CRYPTO1_BITSET_MEM_END ((uint32_t) 0x460F07FFUL)
217 #define CRYPTO1_BITSET_MEM_BITS ((uint32_t) 0x0000000AUL)
218 #define RAM2_CODE_MEM_BASE ((uint32_t) 0x10040000UL)
219 #define RAM2_CODE_MEM_SIZE ((uint32_t) 0x800UL)
220 #define RAM2_CODE_MEM_END ((uint32_t) 0x100407FFUL)
221 #define RAM2_CODE_MEM_BITS ((uint32_t) 0x0000000BUL)
222 #define RAM_MEM_BASE ((uint32_t) 0x20000000UL)
223 #define RAM_MEM_SIZE ((uint32_t) 0x20000UL)
224 #define RAM_MEM_END ((uint32_t) 0x2001FFFFUL)
225 #define RAM_MEM_BITS ((uint32_t) 0x00000011UL)
228 #define BITBAND_PER_BASE ((uint32_t) 0x42000000UL)
229 #define BITBAND_RAM_BASE ((uint32_t) 0x22000000UL)
232 #define FLASH_BASE (0x00000000UL)
233 #define FLASH_SIZE (0x00100000UL)
234 #define FLASH_PAGE_SIZE 2048
235 #define SRAM_BASE (0x20000000UL)
236 #define SRAM_SIZE (0x00040000UL)
237 #define __CM3_REV 0x201
238 #define PRS_CHAN_COUNT 12
239 #define DMA_CHAN_COUNT 8
240 #define EXT_IRQ_COUNT 51
243 #define AFCHAN_MAX 136
244 #define AFCHANLOC_MAX 32
245 
246 #define AFACHAN_MAX 125
247 
248 /* Part number capabilities */
249 
250 #define CRYPTO_PRESENT
251 #define CRYPTO_COUNT 2
252 #define TIMER_PRESENT
253 #define TIMER_COUNT 2
254 #define WTIMER_PRESENT
255 #define WTIMER_COUNT 2
256 #define USART_PRESENT
257 #define USART_COUNT 4
258 #define LEUART_PRESENT
259 #define LEUART_COUNT 1
260 #define LETIMER_PRESENT
261 #define LETIMER_COUNT 1
262 #define PCNT_PRESENT
263 #define PCNT_COUNT 3
264 #define I2C_PRESENT
265 #define I2C_COUNT 2
266 #define ADC_PRESENT
267 #define ADC_COUNT 1
268 #define ACMP_PRESENT
269 #define ACMP_COUNT 2
270 #define IDAC_PRESENT
271 #define IDAC_COUNT 1
272 #define VDAC_PRESENT
273 #define VDAC_COUNT 1
274 #define WDOG_PRESENT
275 #define WDOG_COUNT 2
276 #define TRNG_PRESENT
277 #define TRNG_COUNT 1
278 #define SYSTICK_PRESENT
279 #define SYSTICK_COUNT 1
280 #define MSC_PRESENT
281 #define MSC_COUNT 1
282 #define EMU_PRESENT
283 #define EMU_COUNT 1
284 #define RMU_PRESENT
285 #define RMU_COUNT 1
286 #define CMU_PRESENT
287 #define CMU_COUNT 1
288 #define GPIO_PRESENT
289 #define GPIO_COUNT 1
290 #define PRS_PRESENT
291 #define PRS_COUNT 1
292 #define LDMA_PRESENT
293 #define LDMA_COUNT 1
294 #define GPCRC_PRESENT
295 #define GPCRC_COUNT 1
296 #define CRYOTIMER_PRESENT
297 #define CRYOTIMER_COUNT 1
298 #define CSEN_PRESENT
299 #define CSEN_COUNT 1
300 #define LESENSE_PRESENT
301 #define LESENSE_COUNT 1
302 #define RTCC_PRESENT
303 #define RTCC_COUNT 1
304 #define ETM_PRESENT
305 #define ETM_COUNT 1
306 #define BOOTLOADER_PRESENT
307 #define BOOTLOADER_COUNT 1
308 #define SMU_PRESENT
309 #define SMU_COUNT 1
310 
311 #include "core_cm3.h" /* Cortex-M3 processor and core peripherals */
312 #include "system_efm32jg12b.h" /* System Header File */
313 
316 /**************************************************************************/
322 #include "efm32jg12b_msc.h"
323 #include "efm32jg12b_emu.h"
324 #include "efm32jg12b_rmu.h"
325 #include "efm32jg12b_cmu.h"
326 #include "efm32jg12b_crypto.h"
327 #include "efm32jg12b_gpio_p.h"
328 #include "efm32jg12b_gpio.h"
329 #include "efm32jg12b_prs_ch.h"
330 #include "efm32jg12b_prs.h"
331 #include "efm32jg12b_ldma_ch.h"
332 #include "efm32jg12b_ldma.h"
333 #include "efm32jg12b_gpcrc.h"
334 #include "efm32jg12b_timer_cc.h"
335 #include "efm32jg12b_timer.h"
336 #include "efm32jg12b_usart.h"
337 #include "efm32jg12b_leuart.h"
338 #include "efm32jg12b_letimer.h"
339 #include "efm32jg12b_cryotimer.h"
340 #include "efm32jg12b_pcnt.h"
341 #include "efm32jg12b_i2c.h"
342 #include "efm32jg12b_adc.h"
343 #include "efm32jg12b_acmp.h"
344 #include "efm32jg12b_idac.h"
345 #include "efm32jg12b_vdac_opa.h"
346 #include "efm32jg12b_vdac.h"
347 #include "efm32jg12b_csen.h"
348 #include "efm32jg12b_lesense_st.h"
349 #include "efm32jg12b_lesense_buf.h"
350 #include "efm32jg12b_lesense_ch.h"
351 #include "efm32jg12b_lesense.h"
352 #include "efm32jg12b_rtcc_cc.h"
353 #include "efm32jg12b_rtcc_ret.h"
354 #include "efm32jg12b_rtcc.h"
355 #include "efm32jg12b_wdog_pch.h"
356 #include "efm32jg12b_wdog.h"
357 #include "efm32jg12b_etm.h"
358 #include "efm32jg12b_smu.h"
359 #include "efm32jg12b_trng.h"
361 #include "efm32jg12b_devinfo.h"
362 #include "efm32jg12b_romtable.h"
363 
366 /**************************************************************************/
371 #define MSC_BASE (0x400E0000UL)
372 #define EMU_BASE (0x400E3000UL)
373 #define RMU_BASE (0x400E5000UL)
374 #define CMU_BASE (0x400E4000UL)
375 #define CRYPTO0_BASE (0x400F0000UL)
376 #define CRYPTO_BASE CRYPTO0_BASE
377 #define CRYPTO1_BASE (0x400F0400UL)
378 #define GPIO_BASE (0x4000A000UL)
379 #define PRS_BASE (0x400E6000UL)
380 #define LDMA_BASE (0x400E2000UL)
381 #define GPCRC_BASE (0x4001C000UL)
382 #define TIMER0_BASE (0x40018000UL)
383 #define TIMER1_BASE (0x40018400UL)
384 #define WTIMER0_BASE (0x4001A000UL)
385 #define WTIMER1_BASE (0x4001A400UL)
386 #define USART0_BASE (0x40010000UL)
387 #define USART1_BASE (0x40010400UL)
388 #define USART2_BASE (0x40010800UL)
389 #define USART3_BASE (0x40010C00UL)
390 #define LEUART0_BASE (0x4004A000UL)
391 #define LETIMER0_BASE (0x40046000UL)
392 #define CRYOTIMER_BASE (0x4001E000UL)
393 #define PCNT0_BASE (0x4004E000UL)
394 #define PCNT1_BASE (0x4004E400UL)
395 #define PCNT2_BASE (0x4004E800UL)
396 #define I2C0_BASE (0x4000C000UL)
397 #define I2C1_BASE (0x4000C400UL)
398 #define ADC0_BASE (0x40002000UL)
399 #define ACMP0_BASE (0x40000000UL)
400 #define ACMP1_BASE (0x40000400UL)
401 #define IDAC0_BASE (0x40006000UL)
402 #define VDAC0_BASE (0x40008000UL)
403 #define CSEN_BASE (0x4001F000UL)
404 #define LESENSE_BASE (0x40055000UL)
405 #define RTCC_BASE (0x40042000UL)
406 #define WDOG0_BASE (0x40052000UL)
407 #define WDOG1_BASE (0x40052400UL)
408 #define ETM_BASE (0xE0041000UL)
409 #define SMU_BASE (0x40022000UL)
410 #define TRNG0_BASE (0x4001D000UL)
411 #define DEVINFO_BASE (0x0FE081B0UL)
412 #define ROMTABLE_BASE (0xE00FFFD0UL)
413 #define LOCKBITS_BASE (0x0FE04000UL)
414 #define USERDATA_BASE (0x0FE00000UL)
418 /**************************************************************************/
423 #define MSC ((MSC_TypeDef *) MSC_BASE)
424 #define EMU ((EMU_TypeDef *) EMU_BASE)
425 #define RMU ((RMU_TypeDef *) RMU_BASE)
426 #define CMU ((CMU_TypeDef *) CMU_BASE)
427 #define CRYPTO0 ((CRYPTO_TypeDef *) CRYPTO0_BASE)
428 #define CRYPTO CRYPTO0
429 #define CRYPTO1 ((CRYPTO_TypeDef *) CRYPTO1_BASE)
430 #define GPIO ((GPIO_TypeDef *) GPIO_BASE)
431 #define PRS ((PRS_TypeDef *) PRS_BASE)
432 #define LDMA ((LDMA_TypeDef *) LDMA_BASE)
433 #define GPCRC ((GPCRC_TypeDef *) GPCRC_BASE)
434 #define TIMER0 ((TIMER_TypeDef *) TIMER0_BASE)
435 #define TIMER1 ((TIMER_TypeDef *) TIMER1_BASE)
436 #define WTIMER0 ((TIMER_TypeDef *) WTIMER0_BASE)
437 #define WTIMER1 ((TIMER_TypeDef *) WTIMER1_BASE)
438 #define USART0 ((USART_TypeDef *) USART0_BASE)
439 #define USART1 ((USART_TypeDef *) USART1_BASE)
440 #define USART2 ((USART_TypeDef *) USART2_BASE)
441 #define USART3 ((USART_TypeDef *) USART3_BASE)
442 #define LEUART0 ((LEUART_TypeDef *) LEUART0_BASE)
443 #define LETIMER0 ((LETIMER_TypeDef *) LETIMER0_BASE)
444 #define CRYOTIMER ((CRYOTIMER_TypeDef *) CRYOTIMER_BASE)
445 #define PCNT0 ((PCNT_TypeDef *) PCNT0_BASE)
446 #define PCNT1 ((PCNT_TypeDef *) PCNT1_BASE)
447 #define PCNT2 ((PCNT_TypeDef *) PCNT2_BASE)
448 #define I2C0 ((I2C_TypeDef *) I2C0_BASE)
449 #define I2C1 ((I2C_TypeDef *) I2C1_BASE)
450 #define ADC0 ((ADC_TypeDef *) ADC0_BASE)
451 #define ACMP0 ((ACMP_TypeDef *) ACMP0_BASE)
452 #define ACMP1 ((ACMP_TypeDef *) ACMP1_BASE)
453 #define IDAC0 ((IDAC_TypeDef *) IDAC0_BASE)
454 #define VDAC0 ((VDAC_TypeDef *) VDAC0_BASE)
455 #define CSEN ((CSEN_TypeDef *) CSEN_BASE)
456 #define LESENSE ((LESENSE_TypeDef *) LESENSE_BASE)
457 #define RTCC ((RTCC_TypeDef *) RTCC_BASE)
458 #define WDOG0 ((WDOG_TypeDef *) WDOG0_BASE)
459 #define WDOG1 ((WDOG_TypeDef *) WDOG1_BASE)
460 #define ETM ((ETM_TypeDef *) ETM_BASE)
461 #define SMU ((SMU_TypeDef *) SMU_BASE)
462 #define TRNG0 ((TRNG_TypeDef *) TRNG0_BASE)
463 #define DEVINFO ((DEVINFO_TypeDef *) DEVINFO_BASE)
464 #define ROMTABLE ((ROMTABLE_TypeDef *) ROMTABLE_BASE)
468 /**************************************************************************/
473 #define CRYPTO_OFFSET 0x400
474 #define TIMER_OFFSET 0x400
475 #define WTIMER_OFFSET 0x400
476 #define USART_OFFSET 0x400
477 #define LEUART_OFFSET 0x400
478 #define LETIMER_OFFSET 0x400
479 #define PCNT_OFFSET 0x400
480 #define I2C_OFFSET 0x400
481 #define ADC_OFFSET 0x400
482 #define ACMP_OFFSET 0x400
483 #define IDAC_OFFSET 0x400
484 #define VDAC_OFFSET 0x400
485 #define WDOG_OFFSET 0x400
486 #define TRNG_OFFSET 0x400
491 /**************************************************************************/
496 #include "efm32jg12b_prs_signals.h"
497 #include "efm32jg12b_dmareq.h"
498 
499 /**************************************************************************/
504 /* Bit fields for WTIMER CTRL */
505 #define _WTIMER_CTRL_RESETVALUE 0x00000000UL
506 #define _WTIMER_CTRL_MASK 0x3F032FFBUL
507 #define _WTIMER_CTRL_MODE_SHIFT 0
508 #define _WTIMER_CTRL_MODE_MASK 0x3UL
509 #define _WTIMER_CTRL_MODE_DEFAULT 0x00000000UL
510 #define _WTIMER_CTRL_MODE_UP 0x00000000UL
511 #define _WTIMER_CTRL_MODE_DOWN 0x00000001UL
512 #define _WTIMER_CTRL_MODE_UPDOWN 0x00000002UL
513 #define _WTIMER_CTRL_MODE_QDEC 0x00000003UL
514 #define WTIMER_CTRL_MODE_DEFAULT (_WTIMER_CTRL_MODE_DEFAULT << 0)
515 #define WTIMER_CTRL_MODE_UP (_WTIMER_CTRL_MODE_UP << 0)
516 #define WTIMER_CTRL_MODE_DOWN (_WTIMER_CTRL_MODE_DOWN << 0)
517 #define WTIMER_CTRL_MODE_UPDOWN (_WTIMER_CTRL_MODE_UPDOWN << 0)
518 #define WTIMER_CTRL_MODE_QDEC (_WTIMER_CTRL_MODE_QDEC << 0)
519 #define WTIMER_CTRL_SYNC (0x1UL << 3)
520 #define _WTIMER_CTRL_SYNC_SHIFT 3
521 #define _WTIMER_CTRL_SYNC_MASK 0x8UL
522 #define _WTIMER_CTRL_SYNC_DEFAULT 0x00000000UL
523 #define WTIMER_CTRL_SYNC_DEFAULT (_WTIMER_CTRL_SYNC_DEFAULT << 3)
524 #define WTIMER_CTRL_OSMEN (0x1UL << 4)
525 #define _WTIMER_CTRL_OSMEN_SHIFT 4
526 #define _WTIMER_CTRL_OSMEN_MASK 0x10UL
527 #define _WTIMER_CTRL_OSMEN_DEFAULT 0x00000000UL
528 #define WTIMER_CTRL_OSMEN_DEFAULT (_WTIMER_CTRL_OSMEN_DEFAULT << 4)
529 #define WTIMER_CTRL_QDM (0x1UL << 5)
530 #define _WTIMER_CTRL_QDM_SHIFT 5
531 #define _WTIMER_CTRL_QDM_MASK 0x20UL
532 #define _WTIMER_CTRL_QDM_DEFAULT 0x00000000UL
533 #define _WTIMER_CTRL_QDM_X2 0x00000000UL
534 #define _WTIMER_CTRL_QDM_X4 0x00000001UL
535 #define WTIMER_CTRL_QDM_DEFAULT (_WTIMER_CTRL_QDM_DEFAULT << 5)
536 #define WTIMER_CTRL_QDM_X2 (_WTIMER_CTRL_QDM_X2 << 5)
537 #define WTIMER_CTRL_QDM_X4 (_WTIMER_CTRL_QDM_X4 << 5)
538 #define WTIMER_CTRL_DEBUGRUN (0x1UL << 6)
539 #define _WTIMER_CTRL_DEBUGRUN_SHIFT 6
540 #define _WTIMER_CTRL_DEBUGRUN_MASK 0x40UL
541 #define _WTIMER_CTRL_DEBUGRUN_DEFAULT 0x00000000UL
542 #define WTIMER_CTRL_DEBUGRUN_DEFAULT (_WTIMER_CTRL_DEBUGRUN_DEFAULT << 6)
543 #define WTIMER_CTRL_DMACLRACT (0x1UL << 7)
544 #define _WTIMER_CTRL_DMACLRACT_SHIFT 7
545 #define _WTIMER_CTRL_DMACLRACT_MASK 0x80UL
546 #define _WTIMER_CTRL_DMACLRACT_DEFAULT 0x00000000UL
547 #define WTIMER_CTRL_DMACLRACT_DEFAULT (_WTIMER_CTRL_DMACLRACT_DEFAULT << 7)
548 #define _WTIMER_CTRL_RISEA_SHIFT 8
549 #define _WTIMER_CTRL_RISEA_MASK 0x300UL
550 #define _WTIMER_CTRL_RISEA_DEFAULT 0x00000000UL
551 #define _WTIMER_CTRL_RISEA_NONE 0x00000000UL
552 #define _WTIMER_CTRL_RISEA_START 0x00000001UL
553 #define _WTIMER_CTRL_RISEA_STOP 0x00000002UL
554 #define _WTIMER_CTRL_RISEA_RELOADSTART 0x00000003UL
555 #define WTIMER_CTRL_RISEA_DEFAULT (_WTIMER_CTRL_RISEA_DEFAULT << 8)
556 #define WTIMER_CTRL_RISEA_NONE (_WTIMER_CTRL_RISEA_NONE << 8)
557 #define WTIMER_CTRL_RISEA_START (_WTIMER_CTRL_RISEA_START << 8)
558 #define WTIMER_CTRL_RISEA_STOP (_WTIMER_CTRL_RISEA_STOP << 8)
559 #define WTIMER_CTRL_RISEA_RELOADSTART (_WTIMER_CTRL_RISEA_RELOADSTART << 8)
560 #define _WTIMER_CTRL_FALLA_SHIFT 10
561 #define _WTIMER_CTRL_FALLA_MASK 0xC00UL
562 #define _WTIMER_CTRL_FALLA_DEFAULT 0x00000000UL
563 #define _WTIMER_CTRL_FALLA_NONE 0x00000000UL
564 #define _WTIMER_CTRL_FALLA_START 0x00000001UL
565 #define _WTIMER_CTRL_FALLA_STOP 0x00000002UL
566 #define _WTIMER_CTRL_FALLA_RELOADSTART 0x00000003UL
567 #define WTIMER_CTRL_FALLA_DEFAULT (_WTIMER_CTRL_FALLA_DEFAULT << 10)
568 #define WTIMER_CTRL_FALLA_NONE (_WTIMER_CTRL_FALLA_NONE << 10)
569 #define WTIMER_CTRL_FALLA_START (_WTIMER_CTRL_FALLA_START << 10)
570 #define WTIMER_CTRL_FALLA_STOP (_WTIMER_CTRL_FALLA_STOP << 10)
571 #define WTIMER_CTRL_FALLA_RELOADSTART (_WTIMER_CTRL_FALLA_RELOADSTART << 10)
572 #define WTIMER_CTRL_X2CNT (0x1UL << 13)
573 #define _WTIMER_CTRL_X2CNT_SHIFT 13
574 #define _WTIMER_CTRL_X2CNT_MASK 0x2000UL
575 #define _WTIMER_CTRL_X2CNT_DEFAULT 0x00000000UL
576 #define WTIMER_CTRL_X2CNT_DEFAULT (_WTIMER_CTRL_X2CNT_DEFAULT << 13)
577 #define _WTIMER_CTRL_CLKSEL_SHIFT 16
578 #define _WTIMER_CTRL_CLKSEL_MASK 0x30000UL
579 #define _WTIMER_CTRL_CLKSEL_DEFAULT 0x00000000UL
580 #define _WTIMER_CTRL_CLKSEL_PRESCHFPERCLK 0x00000000UL
581 #define _WTIMER_CTRL_CLKSEL_CC1 0x00000001UL
582 #define _WTIMER_CTRL_CLKSEL_TIMEROUF 0x00000002UL
583 #define WTIMER_CTRL_CLKSEL_DEFAULT (_WTIMER_CTRL_CLKSEL_DEFAULT << 16)
584 #define WTIMER_CTRL_CLKSEL_PRESCHFPERCLK (_WTIMER_CTRL_CLKSEL_PRESCHFPERCLK << 16)
585 #define WTIMER_CTRL_CLKSEL_CC1 (_WTIMER_CTRL_CLKSEL_CC1 << 16)
586 #define WTIMER_CTRL_CLKSEL_TIMEROUF (_WTIMER_CTRL_CLKSEL_TIMEROUF << 16)
587 #define _WTIMER_CTRL_PRESC_SHIFT 24
588 #define _WTIMER_CTRL_PRESC_MASK 0xF000000UL
589 #define _WTIMER_CTRL_PRESC_DEFAULT 0x00000000UL
590 #define _WTIMER_CTRL_PRESC_DIV1 0x00000000UL
591 #define _WTIMER_CTRL_PRESC_DIV2 0x00000001UL
592 #define _WTIMER_CTRL_PRESC_DIV4 0x00000002UL
593 #define _WTIMER_CTRL_PRESC_DIV8 0x00000003UL
594 #define _WTIMER_CTRL_PRESC_DIV16 0x00000004UL
595 #define _WTIMER_CTRL_PRESC_DIV32 0x00000005UL
596 #define _WTIMER_CTRL_PRESC_DIV64 0x00000006UL
597 #define _WTIMER_CTRL_PRESC_DIV128 0x00000007UL
598 #define _WTIMER_CTRL_PRESC_DIV256 0x00000008UL
599 #define _WTIMER_CTRL_PRESC_DIV512 0x00000009UL
600 #define _WTIMER_CTRL_PRESC_DIV1024 0x0000000AUL
601 #define WTIMER_CTRL_PRESC_DEFAULT (_WTIMER_CTRL_PRESC_DEFAULT << 24)
602 #define WTIMER_CTRL_PRESC_DIV1 (_WTIMER_CTRL_PRESC_DIV1 << 24)
603 #define WTIMER_CTRL_PRESC_DIV2 (_WTIMER_CTRL_PRESC_DIV2 << 24)
604 #define WTIMER_CTRL_PRESC_DIV4 (_WTIMER_CTRL_PRESC_DIV4 << 24)
605 #define WTIMER_CTRL_PRESC_DIV8 (_WTIMER_CTRL_PRESC_DIV8 << 24)
606 #define WTIMER_CTRL_PRESC_DIV16 (_WTIMER_CTRL_PRESC_DIV16 << 24)
607 #define WTIMER_CTRL_PRESC_DIV32 (_WTIMER_CTRL_PRESC_DIV32 << 24)
608 #define WTIMER_CTRL_PRESC_DIV64 (_WTIMER_CTRL_PRESC_DIV64 << 24)
609 #define WTIMER_CTRL_PRESC_DIV128 (_WTIMER_CTRL_PRESC_DIV128 << 24)
610 #define WTIMER_CTRL_PRESC_DIV256 (_WTIMER_CTRL_PRESC_DIV256 << 24)
611 #define WTIMER_CTRL_PRESC_DIV512 (_WTIMER_CTRL_PRESC_DIV512 << 24)
612 #define WTIMER_CTRL_PRESC_DIV1024 (_WTIMER_CTRL_PRESC_DIV1024 << 24)
613 #define WTIMER_CTRL_ATI (0x1UL << 28)
614 #define _WTIMER_CTRL_ATI_SHIFT 28
615 #define _WTIMER_CTRL_ATI_MASK 0x10000000UL
616 #define _WTIMER_CTRL_ATI_DEFAULT 0x00000000UL
617 #define WTIMER_CTRL_ATI_DEFAULT (_WTIMER_CTRL_ATI_DEFAULT << 28)
618 #define WTIMER_CTRL_RSSCOIST (0x1UL << 29)
619 #define _WTIMER_CTRL_RSSCOIST_SHIFT 29
620 #define _WTIMER_CTRL_RSSCOIST_MASK 0x20000000UL
621 #define _WTIMER_CTRL_RSSCOIST_DEFAULT 0x00000000UL
622 #define WTIMER_CTRL_RSSCOIST_DEFAULT (_WTIMER_CTRL_RSSCOIST_DEFAULT << 29)
624 /* Bit fields for WTIMER CMD */
625 #define _WTIMER_CMD_RESETVALUE 0x00000000UL
626 #define _WTIMER_CMD_MASK 0x00000003UL
627 #define WTIMER_CMD_START (0x1UL << 0)
628 #define _WTIMER_CMD_START_SHIFT 0
629 #define _WTIMER_CMD_START_MASK 0x1UL
630 #define _WTIMER_CMD_START_DEFAULT 0x00000000UL
631 #define WTIMER_CMD_START_DEFAULT (_WTIMER_CMD_START_DEFAULT << 0)
632 #define WTIMER_CMD_STOP (0x1UL << 1)
633 #define _WTIMER_CMD_STOP_SHIFT 1
634 #define _WTIMER_CMD_STOP_MASK 0x2UL
635 #define _WTIMER_CMD_STOP_DEFAULT 0x00000000UL
636 #define WTIMER_CMD_STOP_DEFAULT (_WTIMER_CMD_STOP_DEFAULT << 1)
638 /* Bit fields for WTIMER STATUS */
639 #define _WTIMER_STATUS_RESETVALUE 0x00000000UL
640 #define _WTIMER_STATUS_MASK 0x0F0F0F07UL
641 #define WTIMER_STATUS_RUNNING (0x1UL << 0)
642 #define _WTIMER_STATUS_RUNNING_SHIFT 0
643 #define _WTIMER_STATUS_RUNNING_MASK 0x1UL
644 #define _WTIMER_STATUS_RUNNING_DEFAULT 0x00000000UL
645 #define WTIMER_STATUS_RUNNING_DEFAULT (_WTIMER_STATUS_RUNNING_DEFAULT << 0)
646 #define WTIMER_STATUS_DIR (0x1UL << 1)
647 #define _WTIMER_STATUS_DIR_SHIFT 1
648 #define _WTIMER_STATUS_DIR_MASK 0x2UL
649 #define _WTIMER_STATUS_DIR_DEFAULT 0x00000000UL
650 #define _WTIMER_STATUS_DIR_UP 0x00000000UL
651 #define _WTIMER_STATUS_DIR_DOWN 0x00000001UL
652 #define WTIMER_STATUS_DIR_DEFAULT (_WTIMER_STATUS_DIR_DEFAULT << 1)
653 #define WTIMER_STATUS_DIR_UP (_WTIMER_STATUS_DIR_UP << 1)
654 #define WTIMER_STATUS_DIR_DOWN (_WTIMER_STATUS_DIR_DOWN << 1)
655 #define WTIMER_STATUS_TOPBV (0x1UL << 2)
656 #define _WTIMER_STATUS_TOPBV_SHIFT 2
657 #define _WTIMER_STATUS_TOPBV_MASK 0x4UL
658 #define _WTIMER_STATUS_TOPBV_DEFAULT 0x00000000UL
659 #define WTIMER_STATUS_TOPBV_DEFAULT (_WTIMER_STATUS_TOPBV_DEFAULT << 2)
660 #define WTIMER_STATUS_CCVBV0 (0x1UL << 8)
661 #define _WTIMER_STATUS_CCVBV0_SHIFT 8
662 #define _WTIMER_STATUS_CCVBV0_MASK 0x100UL
663 #define _WTIMER_STATUS_CCVBV0_DEFAULT 0x00000000UL
664 #define WTIMER_STATUS_CCVBV0_DEFAULT (_WTIMER_STATUS_CCVBV0_DEFAULT << 8)
665 #define WTIMER_STATUS_CCVBV1 (0x1UL << 9)
666 #define _WTIMER_STATUS_CCVBV1_SHIFT 9
667 #define _WTIMER_STATUS_CCVBV1_MASK 0x200UL
668 #define _WTIMER_STATUS_CCVBV1_DEFAULT 0x00000000UL
669 #define WTIMER_STATUS_CCVBV1_DEFAULT (_WTIMER_STATUS_CCVBV1_DEFAULT << 9)
670 #define WTIMER_STATUS_CCVBV2 (0x1UL << 10)
671 #define _WTIMER_STATUS_CCVBV2_SHIFT 10
672 #define _WTIMER_STATUS_CCVBV2_MASK 0x400UL
673 #define _WTIMER_STATUS_CCVBV2_DEFAULT 0x00000000UL
674 #define WTIMER_STATUS_CCVBV2_DEFAULT (_WTIMER_STATUS_CCVBV2_DEFAULT << 10)
675 #define WTIMER_STATUS_CCVBV3 (0x1UL << 11)
676 #define _WTIMER_STATUS_CCVBV3_SHIFT 11
677 #define _WTIMER_STATUS_CCVBV3_MASK 0x800UL
678 #define _WTIMER_STATUS_CCVBV3_DEFAULT 0x00000000UL
679 #define WTIMER_STATUS_CCVBV3_DEFAULT (_WTIMER_STATUS_CCVBV3_DEFAULT << 11)
680 #define WTIMER_STATUS_ICV0 (0x1UL << 16)
681 #define _WTIMER_STATUS_ICV0_SHIFT 16
682 #define _WTIMER_STATUS_ICV0_MASK 0x10000UL
683 #define _WTIMER_STATUS_ICV0_DEFAULT 0x00000000UL
684 #define WTIMER_STATUS_ICV0_DEFAULT (_WTIMER_STATUS_ICV0_DEFAULT << 16)
685 #define WTIMER_STATUS_ICV1 (0x1UL << 17)
686 #define _WTIMER_STATUS_ICV1_SHIFT 17
687 #define _WTIMER_STATUS_ICV1_MASK 0x20000UL
688 #define _WTIMER_STATUS_ICV1_DEFAULT 0x00000000UL
689 #define WTIMER_STATUS_ICV1_DEFAULT (_WTIMER_STATUS_ICV1_DEFAULT << 17)
690 #define WTIMER_STATUS_ICV2 (0x1UL << 18)
691 #define _WTIMER_STATUS_ICV2_SHIFT 18
692 #define _WTIMER_STATUS_ICV2_MASK 0x40000UL
693 #define _WTIMER_STATUS_ICV2_DEFAULT 0x00000000UL
694 #define WTIMER_STATUS_ICV2_DEFAULT (_WTIMER_STATUS_ICV2_DEFAULT << 18)
695 #define WTIMER_STATUS_ICV3 (0x1UL << 19)
696 #define _WTIMER_STATUS_ICV3_SHIFT 19
697 #define _WTIMER_STATUS_ICV3_MASK 0x80000UL
698 #define _WTIMER_STATUS_ICV3_DEFAULT 0x00000000UL
699 #define WTIMER_STATUS_ICV3_DEFAULT (_WTIMER_STATUS_ICV3_DEFAULT << 19)
700 #define WTIMER_STATUS_CCPOL0 (0x1UL << 24)
701 #define _WTIMER_STATUS_CCPOL0_SHIFT 24
702 #define _WTIMER_STATUS_CCPOL0_MASK 0x1000000UL
703 #define _WTIMER_STATUS_CCPOL0_DEFAULT 0x00000000UL
704 #define _WTIMER_STATUS_CCPOL0_LOWRISE 0x00000000UL
705 #define _WTIMER_STATUS_CCPOL0_HIGHFALL 0x00000001UL
706 #define WTIMER_STATUS_CCPOL0_DEFAULT (_WTIMER_STATUS_CCPOL0_DEFAULT << 24)
707 #define WTIMER_STATUS_CCPOL0_LOWRISE (_WTIMER_STATUS_CCPOL0_LOWRISE << 24)
708 #define WTIMER_STATUS_CCPOL0_HIGHFALL (_WTIMER_STATUS_CCPOL0_HIGHFALL << 24)
709 #define WTIMER_STATUS_CCPOL1 (0x1UL << 25)
710 #define _WTIMER_STATUS_CCPOL1_SHIFT 25
711 #define _WTIMER_STATUS_CCPOL1_MASK 0x2000000UL
712 #define _WTIMER_STATUS_CCPOL1_DEFAULT 0x00000000UL
713 #define _WTIMER_STATUS_CCPOL1_LOWRISE 0x00000000UL
714 #define _WTIMER_STATUS_CCPOL1_HIGHFALL 0x00000001UL
715 #define WTIMER_STATUS_CCPOL1_DEFAULT (_WTIMER_STATUS_CCPOL1_DEFAULT << 25)
716 #define WTIMER_STATUS_CCPOL1_LOWRISE (_WTIMER_STATUS_CCPOL1_LOWRISE << 25)
717 #define WTIMER_STATUS_CCPOL1_HIGHFALL (_WTIMER_STATUS_CCPOL1_HIGHFALL << 25)
718 #define WTIMER_STATUS_CCPOL2 (0x1UL << 26)
719 #define _WTIMER_STATUS_CCPOL2_SHIFT 26
720 #define _WTIMER_STATUS_CCPOL2_MASK 0x4000000UL
721 #define _WTIMER_STATUS_CCPOL2_DEFAULT 0x00000000UL
722 #define _WTIMER_STATUS_CCPOL2_LOWRISE 0x00000000UL
723 #define _WTIMER_STATUS_CCPOL2_HIGHFALL 0x00000001UL
724 #define WTIMER_STATUS_CCPOL2_DEFAULT (_WTIMER_STATUS_CCPOL2_DEFAULT << 26)
725 #define WTIMER_STATUS_CCPOL2_LOWRISE (_WTIMER_STATUS_CCPOL2_LOWRISE << 26)
726 #define WTIMER_STATUS_CCPOL2_HIGHFALL (_WTIMER_STATUS_CCPOL2_HIGHFALL << 26)
727 #define WTIMER_STATUS_CCPOL3 (0x1UL << 27)
728 #define _WTIMER_STATUS_CCPOL3_SHIFT 27
729 #define _WTIMER_STATUS_CCPOL3_MASK 0x8000000UL
730 #define _WTIMER_STATUS_CCPOL3_DEFAULT 0x00000000UL
731 #define _WTIMER_STATUS_CCPOL3_LOWRISE 0x00000000UL
732 #define _WTIMER_STATUS_CCPOL3_HIGHFALL 0x00000001UL
733 #define WTIMER_STATUS_CCPOL3_DEFAULT (_WTIMER_STATUS_CCPOL3_DEFAULT << 27)
734 #define WTIMER_STATUS_CCPOL3_LOWRISE (_WTIMER_STATUS_CCPOL3_LOWRISE << 27)
735 #define WTIMER_STATUS_CCPOL3_HIGHFALL (_WTIMER_STATUS_CCPOL3_HIGHFALL << 27)
737 /* Bit fields for WTIMER IF */
738 #define _WTIMER_IF_RESETVALUE 0x00000000UL
739 #define _WTIMER_IF_MASK 0x00000FF7UL
740 #define WTIMER_IF_OF (0x1UL << 0)
741 #define _WTIMER_IF_OF_SHIFT 0
742 #define _WTIMER_IF_OF_MASK 0x1UL
743 #define _WTIMER_IF_OF_DEFAULT 0x00000000UL
744 #define WTIMER_IF_OF_DEFAULT (_WTIMER_IF_OF_DEFAULT << 0)
745 #define WTIMER_IF_UF (0x1UL << 1)
746 #define _WTIMER_IF_UF_SHIFT 1
747 #define _WTIMER_IF_UF_MASK 0x2UL
748 #define _WTIMER_IF_UF_DEFAULT 0x00000000UL
749 #define WTIMER_IF_UF_DEFAULT (_WTIMER_IF_UF_DEFAULT << 1)
750 #define WTIMER_IF_DIRCHG (0x1UL << 2)
751 #define _WTIMER_IF_DIRCHG_SHIFT 2
752 #define _WTIMER_IF_DIRCHG_MASK 0x4UL
753 #define _WTIMER_IF_DIRCHG_DEFAULT 0x00000000UL
754 #define WTIMER_IF_DIRCHG_DEFAULT (_WTIMER_IF_DIRCHG_DEFAULT << 2)
755 #define WTIMER_IF_CC0 (0x1UL << 4)
756 #define _WTIMER_IF_CC0_SHIFT 4
757 #define _WTIMER_IF_CC0_MASK 0x10UL
758 #define _WTIMER_IF_CC0_DEFAULT 0x00000000UL
759 #define WTIMER_IF_CC0_DEFAULT (_WTIMER_IF_CC0_DEFAULT << 4)
760 #define WTIMER_IF_CC1 (0x1UL << 5)
761 #define _WTIMER_IF_CC1_SHIFT 5
762 #define _WTIMER_IF_CC1_MASK 0x20UL
763 #define _WTIMER_IF_CC1_DEFAULT 0x00000000UL
764 #define WTIMER_IF_CC1_DEFAULT (_WTIMER_IF_CC1_DEFAULT << 5)
765 #define WTIMER_IF_CC2 (0x1UL << 6)
766 #define _WTIMER_IF_CC2_SHIFT 6
767 #define _WTIMER_IF_CC2_MASK 0x40UL
768 #define _WTIMER_IF_CC2_DEFAULT 0x00000000UL
769 #define WTIMER_IF_CC2_DEFAULT (_WTIMER_IF_CC2_DEFAULT << 6)
770 #define WTIMER_IF_CC3 (0x1UL << 7)
771 #define _WTIMER_IF_CC3_SHIFT 7
772 #define _WTIMER_IF_CC3_MASK 0x80UL
773 #define _WTIMER_IF_CC3_DEFAULT 0x00000000UL
774 #define WTIMER_IF_CC3_DEFAULT (_WTIMER_IF_CC3_DEFAULT << 7)
775 #define WTIMER_IF_ICBOF0 (0x1UL << 8)
776 #define _WTIMER_IF_ICBOF0_SHIFT 8
777 #define _WTIMER_IF_ICBOF0_MASK 0x100UL
778 #define _WTIMER_IF_ICBOF0_DEFAULT 0x00000000UL
779 #define WTIMER_IF_ICBOF0_DEFAULT (_WTIMER_IF_ICBOF0_DEFAULT << 8)
780 #define WTIMER_IF_ICBOF1 (0x1UL << 9)
781 #define _WTIMER_IF_ICBOF1_SHIFT 9
782 #define _WTIMER_IF_ICBOF1_MASK 0x200UL
783 #define _WTIMER_IF_ICBOF1_DEFAULT 0x00000000UL
784 #define WTIMER_IF_ICBOF1_DEFAULT (_WTIMER_IF_ICBOF1_DEFAULT << 9)
785 #define WTIMER_IF_ICBOF2 (0x1UL << 10)
786 #define _WTIMER_IF_ICBOF2_SHIFT 10
787 #define _WTIMER_IF_ICBOF2_MASK 0x400UL
788 #define _WTIMER_IF_ICBOF2_DEFAULT 0x00000000UL
789 #define WTIMER_IF_ICBOF2_DEFAULT (_WTIMER_IF_ICBOF2_DEFAULT << 10)
790 #define WTIMER_IF_ICBOF3 (0x1UL << 11)
791 #define _WTIMER_IF_ICBOF3_SHIFT 11
792 #define _WTIMER_IF_ICBOF3_MASK 0x800UL
793 #define _WTIMER_IF_ICBOF3_DEFAULT 0x00000000UL
794 #define WTIMER_IF_ICBOF3_DEFAULT (_WTIMER_IF_ICBOF3_DEFAULT << 11)
796 /* Bit fields for WTIMER IFS */
797 #define _WTIMER_IFS_RESETVALUE 0x00000000UL
798 #define _WTIMER_IFS_MASK 0x00000FF7UL
799 #define WTIMER_IFS_OF (0x1UL << 0)
800 #define _WTIMER_IFS_OF_SHIFT 0
801 #define _WTIMER_IFS_OF_MASK 0x1UL
802 #define _WTIMER_IFS_OF_DEFAULT 0x00000000UL
803 #define WTIMER_IFS_OF_DEFAULT (_WTIMER_IFS_OF_DEFAULT << 0)
804 #define WTIMER_IFS_UF (0x1UL << 1)
805 #define _WTIMER_IFS_UF_SHIFT 1
806 #define _WTIMER_IFS_UF_MASK 0x2UL
807 #define _WTIMER_IFS_UF_DEFAULT 0x00000000UL
808 #define WTIMER_IFS_UF_DEFAULT (_WTIMER_IFS_UF_DEFAULT << 1)
809 #define WTIMER_IFS_DIRCHG (0x1UL << 2)
810 #define _WTIMER_IFS_DIRCHG_SHIFT 2
811 #define _WTIMER_IFS_DIRCHG_MASK 0x4UL
812 #define _WTIMER_IFS_DIRCHG_DEFAULT 0x00000000UL
813 #define WTIMER_IFS_DIRCHG_DEFAULT (_WTIMER_IFS_DIRCHG_DEFAULT << 2)
814 #define WTIMER_IFS_CC0 (0x1UL << 4)
815 #define _WTIMER_IFS_CC0_SHIFT 4
816 #define _WTIMER_IFS_CC0_MASK 0x10UL
817 #define _WTIMER_IFS_CC0_DEFAULT 0x00000000UL
818 #define WTIMER_IFS_CC0_DEFAULT (_WTIMER_IFS_CC0_DEFAULT << 4)
819 #define WTIMER_IFS_CC1 (0x1UL << 5)
820 #define _WTIMER_IFS_CC1_SHIFT 5
821 #define _WTIMER_IFS_CC1_MASK 0x20UL
822 #define _WTIMER_IFS_CC1_DEFAULT 0x00000000UL
823 #define WTIMER_IFS_CC1_DEFAULT (_WTIMER_IFS_CC1_DEFAULT << 5)
824 #define WTIMER_IFS_CC2 (0x1UL << 6)
825 #define _WTIMER_IFS_CC2_SHIFT 6
826 #define _WTIMER_IFS_CC2_MASK 0x40UL
827 #define _WTIMER_IFS_CC2_DEFAULT 0x00000000UL
828 #define WTIMER_IFS_CC2_DEFAULT (_WTIMER_IFS_CC2_DEFAULT << 6)
829 #define WTIMER_IFS_CC3 (0x1UL << 7)
830 #define _WTIMER_IFS_CC3_SHIFT 7
831 #define _WTIMER_IFS_CC3_MASK 0x80UL
832 #define _WTIMER_IFS_CC3_DEFAULT 0x00000000UL
833 #define WTIMER_IFS_CC3_DEFAULT (_WTIMER_IFS_CC3_DEFAULT << 7)
834 #define WTIMER_IFS_ICBOF0 (0x1UL << 8)
835 #define _WTIMER_IFS_ICBOF0_SHIFT 8
836 #define _WTIMER_IFS_ICBOF0_MASK 0x100UL
837 #define _WTIMER_IFS_ICBOF0_DEFAULT 0x00000000UL
838 #define WTIMER_IFS_ICBOF0_DEFAULT (_WTIMER_IFS_ICBOF0_DEFAULT << 8)
839 #define WTIMER_IFS_ICBOF1 (0x1UL << 9)
840 #define _WTIMER_IFS_ICBOF1_SHIFT 9
841 #define _WTIMER_IFS_ICBOF1_MASK 0x200UL
842 #define _WTIMER_IFS_ICBOF1_DEFAULT 0x00000000UL
843 #define WTIMER_IFS_ICBOF1_DEFAULT (_WTIMER_IFS_ICBOF1_DEFAULT << 9)
844 #define WTIMER_IFS_ICBOF2 (0x1UL << 10)
845 #define _WTIMER_IFS_ICBOF2_SHIFT 10
846 #define _WTIMER_IFS_ICBOF2_MASK 0x400UL
847 #define _WTIMER_IFS_ICBOF2_DEFAULT 0x00000000UL
848 #define WTIMER_IFS_ICBOF2_DEFAULT (_WTIMER_IFS_ICBOF2_DEFAULT << 10)
849 #define WTIMER_IFS_ICBOF3 (0x1UL << 11)
850 #define _WTIMER_IFS_ICBOF3_SHIFT 11
851 #define _WTIMER_IFS_ICBOF3_MASK 0x800UL
852 #define _WTIMER_IFS_ICBOF3_DEFAULT 0x00000000UL
853 #define WTIMER_IFS_ICBOF3_DEFAULT (_WTIMER_IFS_ICBOF3_DEFAULT << 11)
855 /* Bit fields for WTIMER IFC */
856 #define _WTIMER_IFC_RESETVALUE 0x00000000UL
857 #define _WTIMER_IFC_MASK 0x00000FF7UL
858 #define WTIMER_IFC_OF (0x1UL << 0)
859 #define _WTIMER_IFC_OF_SHIFT 0
860 #define _WTIMER_IFC_OF_MASK 0x1UL
861 #define _WTIMER_IFC_OF_DEFAULT 0x00000000UL
862 #define WTIMER_IFC_OF_DEFAULT (_WTIMER_IFC_OF_DEFAULT << 0)
863 #define WTIMER_IFC_UF (0x1UL << 1)
864 #define _WTIMER_IFC_UF_SHIFT 1
865 #define _WTIMER_IFC_UF_MASK 0x2UL
866 #define _WTIMER_IFC_UF_DEFAULT 0x00000000UL
867 #define WTIMER_IFC_UF_DEFAULT (_WTIMER_IFC_UF_DEFAULT << 1)
868 #define WTIMER_IFC_DIRCHG (0x1UL << 2)
869 #define _WTIMER_IFC_DIRCHG_SHIFT 2
870 #define _WTIMER_IFC_DIRCHG_MASK 0x4UL
871 #define _WTIMER_IFC_DIRCHG_DEFAULT 0x00000000UL
872 #define WTIMER_IFC_DIRCHG_DEFAULT (_WTIMER_IFC_DIRCHG_DEFAULT << 2)
873 #define WTIMER_IFC_CC0 (0x1UL << 4)
874 #define _WTIMER_IFC_CC0_SHIFT 4
875 #define _WTIMER_IFC_CC0_MASK 0x10UL
876 #define _WTIMER_IFC_CC0_DEFAULT 0x00000000UL
877 #define WTIMER_IFC_CC0_DEFAULT (_WTIMER_IFC_CC0_DEFAULT << 4)
878 #define WTIMER_IFC_CC1 (0x1UL << 5)
879 #define _WTIMER_IFC_CC1_SHIFT 5
880 #define _WTIMER_IFC_CC1_MASK 0x20UL
881 #define _WTIMER_IFC_CC1_DEFAULT 0x00000000UL
882 #define WTIMER_IFC_CC1_DEFAULT (_WTIMER_IFC_CC1_DEFAULT << 5)
883 #define WTIMER_IFC_CC2 (0x1UL << 6)
884 #define _WTIMER_IFC_CC2_SHIFT 6
885 #define _WTIMER_IFC_CC2_MASK 0x40UL
886 #define _WTIMER_IFC_CC2_DEFAULT 0x00000000UL
887 #define WTIMER_IFC_CC2_DEFAULT (_WTIMER_IFC_CC2_DEFAULT << 6)
888 #define WTIMER_IFC_CC3 (0x1UL << 7)
889 #define _WTIMER_IFC_CC3_SHIFT 7
890 #define _WTIMER_IFC_CC3_MASK 0x80UL
891 #define _WTIMER_IFC_CC3_DEFAULT 0x00000000UL
892 #define WTIMER_IFC_CC3_DEFAULT (_WTIMER_IFC_CC3_DEFAULT << 7)
893 #define WTIMER_IFC_ICBOF0 (0x1UL << 8)
894 #define _WTIMER_IFC_ICBOF0_SHIFT 8
895 #define _WTIMER_IFC_ICBOF0_MASK 0x100UL
896 #define _WTIMER_IFC_ICBOF0_DEFAULT 0x00000000UL
897 #define WTIMER_IFC_ICBOF0_DEFAULT (_WTIMER_IFC_ICBOF0_DEFAULT << 8)
898 #define WTIMER_IFC_ICBOF1 (0x1UL << 9)
899 #define _WTIMER_IFC_ICBOF1_SHIFT 9
900 #define _WTIMER_IFC_ICBOF1_MASK 0x200UL
901 #define _WTIMER_IFC_ICBOF1_DEFAULT 0x00000000UL
902 #define WTIMER_IFC_ICBOF1_DEFAULT (_WTIMER_IFC_ICBOF1_DEFAULT << 9)
903 #define WTIMER_IFC_ICBOF2 (0x1UL << 10)
904 #define _WTIMER_IFC_ICBOF2_SHIFT 10
905 #define _WTIMER_IFC_ICBOF2_MASK 0x400UL
906 #define _WTIMER_IFC_ICBOF2_DEFAULT 0x00000000UL
907 #define WTIMER_IFC_ICBOF2_DEFAULT (_WTIMER_IFC_ICBOF2_DEFAULT << 10)
908 #define WTIMER_IFC_ICBOF3 (0x1UL << 11)
909 #define _WTIMER_IFC_ICBOF3_SHIFT 11
910 #define _WTIMER_IFC_ICBOF3_MASK 0x800UL
911 #define _WTIMER_IFC_ICBOF3_DEFAULT 0x00000000UL
912 #define WTIMER_IFC_ICBOF3_DEFAULT (_WTIMER_IFC_ICBOF3_DEFAULT << 11)
914 /* Bit fields for WTIMER IEN */
915 #define _WTIMER_IEN_RESETVALUE 0x00000000UL
916 #define _WTIMER_IEN_MASK 0x00000FF7UL
917 #define WTIMER_IEN_OF (0x1UL << 0)
918 #define _WTIMER_IEN_OF_SHIFT 0
919 #define _WTIMER_IEN_OF_MASK 0x1UL
920 #define _WTIMER_IEN_OF_DEFAULT 0x00000000UL
921 #define WTIMER_IEN_OF_DEFAULT (_WTIMER_IEN_OF_DEFAULT << 0)
922 #define WTIMER_IEN_UF (0x1UL << 1)
923 #define _WTIMER_IEN_UF_SHIFT 1
924 #define _WTIMER_IEN_UF_MASK 0x2UL
925 #define _WTIMER_IEN_UF_DEFAULT 0x00000000UL
926 #define WTIMER_IEN_UF_DEFAULT (_WTIMER_IEN_UF_DEFAULT << 1)
927 #define WTIMER_IEN_DIRCHG (0x1UL << 2)
928 #define _WTIMER_IEN_DIRCHG_SHIFT 2
929 #define _WTIMER_IEN_DIRCHG_MASK 0x4UL
930 #define _WTIMER_IEN_DIRCHG_DEFAULT 0x00000000UL
931 #define WTIMER_IEN_DIRCHG_DEFAULT (_WTIMER_IEN_DIRCHG_DEFAULT << 2)
932 #define WTIMER_IEN_CC0 (0x1UL << 4)
933 #define _WTIMER_IEN_CC0_SHIFT 4
934 #define _WTIMER_IEN_CC0_MASK 0x10UL
935 #define _WTIMER_IEN_CC0_DEFAULT 0x00000000UL
936 #define WTIMER_IEN_CC0_DEFAULT (_WTIMER_IEN_CC0_DEFAULT << 4)
937 #define WTIMER_IEN_CC1 (0x1UL << 5)
938 #define _WTIMER_IEN_CC1_SHIFT 5
939 #define _WTIMER_IEN_CC1_MASK 0x20UL
940 #define _WTIMER_IEN_CC1_DEFAULT 0x00000000UL
941 #define WTIMER_IEN_CC1_DEFAULT (_WTIMER_IEN_CC1_DEFAULT << 5)
942 #define WTIMER_IEN_CC2 (0x1UL << 6)
943 #define _WTIMER_IEN_CC2_SHIFT 6
944 #define _WTIMER_IEN_CC2_MASK 0x40UL
945 #define _WTIMER_IEN_CC2_DEFAULT 0x00000000UL
946 #define WTIMER_IEN_CC2_DEFAULT (_WTIMER_IEN_CC2_DEFAULT << 6)
947 #define WTIMER_IEN_CC3 (0x1UL << 7)
948 #define _WTIMER_IEN_CC3_SHIFT 7
949 #define _WTIMER_IEN_CC3_MASK 0x80UL
950 #define _WTIMER_IEN_CC3_DEFAULT 0x00000000UL
951 #define WTIMER_IEN_CC3_DEFAULT (_WTIMER_IEN_CC3_DEFAULT << 7)
952 #define WTIMER_IEN_ICBOF0 (0x1UL << 8)
953 #define _WTIMER_IEN_ICBOF0_SHIFT 8
954 #define _WTIMER_IEN_ICBOF0_MASK 0x100UL
955 #define _WTIMER_IEN_ICBOF0_DEFAULT 0x00000000UL
956 #define WTIMER_IEN_ICBOF0_DEFAULT (_WTIMER_IEN_ICBOF0_DEFAULT << 8)
957 #define WTIMER_IEN_ICBOF1 (0x1UL << 9)
958 #define _WTIMER_IEN_ICBOF1_SHIFT 9
959 #define _WTIMER_IEN_ICBOF1_MASK 0x200UL
960 #define _WTIMER_IEN_ICBOF1_DEFAULT 0x00000000UL
961 #define WTIMER_IEN_ICBOF1_DEFAULT (_WTIMER_IEN_ICBOF1_DEFAULT << 9)
962 #define WTIMER_IEN_ICBOF2 (0x1UL << 10)
963 #define _WTIMER_IEN_ICBOF2_SHIFT 10
964 #define _WTIMER_IEN_ICBOF2_MASK 0x400UL
965 #define _WTIMER_IEN_ICBOF2_DEFAULT 0x00000000UL
966 #define WTIMER_IEN_ICBOF2_DEFAULT (_WTIMER_IEN_ICBOF2_DEFAULT << 10)
967 #define WTIMER_IEN_ICBOF3 (0x1UL << 11)
968 #define _WTIMER_IEN_ICBOF3_SHIFT 11
969 #define _WTIMER_IEN_ICBOF3_MASK 0x800UL
970 #define _WTIMER_IEN_ICBOF3_DEFAULT 0x00000000UL
971 #define WTIMER_IEN_ICBOF3_DEFAULT (_WTIMER_IEN_ICBOF3_DEFAULT << 11)
973 /* Bit fields for WTIMER TOP */
974 #define _WTIMER_TOP_RESETVALUE 0x0000FFFFUL
975 #define _WTIMER_TOP_MASK 0xFFFFFFFFUL
976 #define _WTIMER_TOP_TOP_SHIFT 0
977 #define _WTIMER_TOP_TOP_MASK 0xFFFFFFFFUL
978 #define _WTIMER_TOP_TOP_DEFAULT 0x0000FFFFUL
979 #define WTIMER_TOP_TOP_DEFAULT (_WTIMER_TOP_TOP_DEFAULT << 0)
981 /* Bit fields for WTIMER TOPB */
982 #define _WTIMER_TOPB_RESETVALUE 0x00000000UL
983 #define _WTIMER_TOPB_MASK 0xFFFFFFFFUL
984 #define _WTIMER_TOPB_TOPB_SHIFT 0
985 #define _WTIMER_TOPB_TOPB_MASK 0xFFFFFFFFUL
986 #define _WTIMER_TOPB_TOPB_DEFAULT 0x00000000UL
987 #define WTIMER_TOPB_TOPB_DEFAULT (_WTIMER_TOPB_TOPB_DEFAULT << 0)
989 /* Bit fields for WTIMER CNT */
990 #define _WTIMER_CNT_RESETVALUE 0x00000000UL
991 #define _WTIMER_CNT_MASK 0xFFFFFFFFUL
992 #define _WTIMER_CNT_CNT_SHIFT 0
993 #define _WTIMER_CNT_CNT_MASK 0xFFFFFFFFUL
994 #define _WTIMER_CNT_CNT_DEFAULT 0x00000000UL
995 #define WTIMER_CNT_CNT_DEFAULT (_WTIMER_CNT_CNT_DEFAULT << 0)
997 /* Bit fields for WTIMER LOCK */
998 #define _WTIMER_LOCK_RESETVALUE 0x00000000UL
999 #define _WTIMER_LOCK_MASK 0x0000FFFFUL
1000 #define _WTIMER_LOCK_TIMERLOCKKEY_SHIFT 0
1001 #define _WTIMER_LOCK_TIMERLOCKKEY_MASK 0xFFFFUL
1002 #define _WTIMER_LOCK_TIMERLOCKKEY_DEFAULT 0x00000000UL
1003 #define _WTIMER_LOCK_TIMERLOCKKEY_LOCK 0x00000000UL
1004 #define _WTIMER_LOCK_TIMERLOCKKEY_UNLOCKED 0x00000000UL
1005 #define _WTIMER_LOCK_TIMERLOCKKEY_LOCKED 0x00000001UL
1006 #define _WTIMER_LOCK_TIMERLOCKKEY_UNLOCK 0x0000CE80UL
1007 #define WTIMER_LOCK_TIMERLOCKKEY_DEFAULT (_WTIMER_LOCK_TIMERLOCKKEY_DEFAULT << 0)
1008 #define WTIMER_LOCK_TIMERLOCKKEY_LOCK (_WTIMER_LOCK_TIMERLOCKKEY_LOCK << 0)
1009 #define WTIMER_LOCK_TIMERLOCKKEY_UNLOCKED (_WTIMER_LOCK_TIMERLOCKKEY_UNLOCKED << 0)
1010 #define WTIMER_LOCK_TIMERLOCKKEY_LOCKED (_WTIMER_LOCK_TIMERLOCKKEY_LOCKED << 0)
1011 #define WTIMER_LOCK_TIMERLOCKKEY_UNLOCK (_WTIMER_LOCK_TIMERLOCKKEY_UNLOCK << 0)
1013 /* Bit fields for WTIMER ROUTEPEN */
1014 #define _WTIMER_ROUTEPEN_RESETVALUE 0x00000000UL
1015 #define _WTIMER_ROUTEPEN_MASK 0x0000070FUL
1016 #define WTIMER_ROUTEPEN_CC0PEN (0x1UL << 0)
1017 #define _WTIMER_ROUTEPEN_CC0PEN_SHIFT 0
1018 #define _WTIMER_ROUTEPEN_CC0PEN_MASK 0x1UL
1019 #define _WTIMER_ROUTEPEN_CC0PEN_DEFAULT 0x00000000UL
1020 #define WTIMER_ROUTEPEN_CC0PEN_DEFAULT (_WTIMER_ROUTEPEN_CC0PEN_DEFAULT << 0)
1021 #define WTIMER_ROUTEPEN_CC1PEN (0x1UL << 1)
1022 #define _WTIMER_ROUTEPEN_CC1PEN_SHIFT 1
1023 #define _WTIMER_ROUTEPEN_CC1PEN_MASK 0x2UL
1024 #define _WTIMER_ROUTEPEN_CC1PEN_DEFAULT 0x00000000UL
1025 #define WTIMER_ROUTEPEN_CC1PEN_DEFAULT (_WTIMER_ROUTEPEN_CC1PEN_DEFAULT << 1)
1026 #define WTIMER_ROUTEPEN_CC2PEN (0x1UL << 2)
1027 #define _WTIMER_ROUTEPEN_CC2PEN_SHIFT 2
1028 #define _WTIMER_ROUTEPEN_CC2PEN_MASK 0x4UL
1029 #define _WTIMER_ROUTEPEN_CC2PEN_DEFAULT 0x00000000UL
1030 #define WTIMER_ROUTEPEN_CC2PEN_DEFAULT (_WTIMER_ROUTEPEN_CC2PEN_DEFAULT << 2)
1031 #define WTIMER_ROUTEPEN_CC3PEN (0x1UL << 3)
1032 #define _WTIMER_ROUTEPEN_CC3PEN_SHIFT 3
1033 #define _WTIMER_ROUTEPEN_CC3PEN_MASK 0x8UL
1034 #define _WTIMER_ROUTEPEN_CC3PEN_DEFAULT 0x00000000UL
1035 #define WTIMER_ROUTEPEN_CC3PEN_DEFAULT (_WTIMER_ROUTEPEN_CC3PEN_DEFAULT << 3)
1036 #define WTIMER_ROUTEPEN_CDTI0PEN (0x1UL << 8)
1037 #define _WTIMER_ROUTEPEN_CDTI0PEN_SHIFT 8
1038 #define _WTIMER_ROUTEPEN_CDTI0PEN_MASK 0x100UL
1039 #define _WTIMER_ROUTEPEN_CDTI0PEN_DEFAULT 0x00000000UL
1040 #define WTIMER_ROUTEPEN_CDTI0PEN_DEFAULT (_WTIMER_ROUTEPEN_CDTI0PEN_DEFAULT << 8)
1041 #define WTIMER_ROUTEPEN_CDTI1PEN (0x1UL << 9)
1042 #define _WTIMER_ROUTEPEN_CDTI1PEN_SHIFT 9
1043 #define _WTIMER_ROUTEPEN_CDTI1PEN_MASK 0x200UL
1044 #define _WTIMER_ROUTEPEN_CDTI1PEN_DEFAULT 0x00000000UL
1045 #define WTIMER_ROUTEPEN_CDTI1PEN_DEFAULT (_WTIMER_ROUTEPEN_CDTI1PEN_DEFAULT << 9)
1046 #define WTIMER_ROUTEPEN_CDTI2PEN (0x1UL << 10)
1047 #define _WTIMER_ROUTEPEN_CDTI2PEN_SHIFT 10
1048 #define _WTIMER_ROUTEPEN_CDTI2PEN_MASK 0x400UL
1049 #define _WTIMER_ROUTEPEN_CDTI2PEN_DEFAULT 0x00000000UL
1050 #define WTIMER_ROUTEPEN_CDTI2PEN_DEFAULT (_WTIMER_ROUTEPEN_CDTI2PEN_DEFAULT << 10)
1052 /* Bit fields for WTIMER ROUTELOC0 */
1053 #define _WTIMER_ROUTELOC0_RESETVALUE 0x00000000UL
1054 #define _WTIMER_ROUTELOC0_MASK 0x1F1F1F1FUL
1055 #define _WTIMER_ROUTELOC0_CC0LOC_SHIFT 0
1056 #define _WTIMER_ROUTELOC0_CC0LOC_MASK 0x1FUL
1057 #define _WTIMER_ROUTELOC0_CC0LOC_LOC0 0x00000000UL
1058 #define _WTIMER_ROUTELOC0_CC0LOC_DEFAULT 0x00000000UL
1059 #define _WTIMER_ROUTELOC0_CC0LOC_LOC1 0x00000001UL
1060 #define _WTIMER_ROUTELOC0_CC0LOC_LOC2 0x00000002UL
1061 #define _WTIMER_ROUTELOC0_CC0LOC_LOC3 0x00000003UL
1062 #define _WTIMER_ROUTELOC0_CC0LOC_LOC4 0x00000004UL
1063 #define _WTIMER_ROUTELOC0_CC0LOC_LOC5 0x00000005UL
1064 #define _WTIMER_ROUTELOC0_CC0LOC_LOC6 0x00000006UL
1065 #define _WTIMER_ROUTELOC0_CC0LOC_LOC7 0x00000007UL
1066 #define _WTIMER_ROUTELOC0_CC0LOC_LOC8 0x00000008UL
1067 #define _WTIMER_ROUTELOC0_CC0LOC_LOC9 0x00000009UL
1068 #define _WTIMER_ROUTELOC0_CC0LOC_LOC10 0x0000000AUL
1069 #define _WTIMER_ROUTELOC0_CC0LOC_LOC11 0x0000000BUL
1070 #define _WTIMER_ROUTELOC0_CC0LOC_LOC12 0x0000000CUL
1071 #define _WTIMER_ROUTELOC0_CC0LOC_LOC13 0x0000000DUL
1072 #define _WTIMER_ROUTELOC0_CC0LOC_LOC14 0x0000000EUL
1073 #define _WTIMER_ROUTELOC0_CC0LOC_LOC15 0x0000000FUL
1074 #define _WTIMER_ROUTELOC0_CC0LOC_LOC16 0x00000010UL
1075 #define _WTIMER_ROUTELOC0_CC0LOC_LOC17 0x00000011UL
1076 #define _WTIMER_ROUTELOC0_CC0LOC_LOC18 0x00000012UL
1077 #define _WTIMER_ROUTELOC0_CC0LOC_LOC19 0x00000013UL
1078 #define _WTIMER_ROUTELOC0_CC0LOC_LOC20 0x00000014UL
1079 #define _WTIMER_ROUTELOC0_CC0LOC_LOC21 0x00000015UL
1080 #define _WTIMER_ROUTELOC0_CC0LOC_LOC22 0x00000016UL
1081 #define _WTIMER_ROUTELOC0_CC0LOC_LOC23 0x00000017UL
1082 #define _WTIMER_ROUTELOC0_CC0LOC_LOC24 0x00000018UL
1083 #define _WTIMER_ROUTELOC0_CC0LOC_LOC25 0x00000019UL
1084 #define _WTIMER_ROUTELOC0_CC0LOC_LOC26 0x0000001AUL
1085 #define _WTIMER_ROUTELOC0_CC0LOC_LOC27 0x0000001BUL
1086 #define _WTIMER_ROUTELOC0_CC0LOC_LOC28 0x0000001CUL
1087 #define _WTIMER_ROUTELOC0_CC0LOC_LOC29 0x0000001DUL
1088 #define _WTIMER_ROUTELOC0_CC0LOC_LOC30 0x0000001EUL
1089 #define _WTIMER_ROUTELOC0_CC0LOC_LOC31 0x0000001FUL
1090 #define WTIMER_ROUTELOC0_CC0LOC_LOC0 (_WTIMER_ROUTELOC0_CC0LOC_LOC0 << 0)
1091 #define WTIMER_ROUTELOC0_CC0LOC_DEFAULT (_WTIMER_ROUTELOC0_CC0LOC_DEFAULT << 0)
1092 #define WTIMER_ROUTELOC0_CC0LOC_LOC1 (_WTIMER_ROUTELOC0_CC0LOC_LOC1 << 0)
1093 #define WTIMER_ROUTELOC0_CC0LOC_LOC2 (_WTIMER_ROUTELOC0_CC0LOC_LOC2 << 0)
1094 #define WTIMER_ROUTELOC0_CC0LOC_LOC3 (_WTIMER_ROUTELOC0_CC0LOC_LOC3 << 0)
1095 #define WTIMER_ROUTELOC0_CC0LOC_LOC4 (_WTIMER_ROUTELOC0_CC0LOC_LOC4 << 0)
1096 #define WTIMER_ROUTELOC0_CC0LOC_LOC5 (_WTIMER_ROUTELOC0_CC0LOC_LOC5 << 0)
1097 #define WTIMER_ROUTELOC0_CC0LOC_LOC6 (_WTIMER_ROUTELOC0_CC0LOC_LOC6 << 0)
1098 #define WTIMER_ROUTELOC0_CC0LOC_LOC7 (_WTIMER_ROUTELOC0_CC0LOC_LOC7 << 0)
1099 #define WTIMER_ROUTELOC0_CC0LOC_LOC8 (_WTIMER_ROUTELOC0_CC0LOC_LOC8 << 0)
1100 #define WTIMER_ROUTELOC0_CC0LOC_LOC9 (_WTIMER_ROUTELOC0_CC0LOC_LOC9 << 0)
1101 #define WTIMER_ROUTELOC0_CC0LOC_LOC10 (_WTIMER_ROUTELOC0_CC0LOC_LOC10 << 0)
1102 #define WTIMER_ROUTELOC0_CC0LOC_LOC11 (_WTIMER_ROUTELOC0_CC0LOC_LOC11 << 0)
1103 #define WTIMER_ROUTELOC0_CC0LOC_LOC12 (_WTIMER_ROUTELOC0_CC0LOC_LOC12 << 0)
1104 #define WTIMER_ROUTELOC0_CC0LOC_LOC13 (_WTIMER_ROUTELOC0_CC0LOC_LOC13 << 0)
1105 #define WTIMER_ROUTELOC0_CC0LOC_LOC14 (_WTIMER_ROUTELOC0_CC0LOC_LOC14 << 0)
1106 #define WTIMER_ROUTELOC0_CC0LOC_LOC15 (_WTIMER_ROUTELOC0_CC0LOC_LOC15 << 0)
1107 #define WTIMER_ROUTELOC0_CC0LOC_LOC16 (_WTIMER_ROUTELOC0_CC0LOC_LOC16 << 0)
1108 #define WTIMER_ROUTELOC0_CC0LOC_LOC17 (_WTIMER_ROUTELOC0_CC0LOC_LOC17 << 0)
1109 #define WTIMER_ROUTELOC0_CC0LOC_LOC18 (_WTIMER_ROUTELOC0_CC0LOC_LOC18 << 0)
1110 #define WTIMER_ROUTELOC0_CC0LOC_LOC19 (_WTIMER_ROUTELOC0_CC0LOC_LOC19 << 0)
1111 #define WTIMER_ROUTELOC0_CC0LOC_LOC20 (_WTIMER_ROUTELOC0_CC0LOC_LOC20 << 0)
1112 #define WTIMER_ROUTELOC0_CC0LOC_LOC21 (_WTIMER_ROUTELOC0_CC0LOC_LOC21 << 0)
1113 #define WTIMER_ROUTELOC0_CC0LOC_LOC22 (_WTIMER_ROUTELOC0_CC0LOC_LOC22 << 0)
1114 #define WTIMER_ROUTELOC0_CC0LOC_LOC23 (_WTIMER_ROUTELOC0_CC0LOC_LOC23 << 0)
1115 #define WTIMER_ROUTELOC0_CC0LOC_LOC24 (_WTIMER_ROUTELOC0_CC0LOC_LOC24 << 0)
1116 #define WTIMER_ROUTELOC0_CC0LOC_LOC25 (_WTIMER_ROUTELOC0_CC0LOC_LOC25 << 0)
1117 #define WTIMER_ROUTELOC0_CC0LOC_LOC26 (_WTIMER_ROUTELOC0_CC0LOC_LOC26 << 0)
1118 #define WTIMER_ROUTELOC0_CC0LOC_LOC27 (_WTIMER_ROUTELOC0_CC0LOC_LOC27 << 0)
1119 #define WTIMER_ROUTELOC0_CC0LOC_LOC28 (_WTIMER_ROUTELOC0_CC0LOC_LOC28 << 0)
1120 #define WTIMER_ROUTELOC0_CC0LOC_LOC29 (_WTIMER_ROUTELOC0_CC0LOC_LOC29 << 0)
1121 #define WTIMER_ROUTELOC0_CC0LOC_LOC30 (_WTIMER_ROUTELOC0_CC0LOC_LOC30 << 0)
1122 #define WTIMER_ROUTELOC0_CC0LOC_LOC31 (_WTIMER_ROUTELOC0_CC0LOC_LOC31 << 0)
1123 #define _WTIMER_ROUTELOC0_CC1LOC_SHIFT 8
1124 #define _WTIMER_ROUTELOC0_CC1LOC_MASK 0x1F00UL
1125 #define _WTIMER_ROUTELOC0_CC1LOC_LOC0 0x00000000UL
1126 #define _WTIMER_ROUTELOC0_CC1LOC_DEFAULT 0x00000000UL
1127 #define _WTIMER_ROUTELOC0_CC1LOC_LOC1 0x00000001UL
1128 #define _WTIMER_ROUTELOC0_CC1LOC_LOC2 0x00000002UL
1129 #define _WTIMER_ROUTELOC0_CC1LOC_LOC3 0x00000003UL
1130 #define _WTIMER_ROUTELOC0_CC1LOC_LOC4 0x00000004UL
1131 #define _WTIMER_ROUTELOC0_CC1LOC_LOC5 0x00000005UL
1132 #define _WTIMER_ROUTELOC0_CC1LOC_LOC6 0x00000006UL
1133 #define _WTIMER_ROUTELOC0_CC1LOC_LOC7 0x00000007UL
1134 #define _WTIMER_ROUTELOC0_CC1LOC_LOC8 0x00000008UL
1135 #define _WTIMER_ROUTELOC0_CC1LOC_LOC9 0x00000009UL
1136 #define _WTIMER_ROUTELOC0_CC1LOC_LOC10 0x0000000AUL
1137 #define _WTIMER_ROUTELOC0_CC1LOC_LOC11 0x0000000BUL
1138 #define _WTIMER_ROUTELOC0_CC1LOC_LOC12 0x0000000CUL
1139 #define _WTIMER_ROUTELOC0_CC1LOC_LOC13 0x0000000DUL
1140 #define _WTIMER_ROUTELOC0_CC1LOC_LOC14 0x0000000EUL
1141 #define _WTIMER_ROUTELOC0_CC1LOC_LOC15 0x0000000FUL
1142 #define _WTIMER_ROUTELOC0_CC1LOC_LOC16 0x00000010UL
1143 #define _WTIMER_ROUTELOC0_CC1LOC_LOC17 0x00000011UL
1144 #define _WTIMER_ROUTELOC0_CC1LOC_LOC18 0x00000012UL
1145 #define _WTIMER_ROUTELOC0_CC1LOC_LOC19 0x00000013UL
1146 #define _WTIMER_ROUTELOC0_CC1LOC_LOC20 0x00000014UL
1147 #define _WTIMER_ROUTELOC0_CC1LOC_LOC21 0x00000015UL
1148 #define _WTIMER_ROUTELOC0_CC1LOC_LOC22 0x00000016UL
1149 #define _WTIMER_ROUTELOC0_CC1LOC_LOC23 0x00000017UL
1150 #define _WTIMER_ROUTELOC0_CC1LOC_LOC24 0x00000018UL
1151 #define _WTIMER_ROUTELOC0_CC1LOC_LOC25 0x00000019UL
1152 #define _WTIMER_ROUTELOC0_CC1LOC_LOC26 0x0000001AUL
1153 #define _WTIMER_ROUTELOC0_CC1LOC_LOC27 0x0000001BUL
1154 #define _WTIMER_ROUTELOC0_CC1LOC_LOC28 0x0000001CUL
1155 #define _WTIMER_ROUTELOC0_CC1LOC_LOC29 0x0000001DUL
1156 #define _WTIMER_ROUTELOC0_CC1LOC_LOC30 0x0000001EUL
1157 #define _WTIMER_ROUTELOC0_CC1LOC_LOC31 0x0000001FUL
1158 #define WTIMER_ROUTELOC0_CC1LOC_LOC0 (_WTIMER_ROUTELOC0_CC1LOC_LOC0 << 8)
1159 #define WTIMER_ROUTELOC0_CC1LOC_DEFAULT (_WTIMER_ROUTELOC0_CC1LOC_DEFAULT << 8)
1160 #define WTIMER_ROUTELOC0_CC1LOC_LOC1 (_WTIMER_ROUTELOC0_CC1LOC_LOC1 << 8)
1161 #define WTIMER_ROUTELOC0_CC1LOC_LOC2 (_WTIMER_ROUTELOC0_CC1LOC_LOC2 << 8)
1162 #define WTIMER_ROUTELOC0_CC1LOC_LOC3 (_WTIMER_ROUTELOC0_CC1LOC_LOC3 << 8)
1163 #define WTIMER_ROUTELOC0_CC1LOC_LOC4 (_WTIMER_ROUTELOC0_CC1LOC_LOC4 << 8)
1164 #define WTIMER_ROUTELOC0_CC1LOC_LOC5 (_WTIMER_ROUTELOC0_CC1LOC_LOC5 << 8)
1165 #define WTIMER_ROUTELOC0_CC1LOC_LOC6 (_WTIMER_ROUTELOC0_CC1LOC_LOC6 << 8)
1166 #define WTIMER_ROUTELOC0_CC1LOC_LOC7 (_WTIMER_ROUTELOC0_CC1LOC_LOC7 << 8)
1167 #define WTIMER_ROUTELOC0_CC1LOC_LOC8 (_WTIMER_ROUTELOC0_CC1LOC_LOC8 << 8)
1168 #define WTIMER_ROUTELOC0_CC1LOC_LOC9 (_WTIMER_ROUTELOC0_CC1LOC_LOC9 << 8)
1169 #define WTIMER_ROUTELOC0_CC1LOC_LOC10 (_WTIMER_ROUTELOC0_CC1LOC_LOC10 << 8)
1170 #define WTIMER_ROUTELOC0_CC1LOC_LOC11 (_WTIMER_ROUTELOC0_CC1LOC_LOC11 << 8)
1171 #define WTIMER_ROUTELOC0_CC1LOC_LOC12 (_WTIMER_ROUTELOC0_CC1LOC_LOC12 << 8)
1172 #define WTIMER_ROUTELOC0_CC1LOC_LOC13 (_WTIMER_ROUTELOC0_CC1LOC_LOC13 << 8)
1173 #define WTIMER_ROUTELOC0_CC1LOC_LOC14 (_WTIMER_ROUTELOC0_CC1LOC_LOC14 << 8)
1174 #define WTIMER_ROUTELOC0_CC1LOC_LOC15 (_WTIMER_ROUTELOC0_CC1LOC_LOC15 << 8)
1175 #define WTIMER_ROUTELOC0_CC1LOC_LOC16 (_WTIMER_ROUTELOC0_CC1LOC_LOC16 << 8)
1176 #define WTIMER_ROUTELOC0_CC1LOC_LOC17 (_WTIMER_ROUTELOC0_CC1LOC_LOC17 << 8)
1177 #define WTIMER_ROUTELOC0_CC1LOC_LOC18 (_WTIMER_ROUTELOC0_CC1LOC_LOC18 << 8)
1178 #define WTIMER_ROUTELOC0_CC1LOC_LOC19 (_WTIMER_ROUTELOC0_CC1LOC_LOC19 << 8)
1179 #define WTIMER_ROUTELOC0_CC1LOC_LOC20 (_WTIMER_ROUTELOC0_CC1LOC_LOC20 << 8)
1180 #define WTIMER_ROUTELOC0_CC1LOC_LOC21 (_WTIMER_ROUTELOC0_CC1LOC_LOC21 << 8)
1181 #define WTIMER_ROUTELOC0_CC1LOC_LOC22 (_WTIMER_ROUTELOC0_CC1LOC_LOC22 << 8)
1182 #define WTIMER_ROUTELOC0_CC1LOC_LOC23 (_WTIMER_ROUTELOC0_CC1LOC_LOC23 << 8)
1183 #define WTIMER_ROUTELOC0_CC1LOC_LOC24 (_WTIMER_ROUTELOC0_CC1LOC_LOC24 << 8)
1184 #define WTIMER_ROUTELOC0_CC1LOC_LOC25 (_WTIMER_ROUTELOC0_CC1LOC_LOC25 << 8)
1185 #define WTIMER_ROUTELOC0_CC1LOC_LOC26 (_WTIMER_ROUTELOC0_CC1LOC_LOC26 << 8)
1186 #define WTIMER_ROUTELOC0_CC1LOC_LOC27 (_WTIMER_ROUTELOC0_CC1LOC_LOC27 << 8)
1187 #define WTIMER_ROUTELOC0_CC1LOC_LOC28 (_WTIMER_ROUTELOC0_CC1LOC_LOC28 << 8)
1188 #define WTIMER_ROUTELOC0_CC1LOC_LOC29 (_WTIMER_ROUTELOC0_CC1LOC_LOC29 << 8)
1189 #define WTIMER_ROUTELOC0_CC1LOC_LOC30 (_WTIMER_ROUTELOC0_CC1LOC_LOC30 << 8)
1190 #define WTIMER_ROUTELOC0_CC1LOC_LOC31 (_WTIMER_ROUTELOC0_CC1LOC_LOC31 << 8)
1191 #define _WTIMER_ROUTELOC0_CC2LOC_SHIFT 16
1192 #define _WTIMER_ROUTELOC0_CC2LOC_MASK 0x1F0000UL
1193 #define _WTIMER_ROUTELOC0_CC2LOC_LOC0 0x00000000UL
1194 #define _WTIMER_ROUTELOC0_CC2LOC_DEFAULT 0x00000000UL
1195 #define _WTIMER_ROUTELOC0_CC2LOC_LOC1 0x00000001UL
1196 #define _WTIMER_ROUTELOC0_CC2LOC_LOC2 0x00000002UL
1197 #define _WTIMER_ROUTELOC0_CC2LOC_LOC3 0x00000003UL
1198 #define _WTIMER_ROUTELOC0_CC2LOC_LOC4 0x00000004UL
1199 #define _WTIMER_ROUTELOC0_CC2LOC_LOC5 0x00000005UL
1200 #define _WTIMER_ROUTELOC0_CC2LOC_LOC6 0x00000006UL
1201 #define _WTIMER_ROUTELOC0_CC2LOC_LOC7 0x00000007UL
1202 #define _WTIMER_ROUTELOC0_CC2LOC_LOC8 0x00000008UL
1203 #define _WTIMER_ROUTELOC0_CC2LOC_LOC9 0x00000009UL
1204 #define _WTIMER_ROUTELOC0_CC2LOC_LOC10 0x0000000AUL
1205 #define _WTIMER_ROUTELOC0_CC2LOC_LOC11 0x0000000BUL
1206 #define _WTIMER_ROUTELOC0_CC2LOC_LOC12 0x0000000CUL
1207 #define _WTIMER_ROUTELOC0_CC2LOC_LOC13 0x0000000DUL
1208 #define _WTIMER_ROUTELOC0_CC2LOC_LOC14 0x0000000EUL
1209 #define _WTIMER_ROUTELOC0_CC2LOC_LOC15 0x0000000FUL
1210 #define _WTIMER_ROUTELOC0_CC2LOC_LOC16 0x00000010UL
1211 #define _WTIMER_ROUTELOC0_CC2LOC_LOC17 0x00000011UL
1212 #define _WTIMER_ROUTELOC0_CC2LOC_LOC18 0x00000012UL
1213 #define _WTIMER_ROUTELOC0_CC2LOC_LOC19 0x00000013UL
1214 #define _WTIMER_ROUTELOC0_CC2LOC_LOC20 0x00000014UL
1215 #define _WTIMER_ROUTELOC0_CC2LOC_LOC21 0x00000015UL
1216 #define _WTIMER_ROUTELOC0_CC2LOC_LOC22 0x00000016UL
1217 #define _WTIMER_ROUTELOC0_CC2LOC_LOC23 0x00000017UL
1218 #define _WTIMER_ROUTELOC0_CC2LOC_LOC24 0x00000018UL
1219 #define _WTIMER_ROUTELOC0_CC2LOC_LOC25 0x00000019UL
1220 #define _WTIMER_ROUTELOC0_CC2LOC_LOC26 0x0000001AUL
1221 #define _WTIMER_ROUTELOC0_CC2LOC_LOC27 0x0000001BUL
1222 #define _WTIMER_ROUTELOC0_CC2LOC_LOC28 0x0000001CUL
1223 #define _WTIMER_ROUTELOC0_CC2LOC_LOC29 0x0000001DUL
1224 #define _WTIMER_ROUTELOC0_CC2LOC_LOC30 0x0000001EUL
1225 #define _WTIMER_ROUTELOC0_CC2LOC_LOC31 0x0000001FUL
1226 #define WTIMER_ROUTELOC0_CC2LOC_LOC0 (_WTIMER_ROUTELOC0_CC2LOC_LOC0 << 16)
1227 #define WTIMER_ROUTELOC0_CC2LOC_DEFAULT (_WTIMER_ROUTELOC0_CC2LOC_DEFAULT << 16)
1228 #define WTIMER_ROUTELOC0_CC2LOC_LOC1 (_WTIMER_ROUTELOC0_CC2LOC_LOC1 << 16)
1229 #define WTIMER_ROUTELOC0_CC2LOC_LOC2 (_WTIMER_ROUTELOC0_CC2LOC_LOC2 << 16)
1230 #define WTIMER_ROUTELOC0_CC2LOC_LOC3 (_WTIMER_ROUTELOC0_CC2LOC_LOC3 << 16)
1231 #define WTIMER_ROUTELOC0_CC2LOC_LOC4 (_WTIMER_ROUTELOC0_CC2LOC_LOC4 << 16)
1232 #define WTIMER_ROUTELOC0_CC2LOC_LOC5 (_WTIMER_ROUTELOC0_CC2LOC_LOC5 << 16)
1233 #define WTIMER_ROUTELOC0_CC2LOC_LOC6 (_WTIMER_ROUTELOC0_CC2LOC_LOC6 << 16)
1234 #define WTIMER_ROUTELOC0_CC2LOC_LOC7 (_WTIMER_ROUTELOC0_CC2LOC_LOC7 << 16)
1235 #define WTIMER_ROUTELOC0_CC2LOC_LOC8 (_WTIMER_ROUTELOC0_CC2LOC_LOC8 << 16)
1236 #define WTIMER_ROUTELOC0_CC2LOC_LOC9 (_WTIMER_ROUTELOC0_CC2LOC_LOC9 << 16)
1237 #define WTIMER_ROUTELOC0_CC2LOC_LOC10 (_WTIMER_ROUTELOC0_CC2LOC_LOC10 << 16)
1238 #define WTIMER_ROUTELOC0_CC2LOC_LOC11 (_WTIMER_ROUTELOC0_CC2LOC_LOC11 << 16)
1239 #define WTIMER_ROUTELOC0_CC2LOC_LOC12 (_WTIMER_ROUTELOC0_CC2LOC_LOC12 << 16)
1240 #define WTIMER_ROUTELOC0_CC2LOC_LOC13 (_WTIMER_ROUTELOC0_CC2LOC_LOC13 << 16)
1241 #define WTIMER_ROUTELOC0_CC2LOC_LOC14 (_WTIMER_ROUTELOC0_CC2LOC_LOC14 << 16)
1242 #define WTIMER_ROUTELOC0_CC2LOC_LOC15 (_WTIMER_ROUTELOC0_CC2LOC_LOC15 << 16)
1243 #define WTIMER_ROUTELOC0_CC2LOC_LOC16 (_WTIMER_ROUTELOC0_CC2LOC_LOC16 << 16)
1244 #define WTIMER_ROUTELOC0_CC2LOC_LOC17 (_WTIMER_ROUTELOC0_CC2LOC_LOC17 << 16)
1245 #define WTIMER_ROUTELOC0_CC2LOC_LOC18 (_WTIMER_ROUTELOC0_CC2LOC_LOC18 << 16)
1246 #define WTIMER_ROUTELOC0_CC2LOC_LOC19 (_WTIMER_ROUTELOC0_CC2LOC_LOC19 << 16)
1247 #define WTIMER_ROUTELOC0_CC2LOC_LOC20 (_WTIMER_ROUTELOC0_CC2LOC_LOC20 << 16)
1248 #define WTIMER_ROUTELOC0_CC2LOC_LOC21 (_WTIMER_ROUTELOC0_CC2LOC_LOC21 << 16)
1249 #define WTIMER_ROUTELOC0_CC2LOC_LOC22 (_WTIMER_ROUTELOC0_CC2LOC_LOC22 << 16)
1250 #define WTIMER_ROUTELOC0_CC2LOC_LOC23 (_WTIMER_ROUTELOC0_CC2LOC_LOC23 << 16)
1251 #define WTIMER_ROUTELOC0_CC2LOC_LOC24 (_WTIMER_ROUTELOC0_CC2LOC_LOC24 << 16)
1252 #define WTIMER_ROUTELOC0_CC2LOC_LOC25 (_WTIMER_ROUTELOC0_CC2LOC_LOC25 << 16)
1253 #define WTIMER_ROUTELOC0_CC2LOC_LOC26 (_WTIMER_ROUTELOC0_CC2LOC_LOC26 << 16)
1254 #define WTIMER_ROUTELOC0_CC2LOC_LOC27 (_WTIMER_ROUTELOC0_CC2LOC_LOC27 << 16)
1255 #define WTIMER_ROUTELOC0_CC2LOC_LOC28 (_WTIMER_ROUTELOC0_CC2LOC_LOC28 << 16)
1256 #define WTIMER_ROUTELOC0_CC2LOC_LOC29 (_WTIMER_ROUTELOC0_CC2LOC_LOC29 << 16)
1257 #define WTIMER_ROUTELOC0_CC2LOC_LOC30 (_WTIMER_ROUTELOC0_CC2LOC_LOC30 << 16)
1258 #define WTIMER_ROUTELOC0_CC2LOC_LOC31 (_WTIMER_ROUTELOC0_CC2LOC_LOC31 << 16)
1259 #define _WTIMER_ROUTELOC0_CC3LOC_SHIFT 24
1260 #define _WTIMER_ROUTELOC0_CC3LOC_MASK 0x1F000000UL
1261 #define _WTIMER_ROUTELOC0_CC3LOC_LOC0 0x00000000UL
1262 #define _WTIMER_ROUTELOC0_CC3LOC_DEFAULT 0x00000000UL
1263 #define _WTIMER_ROUTELOC0_CC3LOC_LOC1 0x00000001UL
1264 #define _WTIMER_ROUTELOC0_CC3LOC_LOC2 0x00000002UL
1265 #define _WTIMER_ROUTELOC0_CC3LOC_LOC3 0x00000003UL
1266 #define _WTIMER_ROUTELOC0_CC3LOC_LOC4 0x00000004UL
1267 #define _WTIMER_ROUTELOC0_CC3LOC_LOC5 0x00000005UL
1268 #define _WTIMER_ROUTELOC0_CC3LOC_LOC6 0x00000006UL
1269 #define _WTIMER_ROUTELOC0_CC3LOC_LOC7 0x00000007UL
1270 #define _WTIMER_ROUTELOC0_CC3LOC_LOC8 0x00000008UL
1271 #define _WTIMER_ROUTELOC0_CC3LOC_LOC9 0x00000009UL
1272 #define _WTIMER_ROUTELOC0_CC3LOC_LOC10 0x0000000AUL
1273 #define _WTIMER_ROUTELOC0_CC3LOC_LOC11 0x0000000BUL
1274 #define _WTIMER_ROUTELOC0_CC3LOC_LOC12 0x0000000CUL
1275 #define _WTIMER_ROUTELOC0_CC3LOC_LOC13 0x0000000DUL
1276 #define _WTIMER_ROUTELOC0_CC3LOC_LOC14 0x0000000EUL
1277 #define _WTIMER_ROUTELOC0_CC3LOC_LOC15 0x0000000FUL
1278 #define _WTIMER_ROUTELOC0_CC3LOC_LOC16 0x00000010UL
1279 #define _WTIMER_ROUTELOC0_CC3LOC_LOC17 0x00000011UL
1280 #define _WTIMER_ROUTELOC0_CC3LOC_LOC18 0x00000012UL
1281 #define _WTIMER_ROUTELOC0_CC3LOC_LOC19 0x00000013UL
1282 #define _WTIMER_ROUTELOC0_CC3LOC_LOC20 0x00000014UL
1283 #define _WTIMER_ROUTELOC0_CC3LOC_LOC21 0x00000015UL
1284 #define _WTIMER_ROUTELOC0_CC3LOC_LOC22 0x00000016UL
1285 #define _WTIMER_ROUTELOC0_CC3LOC_LOC23 0x00000017UL
1286 #define _WTIMER_ROUTELOC0_CC3LOC_LOC24 0x00000018UL
1287 #define _WTIMER_ROUTELOC0_CC3LOC_LOC25 0x00000019UL
1288 #define _WTIMER_ROUTELOC0_CC3LOC_LOC26 0x0000001AUL
1289 #define _WTIMER_ROUTELOC0_CC3LOC_LOC27 0x0000001BUL
1290 #define _WTIMER_ROUTELOC0_CC3LOC_LOC28 0x0000001CUL
1291 #define _WTIMER_ROUTELOC0_CC3LOC_LOC29 0x0000001DUL
1292 #define _WTIMER_ROUTELOC0_CC3LOC_LOC30 0x0000001EUL
1293 #define _WTIMER_ROUTELOC0_CC3LOC_LOC31 0x0000001FUL
1294 #define WTIMER_ROUTELOC0_CC3LOC_LOC0 (_WTIMER_ROUTELOC0_CC3LOC_LOC0 << 24)
1295 #define WTIMER_ROUTELOC0_CC3LOC_DEFAULT (_WTIMER_ROUTELOC0_CC3LOC_DEFAULT << 24)
1296 #define WTIMER_ROUTELOC0_CC3LOC_LOC1 (_WTIMER_ROUTELOC0_CC3LOC_LOC1 << 24)
1297 #define WTIMER_ROUTELOC0_CC3LOC_LOC2 (_WTIMER_ROUTELOC0_CC3LOC_LOC2 << 24)
1298 #define WTIMER_ROUTELOC0_CC3LOC_LOC3 (_WTIMER_ROUTELOC0_CC3LOC_LOC3 << 24)
1299 #define WTIMER_ROUTELOC0_CC3LOC_LOC4 (_WTIMER_ROUTELOC0_CC3LOC_LOC4 << 24)
1300 #define WTIMER_ROUTELOC0_CC3LOC_LOC5 (_WTIMER_ROUTELOC0_CC3LOC_LOC5 << 24)
1301 #define WTIMER_ROUTELOC0_CC3LOC_LOC6 (_WTIMER_ROUTELOC0_CC3LOC_LOC6 << 24)
1302 #define WTIMER_ROUTELOC0_CC3LOC_LOC7 (_WTIMER_ROUTELOC0_CC3LOC_LOC7 << 24)
1303 #define WTIMER_ROUTELOC0_CC3LOC_LOC8 (_WTIMER_ROUTELOC0_CC3LOC_LOC8 << 24)
1304 #define WTIMER_ROUTELOC0_CC3LOC_LOC9 (_WTIMER_ROUTELOC0_CC3LOC_LOC9 << 24)
1305 #define WTIMER_ROUTELOC0_CC3LOC_LOC10 (_WTIMER_ROUTELOC0_CC3LOC_LOC10 << 24)
1306 #define WTIMER_ROUTELOC0_CC3LOC_LOC11 (_WTIMER_ROUTELOC0_CC3LOC_LOC11 << 24)
1307 #define WTIMER_ROUTELOC0_CC3LOC_LOC12 (_WTIMER_ROUTELOC0_CC3LOC_LOC12 << 24)
1308 #define WTIMER_ROUTELOC0_CC3LOC_LOC13 (_WTIMER_ROUTELOC0_CC3LOC_LOC13 << 24)
1309 #define WTIMER_ROUTELOC0_CC3LOC_LOC14 (_WTIMER_ROUTELOC0_CC3LOC_LOC14 << 24)
1310 #define WTIMER_ROUTELOC0_CC3LOC_LOC15 (_WTIMER_ROUTELOC0_CC3LOC_LOC15 << 24)
1311 #define WTIMER_ROUTELOC0_CC3LOC_LOC16 (_WTIMER_ROUTELOC0_CC3LOC_LOC16 << 24)
1312 #define WTIMER_ROUTELOC0_CC3LOC_LOC17 (_WTIMER_ROUTELOC0_CC3LOC_LOC17 << 24)
1313 #define WTIMER_ROUTELOC0_CC3LOC_LOC18 (_WTIMER_ROUTELOC0_CC3LOC_LOC18 << 24)
1314 #define WTIMER_ROUTELOC0_CC3LOC_LOC19 (_WTIMER_ROUTELOC0_CC3LOC_LOC19 << 24)
1315 #define WTIMER_ROUTELOC0_CC3LOC_LOC20 (_WTIMER_ROUTELOC0_CC3LOC_LOC20 << 24)
1316 #define WTIMER_ROUTELOC0_CC3LOC_LOC21 (_WTIMER_ROUTELOC0_CC3LOC_LOC21 << 24)
1317 #define WTIMER_ROUTELOC0_CC3LOC_LOC22 (_WTIMER_ROUTELOC0_CC3LOC_LOC22 << 24)
1318 #define WTIMER_ROUTELOC0_CC3LOC_LOC23 (_WTIMER_ROUTELOC0_CC3LOC_LOC23 << 24)
1319 #define WTIMER_ROUTELOC0_CC3LOC_LOC24 (_WTIMER_ROUTELOC0_CC3LOC_LOC24 << 24)
1320 #define WTIMER_ROUTELOC0_CC3LOC_LOC25 (_WTIMER_ROUTELOC0_CC3LOC_LOC25 << 24)
1321 #define WTIMER_ROUTELOC0_CC3LOC_LOC26 (_WTIMER_ROUTELOC0_CC3LOC_LOC26 << 24)
1322 #define WTIMER_ROUTELOC0_CC3LOC_LOC27 (_WTIMER_ROUTELOC0_CC3LOC_LOC27 << 24)
1323 #define WTIMER_ROUTELOC0_CC3LOC_LOC28 (_WTIMER_ROUTELOC0_CC3LOC_LOC28 << 24)
1324 #define WTIMER_ROUTELOC0_CC3LOC_LOC29 (_WTIMER_ROUTELOC0_CC3LOC_LOC29 << 24)
1325 #define WTIMER_ROUTELOC0_CC3LOC_LOC30 (_WTIMER_ROUTELOC0_CC3LOC_LOC30 << 24)
1326 #define WTIMER_ROUTELOC0_CC3LOC_LOC31 (_WTIMER_ROUTELOC0_CC3LOC_LOC31 << 24)
1328 /* Bit fields for WTIMER ROUTELOC2 */
1329 #define _WTIMER_ROUTELOC2_RESETVALUE 0x00000000UL
1330 #define _WTIMER_ROUTELOC2_MASK 0x001F1F1FUL
1331 #define _WTIMER_ROUTELOC2_CDTI0LOC_SHIFT 0
1332 #define _WTIMER_ROUTELOC2_CDTI0LOC_MASK 0x1FUL
1333 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC0 0x00000000UL
1334 #define _WTIMER_ROUTELOC2_CDTI0LOC_DEFAULT 0x00000000UL
1335 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC1 0x00000001UL
1336 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC2 0x00000002UL
1337 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC3 0x00000003UL
1338 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC4 0x00000004UL
1339 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC5 0x00000005UL
1340 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC6 0x00000006UL
1341 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC7 0x00000007UL
1342 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC8 0x00000008UL
1343 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC9 0x00000009UL
1344 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC10 0x0000000AUL
1345 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC11 0x0000000BUL
1346 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC12 0x0000000CUL
1347 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC13 0x0000000DUL
1348 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC14 0x0000000EUL
1349 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC15 0x0000000FUL
1350 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC16 0x00000010UL
1351 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC17 0x00000011UL
1352 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC18 0x00000012UL
1353 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC19 0x00000013UL
1354 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC20 0x00000014UL
1355 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC21 0x00000015UL
1356 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC22 0x00000016UL
1357 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC23 0x00000017UL
1358 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC24 0x00000018UL
1359 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC25 0x00000019UL
1360 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC26 0x0000001AUL
1361 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC27 0x0000001BUL
1362 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC28 0x0000001CUL
1363 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC29 0x0000001DUL
1364 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC30 0x0000001EUL
1365 #define _WTIMER_ROUTELOC2_CDTI0LOC_LOC31 0x0000001FUL
1366 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC0 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC0 << 0)
1367 #define WTIMER_ROUTELOC2_CDTI0LOC_DEFAULT (_WTIMER_ROUTELOC2_CDTI0LOC_DEFAULT << 0)
1368 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC1 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC1 << 0)
1369 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC2 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC2 << 0)
1370 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC3 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC3 << 0)
1371 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC4 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC4 << 0)
1372 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC5 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC5 << 0)
1373 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC6 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC6 << 0)
1374 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC7 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC7 << 0)
1375 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC8 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC8 << 0)
1376 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC9 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC9 << 0)
1377 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC10 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC10 << 0)
1378 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC11 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC11 << 0)
1379 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC12 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC12 << 0)
1380 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC13 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC13 << 0)
1381 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC14 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC14 << 0)
1382 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC15 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC15 << 0)
1383 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC16 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC16 << 0)
1384 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC17 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC17 << 0)
1385 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC18 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC18 << 0)
1386 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC19 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC19 << 0)
1387 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC20 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC20 << 0)
1388 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC21 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC21 << 0)
1389 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC22 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC22 << 0)
1390 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC23 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC23 << 0)
1391 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC24 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC24 << 0)
1392 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC25 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC25 << 0)
1393 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC26 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC26 << 0)
1394 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC27 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC27 << 0)
1395 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC28 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC28 << 0)
1396 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC29 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC29 << 0)
1397 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC30 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC30 << 0)
1398 #define WTIMER_ROUTELOC2_CDTI0LOC_LOC31 (_WTIMER_ROUTELOC2_CDTI0LOC_LOC31 << 0)
1399 #define _WTIMER_ROUTELOC2_CDTI1LOC_SHIFT 8
1400 #define _WTIMER_ROUTELOC2_CDTI1LOC_MASK 0x1F00UL
1401 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC0 0x00000000UL
1402 #define _WTIMER_ROUTELOC2_CDTI1LOC_DEFAULT 0x00000000UL
1403 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC1 0x00000001UL
1404 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC2 0x00000002UL
1405 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC3 0x00000003UL
1406 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC4 0x00000004UL
1407 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC5 0x00000005UL
1408 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC6 0x00000006UL
1409 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC7 0x00000007UL
1410 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC8 0x00000008UL
1411 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC9 0x00000009UL
1412 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC10 0x0000000AUL
1413 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC11 0x0000000BUL
1414 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC12 0x0000000CUL
1415 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC13 0x0000000DUL
1416 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC14 0x0000000EUL
1417 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC15 0x0000000FUL
1418 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC16 0x00000010UL
1419 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC17 0x00000011UL
1420 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC18 0x00000012UL
1421 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC19 0x00000013UL
1422 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC20 0x00000014UL
1423 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC21 0x00000015UL
1424 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC22 0x00000016UL
1425 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC23 0x00000017UL
1426 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC24 0x00000018UL
1427 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC25 0x00000019UL
1428 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC26 0x0000001AUL
1429 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC27 0x0000001BUL
1430 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC28 0x0000001CUL
1431 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC29 0x0000001DUL
1432 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC30 0x0000001EUL
1433 #define _WTIMER_ROUTELOC2_CDTI1LOC_LOC31 0x0000001FUL
1434 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC0 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC0 << 8)
1435 #define WTIMER_ROUTELOC2_CDTI1LOC_DEFAULT (_WTIMER_ROUTELOC2_CDTI1LOC_DEFAULT << 8)
1436 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC1 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC1 << 8)
1437 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC2 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC2 << 8)
1438 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC3 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC3 << 8)
1439 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC4 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC4 << 8)
1440 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC5 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC5 << 8)
1441 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC6 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC6 << 8)
1442 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC7 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC7 << 8)
1443 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC8 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC8 << 8)
1444 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC9 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC9 << 8)
1445 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC10 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC10 << 8)
1446 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC11 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC11 << 8)
1447 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC12 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC12 << 8)
1448 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC13 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC13 << 8)
1449 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC14 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC14 << 8)
1450 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC15 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC15 << 8)
1451 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC16 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC16 << 8)
1452 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC17 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC17 << 8)
1453 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC18 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC18 << 8)
1454 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC19 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC19 << 8)
1455 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC20 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC20 << 8)
1456 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC21 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC21 << 8)
1457 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC22 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC22 << 8)
1458 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC23 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC23 << 8)
1459 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC24 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC24 << 8)
1460 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC25 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC25 << 8)
1461 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC26 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC26 << 8)
1462 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC27 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC27 << 8)
1463 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC28 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC28 << 8)
1464 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC29 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC29 << 8)
1465 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC30 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC30 << 8)
1466 #define WTIMER_ROUTELOC2_CDTI1LOC_LOC31 (_WTIMER_ROUTELOC2_CDTI1LOC_LOC31 << 8)
1467 #define _WTIMER_ROUTELOC2_CDTI2LOC_SHIFT 16
1468 #define _WTIMER_ROUTELOC2_CDTI2LOC_MASK 0x1F0000UL
1469 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC0 0x00000000UL
1470 #define _WTIMER_ROUTELOC2_CDTI2LOC_DEFAULT 0x00000000UL
1471 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC1 0x00000001UL
1472 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC2 0x00000002UL
1473 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC3 0x00000003UL
1474 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC4 0x00000004UL
1475 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC5 0x00000005UL
1476 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC6 0x00000006UL
1477 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC7 0x00000007UL
1478 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC8 0x00000008UL
1479 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC9 0x00000009UL
1480 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC10 0x0000000AUL
1481 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC11 0x0000000BUL
1482 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC12 0x0000000CUL
1483 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC13 0x0000000DUL
1484 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC14 0x0000000EUL
1485 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC15 0x0000000FUL
1486 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC16 0x00000010UL
1487 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC17 0x00000011UL
1488 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC18 0x00000012UL
1489 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC19 0x00000013UL
1490 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC20 0x00000014UL
1491 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC21 0x00000015UL
1492 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC22 0x00000016UL
1493 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC23 0x00000017UL
1494 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC24 0x00000018UL
1495 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC25 0x00000019UL
1496 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC26 0x0000001AUL
1497 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC27 0x0000001BUL
1498 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC28 0x0000001CUL
1499 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC29 0x0000001DUL
1500 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC30 0x0000001EUL
1501 #define _WTIMER_ROUTELOC2_CDTI2LOC_LOC31 0x0000001FUL
1502 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC0 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC0 << 16)
1503 #define WTIMER_ROUTELOC2_CDTI2LOC_DEFAULT (_WTIMER_ROUTELOC2_CDTI2LOC_DEFAULT << 16)
1504 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC1 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC1 << 16)
1505 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC2 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC2 << 16)
1506 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC3 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC3 << 16)
1507 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC4 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC4 << 16)
1508 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC5 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC5 << 16)
1509 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC6 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC6 << 16)
1510 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC7 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC7 << 16)
1511 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC8 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC8 << 16)
1512 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC9 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC9 << 16)
1513 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC10 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC10 << 16)
1514 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC11 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC11 << 16)
1515 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC12 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC12 << 16)
1516 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC13 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC13 << 16)
1517 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC14 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC14 << 16)
1518 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC15 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC15 << 16)
1519 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC16 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC16 << 16)
1520 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC17 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC17 << 16)
1521 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC18 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC18 << 16)
1522 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC19 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC19 << 16)
1523 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC20 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC20 << 16)
1524 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC21 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC21 << 16)
1525 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC22 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC22 << 16)
1526 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC23 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC23 << 16)
1527 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC24 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC24 << 16)
1528 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC25 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC25 << 16)
1529 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC26 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC26 << 16)
1530 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC27 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC27 << 16)
1531 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC28 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC28 << 16)
1532 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC29 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC29 << 16)
1533 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC30 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC30 << 16)
1534 #define WTIMER_ROUTELOC2_CDTI2LOC_LOC31 (_WTIMER_ROUTELOC2_CDTI2LOC_LOC31 << 16)
1536 /* Bit fields for WTIMER CC_CTRL */
1537 #define _WTIMER_CC_CTRL_RESETVALUE 0x00000000UL
1538 #define _WTIMER_CC_CTRL_MASK 0x7F0F3F17UL
1539 #define _WTIMER_CC_CTRL_MODE_SHIFT 0
1540 #define _WTIMER_CC_CTRL_MODE_MASK 0x3UL
1541 #define _WTIMER_CC_CTRL_MODE_DEFAULT 0x00000000UL
1542 #define _WTIMER_CC_CTRL_MODE_OFF 0x00000000UL
1543 #define _WTIMER_CC_CTRL_MODE_INPUTCAPTURE 0x00000001UL
1544 #define _WTIMER_CC_CTRL_MODE_OUTPUTCOMPARE 0x00000002UL
1545 #define _WTIMER_CC_CTRL_MODE_PWM 0x00000003UL
1546 #define WTIMER_CC_CTRL_MODE_DEFAULT (_WTIMER_CC_CTRL_MODE_DEFAULT << 0)
1547 #define WTIMER_CC_CTRL_MODE_OFF (_WTIMER_CC_CTRL_MODE_OFF << 0)
1548 #define WTIMER_CC_CTRL_MODE_INPUTCAPTURE (_WTIMER_CC_CTRL_MODE_INPUTCAPTURE << 0)
1549 #define WTIMER_CC_CTRL_MODE_OUTPUTCOMPARE (_WTIMER_CC_CTRL_MODE_OUTPUTCOMPARE << 0)
1550 #define WTIMER_CC_CTRL_MODE_PWM (_WTIMER_CC_CTRL_MODE_PWM << 0)
1551 #define WTIMER_CC_CTRL_OUTINV (0x1UL << 2)
1552 #define _WTIMER_CC_CTRL_OUTINV_SHIFT 2
1553 #define _WTIMER_CC_CTRL_OUTINV_MASK 0x4UL
1554 #define _WTIMER_CC_CTRL_OUTINV_DEFAULT 0x00000000UL
1555 #define WTIMER_CC_CTRL_OUTINV_DEFAULT (_WTIMER_CC_CTRL_OUTINV_DEFAULT << 2)
1556 #define WTIMER_CC_CTRL_COIST (0x1UL << 4)
1557 #define _WTIMER_CC_CTRL_COIST_SHIFT 4
1558 #define _WTIMER_CC_CTRL_COIST_MASK 0x10UL
1559 #define _WTIMER_CC_CTRL_COIST_DEFAULT 0x00000000UL
1560 #define WTIMER_CC_CTRL_COIST_DEFAULT (_WTIMER_CC_CTRL_COIST_DEFAULT << 4)
1561 #define _WTIMER_CC_CTRL_CMOA_SHIFT 8
1562 #define _WTIMER_CC_CTRL_CMOA_MASK 0x300UL
1563 #define _WTIMER_CC_CTRL_CMOA_DEFAULT 0x00000000UL
1564 #define _WTIMER_CC_CTRL_CMOA_NONE 0x00000000UL
1565 #define _WTIMER_CC_CTRL_CMOA_TOGGLE 0x00000001UL
1566 #define _WTIMER_CC_CTRL_CMOA_CLEAR 0x00000002UL
1567 #define _WTIMER_CC_CTRL_CMOA_SET 0x00000003UL
1568 #define WTIMER_CC_CTRL_CMOA_DEFAULT (_WTIMER_CC_CTRL_CMOA_DEFAULT << 8)
1569 #define WTIMER_CC_CTRL_CMOA_NONE (_WTIMER_CC_CTRL_CMOA_NONE << 8)
1570 #define WTIMER_CC_CTRL_CMOA_TOGGLE (_WTIMER_CC_CTRL_CMOA_TOGGLE << 8)
1571 #define WTIMER_CC_CTRL_CMOA_CLEAR (_WTIMER_CC_CTRL_CMOA_CLEAR << 8)
1572 #define WTIMER_CC_CTRL_CMOA_SET (_WTIMER_CC_CTRL_CMOA_SET << 8)
1573 #define _WTIMER_CC_CTRL_COFOA_SHIFT 10
1574 #define _WTIMER_CC_CTRL_COFOA_MASK 0xC00UL
1575 #define _WTIMER_CC_CTRL_COFOA_DEFAULT 0x00000000UL
1576 #define _WTIMER_CC_CTRL_COFOA_NONE 0x00000000UL
1577 #define _WTIMER_CC_CTRL_COFOA_TOGGLE 0x00000001UL
1578 #define _WTIMER_CC_CTRL_COFOA_CLEAR 0x00000002UL
1579 #define _WTIMER_CC_CTRL_COFOA_SET 0x00000003UL
1580 #define WTIMER_CC_CTRL_COFOA_DEFAULT (_WTIMER_CC_CTRL_COFOA_DEFAULT << 10)
1581 #define WTIMER_CC_CTRL_COFOA_NONE (_WTIMER_CC_CTRL_COFOA_NONE << 10)
1582 #define WTIMER_CC_CTRL_COFOA_TOGGLE (_WTIMER_CC_CTRL_COFOA_TOGGLE << 10)
1583 #define WTIMER_CC_CTRL_COFOA_CLEAR (_WTIMER_CC_CTRL_COFOA_CLEAR << 10)
1584 #define WTIMER_CC_CTRL_COFOA_SET (_WTIMER_CC_CTRL_COFOA_SET << 10)
1585 #define _WTIMER_CC_CTRL_CUFOA_SHIFT 12
1586 #define _WTIMER_CC_CTRL_CUFOA_MASK 0x3000UL
1587 #define _WTIMER_CC_CTRL_CUFOA_DEFAULT 0x00000000UL
1588 #define _WTIMER_CC_CTRL_CUFOA_NONE 0x00000000UL
1589 #define _WTIMER_CC_CTRL_CUFOA_TOGGLE 0x00000001UL
1590 #define _WTIMER_CC_CTRL_CUFOA_CLEAR 0x00000002UL
1591 #define _WTIMER_CC_CTRL_CUFOA_SET 0x00000003UL
1592 #define WTIMER_CC_CTRL_CUFOA_DEFAULT (_WTIMER_CC_CTRL_CUFOA_DEFAULT << 12)
1593 #define WTIMER_CC_CTRL_CUFOA_NONE (_WTIMER_CC_CTRL_CUFOA_NONE << 12)
1594 #define WTIMER_CC_CTRL_CUFOA_TOGGLE (_WTIMER_CC_CTRL_CUFOA_TOGGLE << 12)
1595 #define WTIMER_CC_CTRL_CUFOA_CLEAR (_WTIMER_CC_CTRL_CUFOA_CLEAR << 12)
1596 #define WTIMER_CC_CTRL_CUFOA_SET (_WTIMER_CC_CTRL_CUFOA_SET << 12)
1597 #define _WTIMER_CC_CTRL_PRSSEL_SHIFT 16
1598 #define _WTIMER_CC_CTRL_PRSSEL_MASK 0xF0000UL
1599 #define _WTIMER_CC_CTRL_PRSSEL_DEFAULT 0x00000000UL
1600 #define _WTIMER_CC_CTRL_PRSSEL_PRSCH0 0x00000000UL
1601 #define _WTIMER_CC_CTRL_PRSSEL_PRSCH1 0x00000001UL
1602 #define _WTIMER_CC_CTRL_PRSSEL_PRSCH2 0x00000002UL
1603 #define _WTIMER_CC_CTRL_PRSSEL_PRSCH3 0x00000003UL
1604 #define _WTIMER_CC_CTRL_PRSSEL_PRSCH4 0x00000004UL
1605 #define _WTIMER_CC_CTRL_PRSSEL_PRSCH5 0x00000005UL
1606 #define _WTIMER_CC_CTRL_PRSSEL_PRSCH6 0x00000006UL
1607 #define _WTIMER_CC_CTRL_PRSSEL_PRSCH7 0x00000007UL
1608 #define _WTIMER_CC_CTRL_PRSSEL_PRSCH8 0x00000008UL
1609 #define _WTIMER_CC_CTRL_PRSSEL_PRSCH9 0x00000009UL
1610 #define _WTIMER_CC_CTRL_PRSSEL_PRSCH10 0x0000000AUL
1611 #define _WTIMER_CC_CTRL_PRSSEL_PRSCH11 0x0000000BUL
1612 #define WTIMER_CC_CTRL_PRSSEL_DEFAULT (_WTIMER_CC_CTRL_PRSSEL_DEFAULT << 16)
1613 #define WTIMER_CC_CTRL_PRSSEL_PRSCH0 (_WTIMER_CC_CTRL_PRSSEL_PRSCH0 << 16)
1614 #define WTIMER_CC_CTRL_PRSSEL_PRSCH1 (_WTIMER_CC_CTRL_PRSSEL_PRSCH1 << 16)
1615 #define WTIMER_CC_CTRL_PRSSEL_PRSCH2 (_WTIMER_CC_CTRL_PRSSEL_PRSCH2 << 16)
1616 #define WTIMER_CC_CTRL_PRSSEL_PRSCH3 (_WTIMER_CC_CTRL_PRSSEL_PRSCH3 << 16)
1617 #define WTIMER_CC_CTRL_PRSSEL_PRSCH4 (_WTIMER_CC_CTRL_PRSSEL_PRSCH4 << 16)
1618 #define WTIMER_CC_CTRL_PRSSEL_PRSCH5 (_WTIMER_CC_CTRL_PRSSEL_PRSCH5 << 16)
1619 #define WTIMER_CC_CTRL_PRSSEL_PRSCH6 (_WTIMER_CC_CTRL_PRSSEL_PRSCH6 << 16)
1620 #define WTIMER_CC_CTRL_PRSSEL_PRSCH7 (_WTIMER_CC_CTRL_PRSSEL_PRSCH7 << 16)
1621 #define WTIMER_CC_CTRL_PRSSEL_PRSCH8 (_WTIMER_CC_CTRL_PRSSEL_PRSCH8 << 16)
1622 #define WTIMER_CC_CTRL_PRSSEL_PRSCH9 (_WTIMER_CC_CTRL_PRSSEL_PRSCH9 << 16)
1623 #define WTIMER_CC_CTRL_PRSSEL_PRSCH10 (_WTIMER_CC_CTRL_PRSSEL_PRSCH10 << 16)
1624 #define WTIMER_CC_CTRL_PRSSEL_PRSCH11 (_WTIMER_CC_CTRL_PRSSEL_PRSCH11 << 16)
1625 #define _WTIMER_CC_CTRL_ICEDGE_SHIFT 24
1626 #define _WTIMER_CC_CTRL_ICEDGE_MASK 0x3000000UL
1627 #define _WTIMER_CC_CTRL_ICEDGE_DEFAULT 0x00000000UL
1628 #define _WTIMER_CC_CTRL_ICEDGE_RISING 0x00000000UL
1629 #define _WTIMER_CC_CTRL_ICEDGE_FALLING 0x00000001UL
1630 #define _WTIMER_CC_CTRL_ICEDGE_BOTH 0x00000002UL
1631 #define _WTIMER_CC_CTRL_ICEDGE_NONE 0x00000003UL
1632 #define WTIMER_CC_CTRL_ICEDGE_DEFAULT (_WTIMER_CC_CTRL_ICEDGE_DEFAULT << 24)
1633 #define WTIMER_CC_CTRL_ICEDGE_RISING (_WTIMER_CC_CTRL_ICEDGE_RISING << 24)
1634 #define WTIMER_CC_CTRL_ICEDGE_FALLING (_WTIMER_CC_CTRL_ICEDGE_FALLING << 24)
1635 #define WTIMER_CC_CTRL_ICEDGE_BOTH (_WTIMER_CC_CTRL_ICEDGE_BOTH << 24)
1636 #define WTIMER_CC_CTRL_ICEDGE_NONE (_WTIMER_CC_CTRL_ICEDGE_NONE << 24)
1637 #define _WTIMER_CC_CTRL_ICEVCTRL_SHIFT 26
1638 #define _WTIMER_CC_CTRL_ICEVCTRL_MASK 0xC000000UL
1639 #define _WTIMER_CC_CTRL_ICEVCTRL_DEFAULT 0x00000000UL
1640 #define _WTIMER_CC_CTRL_ICEVCTRL_EVERYEDGE 0x00000000UL
1641 #define _WTIMER_CC_CTRL_ICEVCTRL_EVERYSECONDEDGE 0x00000001UL
1642 #define _WTIMER_CC_CTRL_ICEVCTRL_RISING 0x00000002UL
1643 #define _WTIMER_CC_CTRL_ICEVCTRL_FALLING 0x00000003UL
1644 #define WTIMER_CC_CTRL_ICEVCTRL_DEFAULT (_WTIMER_CC_CTRL_ICEVCTRL_DEFAULT << 26)
1645 #define WTIMER_CC_CTRL_ICEVCTRL_EVERYEDGE (_WTIMER_CC_CTRL_ICEVCTRL_EVERYEDGE << 26)
1646 #define WTIMER_CC_CTRL_ICEVCTRL_EVERYSECONDEDGE (_WTIMER_CC_CTRL_ICEVCTRL_EVERYSECONDEDGE << 26)
1647 #define WTIMER_CC_CTRL_ICEVCTRL_RISING (_WTIMER_CC_CTRL_ICEVCTRL_RISING << 26)
1648 #define WTIMER_CC_CTRL_ICEVCTRL_FALLING (_WTIMER_CC_CTRL_ICEVCTRL_FALLING << 26)
1649 #define WTIMER_CC_CTRL_PRSCONF (0x1UL << 28)
1650 #define _WTIMER_CC_CTRL_PRSCONF_SHIFT 28
1651 #define _WTIMER_CC_CTRL_PRSCONF_MASK 0x10000000UL
1652 #define _WTIMER_CC_CTRL_PRSCONF_DEFAULT 0x00000000UL
1653 #define _WTIMER_CC_CTRL_PRSCONF_PULSE 0x00000000UL
1654 #define _WTIMER_CC_CTRL_PRSCONF_LEVEL 0x00000001UL
1655 #define WTIMER_CC_CTRL_PRSCONF_DEFAULT (_WTIMER_CC_CTRL_PRSCONF_DEFAULT << 28)
1656 #define WTIMER_CC_CTRL_PRSCONF_PULSE (_WTIMER_CC_CTRL_PRSCONF_PULSE << 28)
1657 #define WTIMER_CC_CTRL_PRSCONF_LEVEL (_WTIMER_CC_CTRL_PRSCONF_LEVEL << 28)
1658 #define WTIMER_CC_CTRL_INSEL (0x1UL << 29)
1659 #define _WTIMER_CC_CTRL_INSEL_SHIFT 29
1660 #define _WTIMER_CC_CTRL_INSEL_MASK 0x20000000UL
1661 #define _WTIMER_CC_CTRL_INSEL_DEFAULT 0x00000000UL
1662 #define _WTIMER_CC_CTRL_INSEL_PIN 0x00000000UL
1663 #define _WTIMER_CC_CTRL_INSEL_PRS 0x00000001UL
1664 #define WTIMER_CC_CTRL_INSEL_DEFAULT (_WTIMER_CC_CTRL_INSEL_DEFAULT << 29)
1665 #define WTIMER_CC_CTRL_INSEL_PIN (_WTIMER_CC_CTRL_INSEL_PIN << 29)
1666 #define WTIMER_CC_CTRL_INSEL_PRS (_WTIMER_CC_CTRL_INSEL_PRS << 29)
1667 #define WTIMER_CC_CTRL_FILT (0x1UL << 30)
1668 #define _WTIMER_CC_CTRL_FILT_SHIFT 30
1669 #define _WTIMER_CC_CTRL_FILT_MASK 0x40000000UL
1670 #define _WTIMER_CC_CTRL_FILT_DEFAULT 0x00000000UL
1671 #define _WTIMER_CC_CTRL_FILT_DISABLE 0x00000000UL
1672 #define _WTIMER_CC_CTRL_FILT_ENABLE 0x00000001UL
1673 #define WTIMER_CC_CTRL_FILT_DEFAULT (_WTIMER_CC_CTRL_FILT_DEFAULT << 30)
1674 #define WTIMER_CC_CTRL_FILT_DISABLE (_WTIMER_CC_CTRL_FILT_DISABLE << 30)
1675 #define WTIMER_CC_CTRL_FILT_ENABLE (_WTIMER_CC_CTRL_FILT_ENABLE << 30)
1677 /* Bit fields for WTIMER CC_CCV */
1678 #define _WTIMER_CC_CCV_RESETVALUE 0x00000000UL
1679 #define _WTIMER_CC_CCV_MASK 0xFFFFFFFFUL
1680 #define _WTIMER_CC_CCV_CCV_SHIFT 0
1681 #define _WTIMER_CC_CCV_CCV_MASK 0xFFFFFFFFUL
1682 #define _WTIMER_CC_CCV_CCV_DEFAULT 0x00000000UL
1683 #define WTIMER_CC_CCV_CCV_DEFAULT (_WTIMER_CC_CCV_CCV_DEFAULT << 0)
1685 /* Bit fields for WTIMER CC_CCVP */
1686 #define _WTIMER_CC_CCVP_RESETVALUE 0x00000000UL
1687 #define _WTIMER_CC_CCVP_MASK 0xFFFFFFFFUL
1688 #define _WTIMER_CC_CCVP_CCVP_SHIFT 0
1689 #define _WTIMER_CC_CCVP_CCVP_MASK 0xFFFFFFFFUL
1690 #define _WTIMER_CC_CCVP_CCVP_DEFAULT 0x00000000UL
1691 #define WTIMER_CC_CCVP_CCVP_DEFAULT (_WTIMER_CC_CCVP_CCVP_DEFAULT << 0)
1693 /* Bit fields for WTIMER CC_CCVB */
1694 #define _WTIMER_CC_CCVB_RESETVALUE 0x00000000UL
1695 #define _WTIMER_CC_CCVB_MASK 0xFFFFFFFFUL
1696 #define _WTIMER_CC_CCVB_CCVB_SHIFT 0
1697 #define _WTIMER_CC_CCVB_CCVB_MASK 0xFFFFFFFFUL
1698 #define _WTIMER_CC_CCVB_CCVB_DEFAULT 0x00000000UL
1699 #define WTIMER_CC_CCVB_CCVB_DEFAULT (_WTIMER_CC_CCVB_CCVB_DEFAULT << 0)
1701 /* Bit fields for WTIMER DTCTRL */
1702 #define _WTIMER_DTCTRL_RESETVALUE 0x00000000UL
1703 #define _WTIMER_DTCTRL_MASK 0x010006FFUL
1704 #define WTIMER_DTCTRL_DTEN (0x1UL << 0)
1705 #define _WTIMER_DTCTRL_DTEN_SHIFT 0
1706 #define _WTIMER_DTCTRL_DTEN_MASK 0x1UL
1707 #define _WTIMER_DTCTRL_DTEN_DEFAULT 0x00000000UL
1708 #define WTIMER_DTCTRL_DTEN_DEFAULT (_WTIMER_DTCTRL_DTEN_DEFAULT << 0)
1709 #define WTIMER_DTCTRL_DTDAS (0x1UL << 1)
1710 #define _WTIMER_DTCTRL_DTDAS_SHIFT 1
1711 #define _WTIMER_DTCTRL_DTDAS_MASK 0x2UL
1712 #define _WTIMER_DTCTRL_DTDAS_DEFAULT 0x00000000UL
1713 #define _WTIMER_DTCTRL_DTDAS_NORESTART 0x00000000UL
1714 #define _WTIMER_DTCTRL_DTDAS_RESTART 0x00000001UL
1715 #define WTIMER_DTCTRL_DTDAS_DEFAULT (_WTIMER_DTCTRL_DTDAS_DEFAULT << 1)
1716 #define WTIMER_DTCTRL_DTDAS_NORESTART (_WTIMER_DTCTRL_DTDAS_NORESTART << 1)
1717 #define WTIMER_DTCTRL_DTDAS_RESTART (_WTIMER_DTCTRL_DTDAS_RESTART << 1)
1718 #define WTIMER_DTCTRL_DTIPOL (0x1UL << 2)
1719 #define _WTIMER_DTCTRL_DTIPOL_SHIFT 2
1720 #define _WTIMER_DTCTRL_DTIPOL_MASK 0x4UL
1721 #define _WTIMER_DTCTRL_DTIPOL_DEFAULT 0x00000000UL
1722 #define WTIMER_DTCTRL_DTIPOL_DEFAULT (_WTIMER_DTCTRL_DTIPOL_DEFAULT << 2)
1723 #define WTIMER_DTCTRL_DTCINV (0x1UL << 3)
1724 #define _WTIMER_DTCTRL_DTCINV_SHIFT 3
1725 #define _WTIMER_DTCTRL_DTCINV_MASK 0x8UL
1726 #define _WTIMER_DTCTRL_DTCINV_DEFAULT 0x00000000UL
1727 #define WTIMER_DTCTRL_DTCINV_DEFAULT (_WTIMER_DTCTRL_DTCINV_DEFAULT << 3)
1728 #define _WTIMER_DTCTRL_DTPRSSEL_SHIFT 4
1729 #define _WTIMER_DTCTRL_DTPRSSEL_MASK 0xF0UL
1730 #define _WTIMER_DTCTRL_DTPRSSEL_DEFAULT 0x00000000UL
1731 #define _WTIMER_DTCTRL_DTPRSSEL_PRSCH0 0x00000000UL
1732 #define _WTIMER_DTCTRL_DTPRSSEL_PRSCH1 0x00000001UL
1733 #define _WTIMER_DTCTRL_DTPRSSEL_PRSCH2 0x00000002UL
1734 #define _WTIMER_DTCTRL_DTPRSSEL_PRSCH3 0x00000003UL
1735 #define _WTIMER_DTCTRL_DTPRSSEL_PRSCH4 0x00000004UL
1736 #define _WTIMER_DTCTRL_DTPRSSEL_PRSCH5 0x00000005UL
1737 #define _WTIMER_DTCTRL_DTPRSSEL_PRSCH6 0x00000006UL
1738 #define _WTIMER_DTCTRL_DTPRSSEL_PRSCH7 0x00000007UL
1739 #define _WTIMER_DTCTRL_DTPRSSEL_PRSCH8 0x00000008UL
1740 #define _WTIMER_DTCTRL_DTPRSSEL_PRSCH9 0x00000009UL
1741 #define _WTIMER_DTCTRL_DTPRSSEL_PRSCH10 0x0000000AUL
1742 #define _WTIMER_DTCTRL_DTPRSSEL_PRSCH11 0x0000000BUL
1743 #define WTIMER_DTCTRL_DTPRSSEL_DEFAULT (_WTIMER_DTCTRL_DTPRSSEL_DEFAULT << 4)
1744 #define WTIMER_DTCTRL_DTPRSSEL_PRSCH0 (_WTIMER_DTCTRL_DTPRSSEL_PRSCH0 << 4)
1745 #define WTIMER_DTCTRL_DTPRSSEL_PRSCH1 (_WTIMER_DTCTRL_DTPRSSEL_PRSCH1 << 4)
1746 #define WTIMER_DTCTRL_DTPRSSEL_PRSCH2 (_WTIMER_DTCTRL_DTPRSSEL_PRSCH2 << 4)
1747 #define WTIMER_DTCTRL_DTPRSSEL_PRSCH3 (_WTIMER_DTCTRL_DTPRSSEL_PRSCH3 << 4)
1748 #define WTIMER_DTCTRL_DTPRSSEL_PRSCH4 (_WTIMER_DTCTRL_DTPRSSEL_PRSCH4 << 4)
1749 #define WTIMER_DTCTRL_DTPRSSEL_PRSCH5 (_WTIMER_DTCTRL_DTPRSSEL_PRSCH5 << 4)
1750 #define WTIMER_DTCTRL_DTPRSSEL_PRSCH6 (_WTIMER_DTCTRL_DTPRSSEL_PRSCH6 << 4)
1751 #define WTIMER_DTCTRL_DTPRSSEL_PRSCH7 (_WTIMER_DTCTRL_DTPRSSEL_PRSCH7 << 4)
1752 #define WTIMER_DTCTRL_DTPRSSEL_PRSCH8 (_WTIMER_DTCTRL_DTPRSSEL_PRSCH8 << 4)
1753 #define WTIMER_DTCTRL_DTPRSSEL_PRSCH9 (_WTIMER_DTCTRL_DTPRSSEL_PRSCH9 << 4)
1754 #define WTIMER_DTCTRL_DTPRSSEL_PRSCH10 (_WTIMER_DTCTRL_DTPRSSEL_PRSCH10 << 4)
1755 #define WTIMER_DTCTRL_DTPRSSEL_PRSCH11 (_WTIMER_DTCTRL_DTPRSSEL_PRSCH11 << 4)
1756 #define WTIMER_DTCTRL_DTAR (0x1UL << 9)
1757 #define _WTIMER_DTCTRL_DTAR_SHIFT 9
1758 #define _WTIMER_DTCTRL_DTAR_MASK 0x200UL
1759 #define _WTIMER_DTCTRL_DTAR_DEFAULT 0x00000000UL
1760 #define WTIMER_DTCTRL_DTAR_DEFAULT (_WTIMER_DTCTRL_DTAR_DEFAULT << 9)
1761 #define WTIMER_DTCTRL_DTFATS (0x1UL << 10)
1762 #define _WTIMER_DTCTRL_DTFATS_SHIFT 10
1763 #define _WTIMER_DTCTRL_DTFATS_MASK 0x400UL
1764 #define _WTIMER_DTCTRL_DTFATS_DEFAULT 0x00000000UL
1765 #define WTIMER_DTCTRL_DTFATS_DEFAULT (_WTIMER_DTCTRL_DTFATS_DEFAULT << 10)
1766 #define WTIMER_DTCTRL_DTPRSEN (0x1UL << 24)
1767 #define _WTIMER_DTCTRL_DTPRSEN_SHIFT 24
1768 #define _WTIMER_DTCTRL_DTPRSEN_MASK 0x1000000UL
1769 #define _WTIMER_DTCTRL_DTPRSEN_DEFAULT 0x00000000UL
1770 #define WTIMER_DTCTRL_DTPRSEN_DEFAULT (_WTIMER_DTCTRL_DTPRSEN_DEFAULT << 24)
1772 /* Bit fields for WTIMER DTTIME */
1773 #define _WTIMER_DTTIME_RESETVALUE 0x00000000UL
1774 #define _WTIMER_DTTIME_MASK 0x003F3F0FUL
1775 #define _WTIMER_DTTIME_DTPRESC_SHIFT 0
1776 #define _WTIMER_DTTIME_DTPRESC_MASK 0xFUL
1777 #define _WTIMER_DTTIME_DTPRESC_DEFAULT 0x00000000UL
1778 #define _WTIMER_DTTIME_DTPRESC_DIV1 0x00000000UL
1779 #define _WTIMER_DTTIME_DTPRESC_DIV2 0x00000001UL
1780 #define _WTIMER_DTTIME_DTPRESC_DIV4 0x00000002UL
1781 #define _WTIMER_DTTIME_DTPRESC_DIV8 0x00000003UL
1782 #define _WTIMER_DTTIME_DTPRESC_DIV16 0x00000004UL
1783 #define _WTIMER_DTTIME_DTPRESC_DIV32 0x00000005UL
1784 #define _WTIMER_DTTIME_DTPRESC_DIV64 0x00000006UL
1785 #define _WTIMER_DTTIME_DTPRESC_DIV128 0x00000007UL
1786 #define _WTIMER_DTTIME_DTPRESC_DIV256 0x00000008UL
1787 #define _WTIMER_DTTIME_DTPRESC_DIV512 0x00000009UL
1788 #define _WTIMER_DTTIME_DTPRESC_DIV1024 0x0000000AUL
1789 #define WTIMER_DTTIME_DTPRESC_DEFAULT (_WTIMER_DTTIME_DTPRESC_DEFAULT << 0)
1790 #define WTIMER_DTTIME_DTPRESC_DIV1 (_WTIMER_DTTIME_DTPRESC_DIV1 << 0)
1791 #define WTIMER_DTTIME_DTPRESC_DIV2 (_WTIMER_DTTIME_DTPRESC_DIV2 << 0)
1792 #define WTIMER_DTTIME_DTPRESC_DIV4 (_WTIMER_DTTIME_DTPRESC_DIV4 << 0)
1793 #define WTIMER_DTTIME_DTPRESC_DIV8 (_WTIMER_DTTIME_DTPRESC_DIV8 << 0)
1794 #define WTIMER_DTTIME_DTPRESC_DIV16 (_WTIMER_DTTIME_DTPRESC_DIV16 << 0)
1795 #define WTIMER_DTTIME_DTPRESC_DIV32 (_WTIMER_DTTIME_DTPRESC_DIV32 << 0)
1796 #define WTIMER_DTTIME_DTPRESC_DIV64 (_WTIMER_DTTIME_DTPRESC_DIV64 << 0)
1797 #define WTIMER_DTTIME_DTPRESC_DIV128 (_WTIMER_DTTIME_DTPRESC_DIV128 << 0)
1798 #define WTIMER_DTTIME_DTPRESC_DIV256 (_WTIMER_DTTIME_DTPRESC_DIV256 << 0)
1799 #define WTIMER_DTTIME_DTPRESC_DIV512 (_WTIMER_DTTIME_DTPRESC_DIV512 << 0)
1800 #define WTIMER_DTTIME_DTPRESC_DIV1024 (_WTIMER_DTTIME_DTPRESC_DIV1024 << 0)
1801 #define _WTIMER_DTTIME_DTRISET_SHIFT 8
1802 #define _WTIMER_DTTIME_DTRISET_MASK 0x3F00UL
1803 #define _WTIMER_DTTIME_DTRISET_DEFAULT 0x00000000UL
1804 #define WTIMER_DTTIME_DTRISET_DEFAULT (_WTIMER_DTTIME_DTRISET_DEFAULT << 8)
1805 #define _WTIMER_DTTIME_DTFALLT_SHIFT 16
1806 #define _WTIMER_DTTIME_DTFALLT_MASK 0x3F0000UL
1807 #define _WTIMER_DTTIME_DTFALLT_DEFAULT 0x00000000UL
1808 #define WTIMER_DTTIME_DTFALLT_DEFAULT (_WTIMER_DTTIME_DTFALLT_DEFAULT << 16)
1810 /* Bit fields for WTIMER DTFC */
1811 #define _WTIMER_DTFC_RESETVALUE 0x00000000UL
1812 #define _WTIMER_DTFC_MASK 0x0F030F0FUL
1813 #define _WTIMER_DTFC_DTPRS0FSEL_SHIFT 0
1814 #define _WTIMER_DTFC_DTPRS0FSEL_MASK 0xFUL
1815 #define _WTIMER_DTFC_DTPRS0FSEL_DEFAULT 0x00000000UL
1816 #define _WTIMER_DTFC_DTPRS0FSEL_PRSCH0 0x00000000UL
1817 #define _WTIMER_DTFC_DTPRS0FSEL_PRSCH1 0x00000001UL
1818 #define _WTIMER_DTFC_DTPRS0FSEL_PRSCH2 0x00000002UL
1819 #define _WTIMER_DTFC_DTPRS0FSEL_PRSCH3 0x00000003UL
1820 #define _WTIMER_DTFC_DTPRS0FSEL_PRSCH4 0x00000004UL
1821 #define _WTIMER_DTFC_DTPRS0FSEL_PRSCH5 0x00000005UL
1822 #define _WTIMER_DTFC_DTPRS0FSEL_PRSCH6 0x00000006UL
1823 #define _WTIMER_DTFC_DTPRS0FSEL_PRSCH7 0x00000007UL
1824 #define _WTIMER_DTFC_DTPRS0FSEL_PRSCH8 0x00000008UL
1825 #define _WTIMER_DTFC_DTPRS0FSEL_PRSCH9 0x00000009UL
1826 #define _WTIMER_DTFC_DTPRS0FSEL_PRSCH10 0x0000000AUL
1827 #define _WTIMER_DTFC_DTPRS0FSEL_PRSCH11 0x0000000BUL
1828 #define WTIMER_DTFC_DTPRS0FSEL_DEFAULT (_WTIMER_DTFC_DTPRS0FSEL_DEFAULT << 0)
1829 #define WTIMER_DTFC_DTPRS0FSEL_PRSCH0 (_WTIMER_DTFC_DTPRS0FSEL_PRSCH0 << 0)
1830 #define WTIMER_DTFC_DTPRS0FSEL_PRSCH1 (_WTIMER_DTFC_DTPRS0FSEL_PRSCH1 << 0)
1831 #define WTIMER_DTFC_DTPRS0FSEL_PRSCH2 (_WTIMER_DTFC_DTPRS0FSEL_PRSCH2 << 0)
1832 #define WTIMER_DTFC_DTPRS0FSEL_PRSCH3 (_WTIMER_DTFC_DTPRS0FSEL_PRSCH3 << 0)
1833 #define WTIMER_DTFC_DTPRS0FSEL_PRSCH4 (_WTIMER_DTFC_DTPRS0FSEL_PRSCH4 << 0)
1834 #define WTIMER_DTFC_DTPRS0FSEL_PRSCH5 (_WTIMER_DTFC_DTPRS0FSEL_PRSCH5 << 0)
1835 #define WTIMER_DTFC_DTPRS0FSEL_PRSCH6 (_WTIMER_DTFC_DTPRS0FSEL_PRSCH6 << 0)
1836 #define WTIMER_DTFC_DTPRS0FSEL_PRSCH7 (_WTIMER_DTFC_DTPRS0FSEL_PRSCH7 << 0)
1837 #define WTIMER_DTFC_DTPRS0FSEL_PRSCH8 (_WTIMER_DTFC_DTPRS0FSEL_PRSCH8 << 0)
1838 #define WTIMER_DTFC_DTPRS0FSEL_PRSCH9 (_WTIMER_DTFC_DTPRS0FSEL_PRSCH9 << 0)
1839 #define WTIMER_DTFC_DTPRS0FSEL_PRSCH10 (_WTIMER_DTFC_DTPRS0FSEL_PRSCH10 << 0)
1840 #define WTIMER_DTFC_DTPRS0FSEL_PRSCH11 (_WTIMER_DTFC_DTPRS0FSEL_PRSCH11 << 0)
1841 #define _WTIMER_DTFC_DTPRS1FSEL_SHIFT 8
1842 #define _WTIMER_DTFC_DTPRS1FSEL_MASK 0xF00UL
1843 #define _WTIMER_DTFC_DTPRS1FSEL_DEFAULT 0x00000000UL
1844 #define _WTIMER_DTFC_DTPRS1FSEL_PRSCH0 0x00000000UL
1845 #define _WTIMER_DTFC_DTPRS1FSEL_PRSCH1 0x00000001UL
1846 #define _WTIMER_DTFC_DTPRS1FSEL_PRSCH2 0x00000002UL
1847 #define _WTIMER_DTFC_DTPRS1FSEL_PRSCH3 0x00000003UL
1848 #define _WTIMER_DTFC_DTPRS1FSEL_PRSCH4 0x00000004UL
1849 #define _WTIMER_DTFC_DTPRS1FSEL_PRSCH5 0x00000005UL
1850 #define _WTIMER_DTFC_DTPRS1FSEL_PRSCH6 0x00000006UL
1851 #define _WTIMER_DTFC_DTPRS1FSEL_PRSCH7 0x00000007UL
1852 #define _WTIMER_DTFC_DTPRS1FSEL_PRSCH8 0x00000008UL
1853 #define _WTIMER_DTFC_DTPRS1FSEL_PRSCH9 0x00000009UL
1854 #define _WTIMER_DTFC_DTPRS1FSEL_PRSCH10 0x0000000AUL
1855 #define _WTIMER_DTFC_DTPRS1FSEL_PRSCH11 0x0000000BUL
1856 #define WTIMER_DTFC_DTPRS1FSEL_DEFAULT (_WTIMER_DTFC_DTPRS1FSEL_DEFAULT << 8)
1857 #define WTIMER_DTFC_DTPRS1FSEL_PRSCH0 (_WTIMER_DTFC_DTPRS1FSEL_PRSCH0 << 8)
1858 #define WTIMER_DTFC_DTPRS1FSEL_PRSCH1 (_WTIMER_DTFC_DTPRS1FSEL_PRSCH1 << 8)
1859 #define WTIMER_DTFC_DTPRS1FSEL_PRSCH2 (_WTIMER_DTFC_DTPRS1FSEL_PRSCH2 << 8)
1860 #define WTIMER_DTFC_DTPRS1FSEL_PRSCH3 (_WTIMER_DTFC_DTPRS1FSEL_PRSCH3 << 8)
1861 #define WTIMER_DTFC_DTPRS1FSEL_PRSCH4 (_WTIMER_DTFC_DTPRS1FSEL_PRSCH4 << 8)
1862 #define WTIMER_DTFC_DTPRS1FSEL_PRSCH5 (_WTIMER_DTFC_DTPRS1FSEL_PRSCH5 << 8)
1863 #define WTIMER_DTFC_DTPRS1FSEL_PRSCH6 (_WTIMER_DTFC_DTPRS1FSEL_PRSCH6 << 8)
1864 #define WTIMER_DTFC_DTPRS1FSEL_PRSCH7 (_WTIMER_DTFC_DTPRS1FSEL_PRSCH7 << 8)
1865 #define WTIMER_DTFC_DTPRS1FSEL_PRSCH8 (_WTIMER_DTFC_DTPRS1FSEL_PRSCH8 << 8)
1866 #define WTIMER_DTFC_DTPRS1FSEL_PRSCH9 (_WTIMER_DTFC_DTPRS1FSEL_PRSCH9 << 8)
1867 #define WTIMER_DTFC_DTPRS1FSEL_PRSCH10 (_WTIMER_DTFC_DTPRS1FSEL_PRSCH10 << 8)
1868 #define WTIMER_DTFC_DTPRS1FSEL_PRSCH11 (_WTIMER_DTFC_DTPRS1FSEL_PRSCH11 << 8)
1869 #define _WTIMER_DTFC_DTFA_SHIFT 16
1870 #define _WTIMER_DTFC_DTFA_MASK 0x30000UL
1871 #define _WTIMER_DTFC_DTFA_DEFAULT 0x00000000UL
1872 #define _WTIMER_DTFC_DTFA_NONE 0x00000000UL
1873 #define _WTIMER_DTFC_DTFA_INACTIVE 0x00000001UL
1874 #define _WTIMER_DTFC_DTFA_CLEAR 0x00000002UL
1875 #define _WTIMER_DTFC_DTFA_TRISTATE 0x00000003UL
1876 #define WTIMER_DTFC_DTFA_DEFAULT (_WTIMER_DTFC_DTFA_DEFAULT << 16)
1877 #define WTIMER_DTFC_DTFA_NONE (_WTIMER_DTFC_DTFA_NONE << 16)
1878 #define WTIMER_DTFC_DTFA_INACTIVE (_WTIMER_DTFC_DTFA_INACTIVE << 16)
1879 #define WTIMER_DTFC_DTFA_CLEAR (_WTIMER_DTFC_DTFA_CLEAR << 16)
1880 #define WTIMER_DTFC_DTFA_TRISTATE (_WTIMER_DTFC_DTFA_TRISTATE << 16)
1881 #define WTIMER_DTFC_DTPRS0FEN (0x1UL << 24)
1882 #define _WTIMER_DTFC_DTPRS0FEN_SHIFT 24
1883 #define _WTIMER_DTFC_DTPRS0FEN_MASK 0x1000000UL
1884 #define _WTIMER_DTFC_DTPRS0FEN_DEFAULT 0x00000000UL
1885 #define WTIMER_DTFC_DTPRS0FEN_DEFAULT (_WTIMER_DTFC_DTPRS0FEN_DEFAULT << 24)
1886 #define WTIMER_DTFC_DTPRS1FEN (0x1UL << 25)
1887 #define _WTIMER_DTFC_DTPRS1FEN_SHIFT 25
1888 #define _WTIMER_DTFC_DTPRS1FEN_MASK 0x2000000UL
1889 #define _WTIMER_DTFC_DTPRS1FEN_DEFAULT 0x00000000UL
1890 #define WTIMER_DTFC_DTPRS1FEN_DEFAULT (_WTIMER_DTFC_DTPRS1FEN_DEFAULT << 25)
1891 #define WTIMER_DTFC_DTDBGFEN (0x1UL << 26)
1892 #define _WTIMER_DTFC_DTDBGFEN_SHIFT 26
1893 #define _WTIMER_DTFC_DTDBGFEN_MASK 0x4000000UL
1894 #define _WTIMER_DTFC_DTDBGFEN_DEFAULT 0x00000000UL
1895 #define WTIMER_DTFC_DTDBGFEN_DEFAULT (_WTIMER_DTFC_DTDBGFEN_DEFAULT << 26)
1896 #define WTIMER_DTFC_DTLOCKUPFEN (0x1UL << 27)
1897 #define _WTIMER_DTFC_DTLOCKUPFEN_SHIFT 27
1898 #define _WTIMER_DTFC_DTLOCKUPFEN_MASK 0x8000000UL
1899 #define _WTIMER_DTFC_DTLOCKUPFEN_DEFAULT 0x00000000UL
1900 #define WTIMER_DTFC_DTLOCKUPFEN_DEFAULT (_WTIMER_DTFC_DTLOCKUPFEN_DEFAULT << 27)
1902 /* Bit fields for WTIMER DTOGEN */
1903 #define _WTIMER_DTOGEN_RESETVALUE 0x00000000UL
1904 #define _WTIMER_DTOGEN_MASK 0x0000003FUL
1905 #define WTIMER_DTOGEN_DTOGCC0EN (0x1UL << 0)
1906 #define _WTIMER_DTOGEN_DTOGCC0EN_SHIFT 0
1907 #define _WTIMER_DTOGEN_DTOGCC0EN_MASK 0x1UL
1908 #define _WTIMER_DTOGEN_DTOGCC0EN_DEFAULT 0x00000000UL
1909 #define WTIMER_DTOGEN_DTOGCC0EN_DEFAULT (_WTIMER_DTOGEN_DTOGCC0EN_DEFAULT << 0)
1910 #define WTIMER_DTOGEN_DTOGCC1EN (0x1UL << 1)
1911 #define _WTIMER_DTOGEN_DTOGCC1EN_SHIFT 1
1912 #define _WTIMER_DTOGEN_DTOGCC1EN_MASK 0x2UL
1913 #define _WTIMER_DTOGEN_DTOGCC1EN_DEFAULT 0x00000000UL
1914 #define WTIMER_DTOGEN_DTOGCC1EN_DEFAULT (_WTIMER_DTOGEN_DTOGCC1EN_DEFAULT << 1)
1915 #define WTIMER_DTOGEN_DTOGCC2EN (0x1UL << 2)
1916 #define _WTIMER_DTOGEN_DTOGCC2EN_SHIFT 2
1917 #define _WTIMER_DTOGEN_DTOGCC2EN_MASK 0x4UL
1918 #define _WTIMER_DTOGEN_DTOGCC2EN_DEFAULT 0x00000000UL
1919 #define WTIMER_DTOGEN_DTOGCC2EN_DEFAULT (_WTIMER_DTOGEN_DTOGCC2EN_DEFAULT << 2)
1920 #define WTIMER_DTOGEN_DTOGCDTI0EN (0x1UL << 3)
1921 #define _WTIMER_DTOGEN_DTOGCDTI0EN_SHIFT 3
1922 #define _WTIMER_DTOGEN_DTOGCDTI0EN_MASK 0x8UL
1923 #define _WTIMER_DTOGEN_DTOGCDTI0EN_DEFAULT 0x00000000UL
1924 #define WTIMER_DTOGEN_DTOGCDTI0EN_DEFAULT (_WTIMER_DTOGEN_DTOGCDTI0EN_DEFAULT << 3)
1925 #define WTIMER_DTOGEN_DTOGCDTI1EN (0x1UL << 4)
1926 #define _WTIMER_DTOGEN_DTOGCDTI1EN_SHIFT 4
1927 #define _WTIMER_DTOGEN_DTOGCDTI1EN_MASK 0x10UL
1928 #define _WTIMER_DTOGEN_DTOGCDTI1EN_DEFAULT 0x00000000UL
1929 #define WTIMER_DTOGEN_DTOGCDTI1EN_DEFAULT (_WTIMER_DTOGEN_DTOGCDTI1EN_DEFAULT << 4)
1930 #define WTIMER_DTOGEN_DTOGCDTI2EN (0x1UL << 5)
1931 #define _WTIMER_DTOGEN_DTOGCDTI2EN_SHIFT 5
1932 #define _WTIMER_DTOGEN_DTOGCDTI2EN_MASK 0x20UL
1933 #define _WTIMER_DTOGEN_DTOGCDTI2EN_DEFAULT 0x00000000UL
1934 #define WTIMER_DTOGEN_DTOGCDTI2EN_DEFAULT (_WTIMER_DTOGEN_DTOGCDTI2EN_DEFAULT << 5)
1936 /* Bit fields for WTIMER DTFAULT */
1937 #define _WTIMER_DTFAULT_RESETVALUE 0x00000000UL
1938 #define _WTIMER_DTFAULT_MASK 0x0000000FUL
1939 #define WTIMER_DTFAULT_DTPRS0F (0x1UL << 0)
1940 #define _WTIMER_DTFAULT_DTPRS0F_SHIFT 0
1941 #define _WTIMER_DTFAULT_DTPRS0F_MASK 0x1UL
1942 #define _WTIMER_DTFAULT_DTPRS0F_DEFAULT 0x00000000UL
1943 #define WTIMER_DTFAULT_DTPRS0F_DEFAULT (_WTIMER_DTFAULT_DTPRS0F_DEFAULT << 0)
1944 #define WTIMER_DTFAULT_DTPRS1F (0x1UL << 1)
1945 #define _WTIMER_DTFAULT_DTPRS1F_SHIFT 1
1946 #define _WTIMER_DTFAULT_DTPRS1F_MASK 0x2UL
1947 #define _WTIMER_DTFAULT_DTPRS1F_DEFAULT 0x00000000UL
1948 #define WTIMER_DTFAULT_DTPRS1F_DEFAULT (_WTIMER_DTFAULT_DTPRS1F_DEFAULT << 1)
1949 #define WTIMER_DTFAULT_DTDBGF (0x1UL << 2)
1950 #define _WTIMER_DTFAULT_DTDBGF_SHIFT 2
1951 #define _WTIMER_DTFAULT_DTDBGF_MASK 0x4UL
1952 #define _WTIMER_DTFAULT_DTDBGF_DEFAULT 0x00000000UL
1953 #define WTIMER_DTFAULT_DTDBGF_DEFAULT (_WTIMER_DTFAULT_DTDBGF_DEFAULT << 2)
1954 #define WTIMER_DTFAULT_DTLOCKUPF (0x1UL << 3)
1955 #define _WTIMER_DTFAULT_DTLOCKUPF_SHIFT 3
1956 #define _WTIMER_DTFAULT_DTLOCKUPF_MASK 0x8UL
1957 #define _WTIMER_DTFAULT_DTLOCKUPF_DEFAULT 0x00000000UL
1958 #define WTIMER_DTFAULT_DTLOCKUPF_DEFAULT (_WTIMER_DTFAULT_DTLOCKUPF_DEFAULT << 3)
1960 /* Bit fields for WTIMER DTFAULTC */
1961 #define _WTIMER_DTFAULTC_RESETVALUE 0x00000000UL
1962 #define _WTIMER_DTFAULTC_MASK 0x0000000FUL
1963 #define WTIMER_DTFAULTC_DTPRS0FC (0x1UL << 0)
1964 #define _WTIMER_DTFAULTC_DTPRS0FC_SHIFT 0
1965 #define _WTIMER_DTFAULTC_DTPRS0FC_MASK 0x1UL
1966 #define _WTIMER_DTFAULTC_DTPRS0FC_DEFAULT 0x00000000UL
1967 #define WTIMER_DTFAULTC_DTPRS0FC_DEFAULT (_WTIMER_DTFAULTC_DTPRS0FC_DEFAULT << 0)
1968 #define WTIMER_DTFAULTC_DTPRS1FC (0x1UL << 1)
1969 #define _WTIMER_DTFAULTC_DTPRS1FC_SHIFT 1
1970 #define _WTIMER_DTFAULTC_DTPRS1FC_MASK 0x2UL
1971 #define _WTIMER_DTFAULTC_DTPRS1FC_DEFAULT 0x00000000UL
1972 #define WTIMER_DTFAULTC_DTPRS1FC_DEFAULT (_WTIMER_DTFAULTC_DTPRS1FC_DEFAULT << 1)
1973 #define WTIMER_DTFAULTC_DTDBGFC (0x1UL << 2)
1974 #define _WTIMER_DTFAULTC_DTDBGFC_SHIFT 2
1975 #define _WTIMER_DTFAULTC_DTDBGFC_MASK 0x4UL
1976 #define _WTIMER_DTFAULTC_DTDBGFC_DEFAULT 0x00000000UL
1977 #define WTIMER_DTFAULTC_DTDBGFC_DEFAULT (_WTIMER_DTFAULTC_DTDBGFC_DEFAULT << 2)
1978 #define WTIMER_DTFAULTC_TLOCKUPFC (0x1UL << 3)
1979 #define _WTIMER_DTFAULTC_TLOCKUPFC_SHIFT 3
1980 #define _WTIMER_DTFAULTC_TLOCKUPFC_MASK 0x8UL
1981 #define _WTIMER_DTFAULTC_TLOCKUPFC_DEFAULT 0x00000000UL
1982 #define WTIMER_DTFAULTC_TLOCKUPFC_DEFAULT (_WTIMER_DTFAULTC_TLOCKUPFC_DEFAULT << 3)
1984 /* Bit fields for WTIMER DTLOCK */
1985 #define _WTIMER_DTLOCK_RESETVALUE 0x00000000UL
1986 #define _WTIMER_DTLOCK_MASK 0x0000FFFFUL
1987 #define _WTIMER_DTLOCK_LOCKKEY_SHIFT 0
1988 #define _WTIMER_DTLOCK_LOCKKEY_MASK 0xFFFFUL
1989 #define _WTIMER_DTLOCK_LOCKKEY_DEFAULT 0x00000000UL
1990 #define _WTIMER_DTLOCK_LOCKKEY_LOCK 0x00000000UL
1991 #define _WTIMER_DTLOCK_LOCKKEY_UNLOCKED 0x00000000UL
1992 #define _WTIMER_DTLOCK_LOCKKEY_LOCKED 0x00000001UL
1993 #define _WTIMER_DTLOCK_LOCKKEY_UNLOCK 0x0000CE80UL
1994 #define WTIMER_DTLOCK_LOCKKEY_DEFAULT (_WTIMER_DTLOCK_LOCKKEY_DEFAULT << 0)
1995 #define WTIMER_DTLOCK_LOCKKEY_LOCK (_WTIMER_DTLOCK_LOCKKEY_LOCK << 0)
1996 #define WTIMER_DTLOCK_LOCKKEY_UNLOCKED (_WTIMER_DTLOCK_LOCKKEY_UNLOCKED << 0)
1997 #define WTIMER_DTLOCK_LOCKKEY_LOCKED (_WTIMER_DTLOCK_LOCKKEY_LOCKED << 0)
1998 #define WTIMER_DTLOCK_LOCKKEY_UNLOCK (_WTIMER_DTLOCK_LOCKKEY_UNLOCK << 0)
2004 /**************************************************************************/
2013 /**************************************************************************/
2017 #define MSC_UNLOCK_CODE 0x1B71
2018 #define EMU_UNLOCK_CODE 0xADE8
2019 #define RMU_UNLOCK_CODE 0xE084
2020 #define CMU_UNLOCK_CODE 0x580E
2021 #define GPIO_UNLOCK_CODE 0xA534
2022 #define TIMER_UNLOCK_CODE 0xCE80
2023 #define RTCC_UNLOCK_CODE 0xAEE8
2029 /**************************************************************************/
2034 #include "efm32jg12b_af_ports.h"
2035 #include "efm32jg12b_af_pins.h"
2036 
2043 #ifdef __cplusplus
2044 }
2045 #endif
2046 #endif /* EFM32JG12B500F1024GL125_H */
EFM32JG12B_RTCC_RET register and bit field definitions.
EFM32JG12B_LESENSE register and bit field definitions.
EFM32JG12B_ACMP register and bit field definitions.
EFM32JG12B_PRS register and bit field definitions.
EFM32JG12B_DMAREQ register and bit field definitions.
EFM32JG12B_USART register and bit field definitions.
EFM32JG12B_TIMER_CC register and bit field definitions.
EFM32JG12B_CRYPTO register and bit field definitions.
EFM32JG12B_CSEN register and bit field definitions.
EFM32JG12B_RTCC_CC register and bit field definitions.
EFM32JG12B_GPCRC register and bit field definitions.
EFM32JG12B_PRS_CH register and bit field definitions.
EFM32JG12B_TRNG register and bit field definitions.
EFM32JG12B_I2C register and bit field definitions.
EFM32JG12B_GPIO register and bit field definitions.
EFM32JG12B_LESENSE_BUF register and bit field definitions.
EFM32JG12B_LESENSE_ST register and bit field definitions.
EFM32JG12B_RMU register and bit field definitions.
EFM32JG12B_MSC register and bit field definitions.
EFM32JG12B_DEVINFO register and bit field definitions.
EFM32JG12B_LETIMER register and bit field definitions.
EFM32JG12B_CMU register and bit field definitions.
EFM32JG12B_LEUART register and bit field definitions.
EFM32JG12B_RTCC register and bit field definitions.
EFM32JG12B_TIMER register and bit field definitions.
EFM32JG12B_CRYOTIMER register and bit field definitions.
EFM32JG12B_PCNT register and bit field definitions.
EFM32JG12B_EMU register and bit field definitions.
EFM32JG12B_WDOG_PCH register and bit field definitions.
EFM32JG12B_LESENSE_CH register and bit field definitions.
EFM32JG12B_IDAC register and bit field definitions.
EFM32JG12B_ADC register and bit field definitions.
EFM32JG12B_SMU register and bit field definitions.
CMSIS Cortex-M3/M4 System Layer for EFM32 devices.
EFM32JG12B_AF_PINS register and bit field definitions.
EFM32JG12B_ETM register and bit field definitions.
EFM32JG12B_ROMTABLE register and bit field definitions.
EFM32JG12B_GPIO_P register and bit field definitions.
enum IRQn IRQn_Type
EFM32JG12B_WDOG register and bit field definitions.
EFM32JG12B_LDMA_CH register and bit field definitions.
EFM32JG12B_VDAC register and bit field definitions.
EFM32JG12B_LDMA register and bit field definitions.
EFM32JG12B_DMA_DESCRIPTOR register and bit field definitions.
EFM32JG12B_VDAC_OPA register and bit field definitions.