43.12.1 CMxCON0

Comparator Control Register 0
Note:
  1. Refer to the Comparator parameters in the "Electrical Specifications" chapter for more information.
Name: CMxCON0
Address: 0x070,0x074

Bit 76543210 
 ENOUT POL HYS[1:0]SYNC 
Access R/WRR/WR/WR/WR/W 
Reset 000000 

Bit 7 – EN Comparator Enable

ValueDescription
1 Comparator is enabled
0 Comparator is disabled and consumes no active power

Bit 6 – OUT Comparator Output

ValueNameDescription
1 If POL = 0 (noninverted polarity):

CxVP > CxVN

0 If POL = 0 (noninverted polarity):

CxVP < CxVN

1 If POL = 1 (inverted polarity):

CxVP < CxVN

0 If POL = 1 (inverted polarity):

CxVP > CxVN

Bit 4 – POL Comparator Output Polarity Select

ValueDescription
1 Comparator output is inverted
0 Comparator output is not inverted

Bits 2:1 – HYS[1:0] Comparator Hysteresis Selection

ValueDescription
11 30mV Comparator hysteresis selected (1)
10 20mV Comparator hysteresis selected (1)
01 10mV Comparator hysteresis selected (1)
00 No hysteresis selected; comparator hysteresis disabled

Bit 0 – SYNC Comparator Output Synchronous Mode

ValueDescription
1 Comparator output is synchronous to changes on Timer1 clock source. Output updated on the falling edge of Timer1 clock source.
0 Comparator output is asynchronous
Refer to the Comparator parameters in the "Electrical Specifications" chapter for more information.