Table 22-12 identifies the main steps for initializing the GP timer module when the module is to be used for the first time.
Table 22-12 GP Timer Module Global InitializationStep | 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- |