Comparator Block
905
SPRUH22I – April 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
Analog Subsystem
Table 10-37. COMPCTL Register Field Descriptions (continued)
Bit
Field
Value
Description
7-3
QUALSEL
Qualification Period for synchronized output of the comparator
0h
Synchronized value of comparator is passed through
1h
Input to the block must be consistent for 2 consecutive clocks before output of Qual block can
change
2h
Input to the block must be consistent for 3 consecutive clocks before output of Qual block can
change
...
...
Fh
Input to the block must be consistent for 16 consecutive clocks before output of Qual block can
change
2
CMPINV
Invert select for Comparator
0
Output of comparator is passed
1
Inverted output of comparator is passed
1
COMPSOURCE
Source select for comparator inverting input
0
Inverting input of comparator connected to internal DAC
1
Inverting input connected to external pin
0
COMPDACEN
Comparator/DAC Enable
0
Comparator/DAC logic is powered down.
1
Comparator/DAC logic is powered up.
10.4.7.2 Compare Output Status (COMPSTS) Register
Figure 10-56. Compare Output Status (COMPSTS) Register
15
1
0
Reserved
COMPSTS
R-0
R-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 10-38. Compare Output Status (COMPSTS) Register Field Descriptions
Bit
Field
Value
Description
15-1
Reserved
Reserved
0
COMPSTS
Logical latched value of the comparator
10.4.7.3 DAC Value (DACVAL) Register
Figure 10-57. DAC Value (DACVAL) Register
15
10
9
0
Reserved
DACVAL
R-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 10-39. DAC Value (DACVAL) Register Field Descriptions
Bit
Field
Value
Description
15-10
Reserved
Reserved
9-0
DACVAL
0-3FFh
DAC Value bits, scales the output of the DAC from 0 – 1023.