SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
Table 22-13 lists the steps in the GP timer mode configuration.
| Step | Register/Bit Field/Programming Model | Value |
|---|---|---|
| Select autoreload mode. | TCLR[1] AR | 0x- |
| Set prescale timer value. | TCLR[4:2] PTV | 0x- |
| Enable prescaler. | TCLR[5] PRE | 0x1 |
| Enable overflow interrupt. | IRQSTATUS_SET[1] OVF_EN_FLAG(1) or IRQENABLE_SET[1] OVF_EN_FLAG(2) | 0x1 |
| Load timer counter value. | TCRR | 0x- |
| Load timer load value. | TLDR | 0x- |
| Start the timer. | TCLR[0] ST | 0x1 |