SPRUJC6A December 2024 – July 2025 AM2752-Q1 , AM2754-Q1
Table 12-319 lists the steps in the timer compare mode configuration.
| Step | Register/Bit Field/Programming Model | Value |
|---|---|---|
| Select autoreload mode. | DMTIMER1MS_TCLR[1] AR | 0x- |
| Set prescale timer value. | DMTIMER1MS_TCLR[4-2] PTV | 0x- |
| Enable prescaler. | DMTIMER1MS_TCLR[5] PRE | 0x1 |
| Enable match interrupt. | DMTIMER1MS_IRQSTATUS_SET[0] MAT_EN_FLAG | 0x1 |
| Load timer counter value. | DMTIMER1MS_TCRR | 0x- |
| Load timer compare value. | DMTIMER1MS_TMAR | 0x- |
| Enable compare mode. | DMTIMER1MS_TCLR[6] CE | 0x1 |
| Start the timer. | DMTIMER1MS_TCLR[0] ST | 0x1 |