SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
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- |