SPRUIE9D May 2017 – May 2024 DRA74P , DRA75P , DRA76P , DRA77P
Table 24-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 |