Registers
753
SPRUH22I – April 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
C28 Enhanced Pulse Width Modulator (ePWM) Module
Figure 7-103. Action Qualifier Control Register (AQCTLR)
15
12
11
10
9
8
Reserved
LDAQBSYNC
LDAQASYNC
R-0
R/W-0
R/W-0
7
6
5
4
3
2
1
0
Reserved
SHDWAQBMO
DE
Reserved
SHDWAQAMO
DE
LDAQBMODE
LDAQAMODE
R-0
R/W-0
R-0
R/W-0
R/W-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 7-53. Action Qualifier Control Register (AQCTLR) Field Description
Bit
Field
Value
Description
15-12
Reserved
0
Reserved
11-10
LDAQBSYNC
Shadow to Active AQCTLB Register Load on SYNC event
00
Shadow to Active Load of AQCTLB occurs according to LDAQBMODE
01
Shadow to Active Load of AQCTLB occurs both according to LDAQBMODE bits and when SYNC
occurs.
10
Shadow to Active Load of AQCTLB occurs only when a SYNC is received.
11
Reserved
Note: This bit is valid only if AQCTLR[SHDWAQBMODE] = 1.
9-8
LDAQASYNC
Shadow to Active AQCTLA Register Load on SYNC event
00
Shadow to Active Load of AQCTLA occurs according to LDAQAMODE
01
Shadow to Active Load of AQCTLA occurs both according to LDAQAMODE bits and when SYNC
occurs.
10
Shadow to Active Load of AQCTLA occurs only when a SYNC is received.
11
Reserved
Note: This bit is valid only if AQCTLR[SHDWAQAMODE] = 1.
7
Reserved
0
Reserved
6
SHDWAQBMOD
E
Action Qualifier B Register operating mode:
1
Shadow mode – operates as a double buffer. All writes via the CPU access Shadow register.
0
Immediate mode – only the Active action qualifier register is used. All writes/reads via the CPU
directly access the Active register.
5
Reserved
0
Reserved
4
SHDWAQAMOD
E
Action Qualifier A Register operating mode:
1
Shadow mode – operates as a double buffer. All writes via the CPU access Shadow register.
0
Immediate mode – only the Active action qualifier register is used. All writes/reads via the CPU
directly access the Active register.
3-2
LDAQBMODE
Active Action Qualifier B Load from Shadow Select Mode:
00
Load on CTR = Zero: Time-base counter equal to zero (TBCTR = 0x0000)
01
Load on CTR = PRD: Time-base counter equal to period (TBCTR = TBPRD)
10
Load on either CTR = Zero or CTR = PRD
11
Freeze (no loads possible)
Note: has no effect in Immediate mode.
1-0
LDAQAMODE
Active Action Qualifier A Load from Shadow Select Mode:
00
Load on CTR = Zero: Time-base counter equal to zero (TBCTR = 0x0000)
01
Load on CTR = PRD: Time-base counter equal to period (TBCTR = TBPRD)
10
Load on either CTR = Zero or CTR = PRD
11
Freeze (no loads possible)
Note: has no effect in Immediate mode.