SPRUIL1D May 2019 – December 2024 DRA829J , DRA829J-Q1 , DRA829V , DRA829V-Q1 , TDA4VM , TDA4VM-Q1
Table 12-1597 lists the steps to initialize capture mode.
| 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 |
| Select TIMER[19-0] or MCU_TIMER[9-0] Capture input at device pins TIMER_IO[7-0] for TIMER[19-0] or at pins MCU_TIMER_IO[9-0] for MCU_TIMER[9-0]. | TIMER_TCLR[14] GPO_CFG | 0x1 |
| Select single or second event capture. | TIMER_TCLR[13] CAPT_MODE | 0x- |
| Select transition capture mode. | TIMER_TCLR[9-8] TCM | 0x- |