SPRUJB3 March 2024 AM67 , AM67A , TDA4AEN-Q1 , TDA4VEN-Q1
Table 12-331 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. | DMTIMER1MS_TIOCP_CFG[0] SOFTRESET | 0x1 |
Wait until reset release? | DMTIMER1MS_TIOCP_CFG[0] SOFTRESET | 0x0 |
Configure idle mode. | DMTIMER1MS_TIOCP_CFG[3-2] IDLEMODE | 0x- |
Enable wake-up interrupt events. | DMTIMER1MS_IRQWAKEEN[2-0] | 0x- |
Select posted mode. | DMTIMER1MS_TSICR[2] POSTED | 0x- |