ePWM
C2000 Microcontroller Workshop - Control Peripherals
7 - 17
ePWM Action Qualifier Sub-Module
Registers
(lab file: EPwm.c)
Name
Description
Structure
AQCTLA
AQ Control Output A
EPwmxRegs.AQCTLA.all =
AQCTLB
AQ Control Output B
EPwmxRegs.AQCTLB.all =
AQSFRC
AQ S/W Force
EPwmxRegs.AQSFRC.all =
AQCSFRC
AQ Cont. S/W Force
EPwmxRegs.AQCSFRC.all =
ePWM Action Qualifier Control Register
EPwmxRegs.AQCTLy (y = A or B)
ZRO
CBU
CAD
CAU
PRD
1 - 0
CBD
15 - 12
reserved
3 - 2
5 - 4
7 - 6
9 - 8
11 - 10
00 = do nothing (action disabled)
01 = clear (low)
10 = set (high)
11 = toggle (low
→
high; high
→
low)
Action when
CTR = CMPB
on DOWN Count
Action when
CTR = CMPB
on UP Count
Action when
CTR = CMPA
on DOWN Count
Action when
CTR = CMPA
on UP Count
Action when
CTR = 0
Action when
CTR = PRD
Summary of Contents for C2000 Piccolo LaunchPad
Page 74: ...Interrupts 4 18 C2000 Microcontroller Workshop Reset and Interrupts ...
Page 100: ...Lab 5 System Initialization 5 26 C2000 Microcontroller Workshop System Initialization ...
Page 218: ...Lab 8 IQmath FIR Filter 8 42 C2000 Microcontroller Workshop Numerical Concepts ...
Page 334: ...F28069 controlCARD A 4 C2000 Microcontroller Workshop Appendix A Experimenter s Kit SW2 ...
Page 336: ...F28035 controlCARD A 6 C2000 Microcontroller Workshop Appendix A Experimenter s Kit SW2 SW3 ...