SPRUIM2H May 2020 – October 2023 AM2431 , AM2432 , AM2434 , AM6411 , AM6412 , AM6421 , AM6422 , AM6441 , AM6442
Table 12-4727 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 |