SPRUIU1C July 2020 – February 2024 DRA821U , DRA821U-Q1
Table 12-5536 lists the steps in detecting an event.
Step | Register/Bit Field/Programming Model | Value |
---|---|---|
Wait until event detected? | TIMER_IRQSTATUS[2] TCAR_IT_FLAG | = 0x1 |
Read timer capture value. | TIMER_TCAR1 and/or TIMER_TCAR2 | |
Clear capture interrupt request. | TIMER_IRQSTATUS[2] TCAR_IT_FLAG | 0x1 |