Table 3-30. Counter-Compare Control (CMPCTL) Register Field Descriptions (continued)
Bits
Name
Value Description
1-0
LOADAMODE
Active Counter-Compare A (CMPA) Load From Shadow Select Mode.
This bit has no effect in immediate mode (CMPCTL[SHDWAMODE] = 1).
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)
3.4.2.2 Compare A High Resolution (CMPAHR) Register
Figure 3-82. Compare A High Resolution (CMPAHR) Register
15
8
CMPAHR
R/W-0
7
0
Reserved
R-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 3-31. Compare A High Resolution (CMPAHR) Register Field Descriptions
Bit
Field
Value
Description
15-8
CMPAHR
00-FFh These 8-bits contain the high-resolution portion (least significant 8-bits) of the counter-compare A
value. CMPA:CMPAHR can be accessed in a single 32-bit read/write.
Shadowing is enabled and disabled by the CMPCTL[SHDWAMODE] bit as described for the CMPA
register.
7-0
Reserved
Reserved for TI Test
Enhanced Pulse Width Modulator (ePWM) Module
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
TMS320x2806x Microcontrollers
337
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......