SPRUJB3 March 2024 AM67 , AM67A , TDA4AEN-Q1 , TDA4VEN-Q1
Table 12-335 lists the steps to initialize capture mode.
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 |
Select TIMER[11-0] or MCU_TIMER[3-0] Capture input at device pins TIMER_IO[11-0] for TIMER[11-0] or at pins MCU_TIMER_IO[3-0] for MCU_TIMER[3-0]. | DMTIMER1MS_TCLR[14] GPO_CFG | 0x1 |
Select single or second event capture. | DMTIMER1MS_TCLR[13] CAPT_MODE | 0x- |
Select transition capture mode. | DMTIMER1MS_TCLR[9-8] TCM | 0x- |