SPRUIU1D July 2020 – December 2024 DRA821U , DRA821U-Q1
Table 12-5531 identifies the main steps for initializing the timer module when the module is to be used for the first time.
| Step | Register/Bit Field/Programming Model | Value |
|---|---|---|
| Execute software reset. | TIMER_TIOCP_CFG[0] SOFTRESET | 0x1 |
| Wait until reset release? | TIMER_TIOCP_CFG[0] SOFTRESET | 0x0 |
| Configure idle mode. | TIMER_TIOCP_CFG[3-2] IDLEMODE | 0x- |
| Enable wake-up interrupt events. | TIMER_IRQWAKEEN[2-0] | 0x- |
| Select posted mode. | TIMER_TSICR[2] POSTED | 0x- |