SPRUHZ7K August 2015 – April 2024 AM5706 , AM5708 , AM5716 , AM5718 , AM5718-HIREL
Table 22-12 identifies the main steps for initializing the GP timer module when the module is to be used for the first time.
| Step | Register/Bit Field/Programming Model | Value |
|---|---|---|
| Execute software reset. | TIOCP_CFG[0] SOFTRESET | 0x1 |
| Wait until reset release? | TIOCP_CFG[0] SOFTRESET | 0x0 |
| Configure idle mode. | TIOCP_CFG[3:2] IDLEMODE | 0x- |
| Enable wake-up interrupt events. | IRQWAKEEN[2:0] | 0x- |
| Select posted mode. | TSICR[2] POSTED | 0x- |