SPRUJC6A December 2024 – July 2025 AM2752-Q1 , AM2754-Q1
Table 12-274 lists the registers used to control and monitor the counter-compare submodule. Table 12-275 lists the key signals associated with the counter-compare submodule.
| Acronym | Register Description | Address Offset | Shadowed |
|---|---|---|---|
| EPWM_CMPCTL | Counter-Compare Control Register. | Eh | No |
| EPWM_CMPA | Counter-Compare A Register | 12h | Yes |
| EPWM_CMPB | Counter-Compare B Register | 14h | Yes |
Figure 12-310 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 |