SPRUIV7B May 2022 – September 2023 AM620-Q1 , AM623 , AM625 , AM625-Q1 , AM625SIP
Table 12-284 lists the registers used to control and monitor the counter-compare submodule. Table 12-285 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 |
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 |