SPRUIM2H May 2020 – October 2023 AM2431 , AM2432 , AM2434 , AM6411 , AM6412 , AM6421 , AM6422 , AM6441 , AM6442
Table 12-4722 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- |