SPRUIL1D May 2019 – December 2024 DRA829J , DRA829J-Q1 , DRA829V , DRA829V-Q1 , TDA4VM , TDA4VM-Q1
Table 12-430 lists the registers used to control and monitor the counter-compare submodule. Table 12-431 lists the key signals associated with the counter-compare submodule.
| Acronym | Register Description | Address Offset | Shadowed |
|---|---|---|---|
| EPWM_CMPCTL | Counter-Compare Control Register. | Eh | No |
| HRPWM_CMPAHR | HRPWM Counter-Compare A Extension Register (1) | 10h | Yes |
| EPWM_CMPA | Counter-Compare A Register | 12h | Yes |
| EPWM_CMPB | Counter-Compare B Register | 14h | Yes |
Figure 12-398 EPWM Counter-Compare Submodule Signals and Registers| Signal | Description of Event | Register Bitfields Compared |
|---|---|---|
| CMPA_eq | Time-base counter equal to the active counter-compare A value | TBCNT = CMPA |
| CMPB_eq | Time-base counter equal to the active counter-compare B value | TBCNT = CMPB |
| PRD_eq | Time-base counter equal to the active period. Used to load active counter-compare A and B registers from the shadow register | TBCNT = TBPRD |
| CNT_zero | Time-base counter equal to zero. Used to load active counter-compare A and B registers from the shadow register | TBCNT = 0000h |