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