SPRUIM2H May 2020 – October 2023 AM2431 , AM2432 , AM2434 , AM6411 , AM6412 , AM6421 , AM6422 , AM6441 , AM6442
Table 12-4723 lists the steps in the timer mode configuration.
| Step | Register/Bit Field/Programming Model | Value |
|---|---|---|
| Select autoreload mode. | TIMER_TCLR[1] AR | 0x- |
| Set prescale timer value. | TIMER_TCLR[4-2] PTV | 0x- |
| Enable prescaler. | TIMER_TCLR[5] PRE | 0x1 |
| Enable overflow interrupt. | TIMER_IRQSTATUS_SET[1] OVF_EN_FLAG | 0x1 |
| Load timer counter value. | TIMER_TCRR | 0x- |
| Load timer load value. | TIMER_TLDR | 0x- |
| Start the timer. | TIMER_TCLR[0] ST | 0x1 |