9.7.1 Comparator Control (COMPCTL) Register
Figure 9-5. Comparator Control (COMPCTL) Register
15
9
8
Reserved
SYNCSEL
R-0
R/W-0
7
3
2
1
0
QUALSEL
CMPINV
COMPSOURCE
COMPDACEN
R/W-0
R/W-0
R/W-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 9-4. Comparator Control (COMPCTL) Register Field Descriptions
Bit
Field
Value
15-9
Reserved
Reads return a 0; Writes have no effect.
8
SYNCSEL
Synchronization select for output of the comparator before being passed to EPWM/GPIO blocks
0
Asynchronous version of Comparator output is passed
1
Synchronous version of comparator output is passed
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
...
...
1Fh
Input to the block must be consistent for 32 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.
(1)
This register is EALLOW protected.
Comparator (COMP)
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
TMS320x2806x Microcontrollers
565
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......