SPRUHZ7K August 2015 – April 2024 AM5706 , AM5708 , AM5716 , AM5718 , AM5718-HIREL
Table 22-15 lists the steps in the GP timer capture mode configuration.
| Step | Register/Bit Field/Programming Model | Value |
|---|---|---|
| Initialize capture mode. | See Section 22.2.5.2.3.2. | |
| Enable capture interrupt. | IRQENABLE_SET[2] TCAR_EN_FLAG (2) or IRQSTATUS_SET[2] TCAR_EN_FLAG (1) | 0x1 |
| Start the timer. | TCLR[0] ST | 0x1 |
| Detect event. | See Section 22.2.5.2.3.3. |