9.7.2 Compare Output Status (COMPSTS) Register
Figure 9-6. Compare Output Status (COMPSTS) Register
15
1
0
Reserved
COMPSTS
R-0
R-0
LEGEND: R = Read only; -
n
= value after reset
Table 9-5. Compare Output Status (COMPSTS) Register Field Descriptions
Bit
Field
Value
Description
15-1
Reserved
Reads return zero and writes have no effect.
0
COMPSTS
Logical latched value of the comparator.
9.7.3 DAC Control (DACCTL) Register
Figure 9-7. DAC Control (DACCTL) Register
15
14
13
8
FREE:SOFT
Reserved
R/W-0
R-0
7
5
4
1
0
Reserved
RAMPSOURCE
DACSOURCE
R-0
R/W-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 9-6. DAC Control (DACCTL) Register Field Descriptions
Bit
Field
Value
15-14
FREE:SOFT
Emulation mode behavior. Selects ramp generator behavior during emulation suspend.
0h
Stop immediately
1h
Complete current ramp, and stop on the next PWMSYNC signal
2h-3h
Run free
13-5
Reserved
Reads return a 0; Writes have no effect.
4-1
RAMPSOURCE
Ramp generator source sync select. PWMSYNC is derived from the HRPWM register field
HRPCTL[PWMSYNCSEL].
0h
PWMSYNC1 is the source sync
1h
PWMSYNC2 is the source sync
2h
PWMSYNC3 is the source sync
...
...
n-1
PWMSYNCn is the source sync
0
DACSOURCE
DAC source control. Select DACVAL or ramp generator to control the DAC.
0
DAC controlled by DACVAL
1
DAC controlled by ramp generator
(1)
This register is EALLOW protected.
Comparator (COMP)
566
TMS320x2806x Microcontrollers
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......