CMxCON0

Name:
CMxCON0
Address:
0xF34,0xF30
Reset:
Access:
Bit76543210
ENOUTPOLHYSSYNC
AccessR/WROR/WR/WR/W
Reset00000

Bit 7 – EN: Comparator Enable bit

Comparator Enable bit

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

Bit 6 – OUT: Comparator Output bit

Comparator Output bit

ValueNameDescription
1 If POL = 0 (non-inverted polarity):

CxVP > CxVN

0 If POL = 0 (non-inverted 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 bit

Comparator Output Polarity Select bit

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

Bit 1 – HYS: Comparator Hysteresis Enable bit

Comparator Hysteresis Enable bit

ValueDescription
1 Comparator hysteresis enabled
0 Comparator hysteresis disabled

Bit 0 – SYNC: Comparator Output Synchronous Mode bit

Comparator Output Synchronous Mode bit

Output updated on the falling edge of prescaled Timer1 clock.

ValueDescription
1 Comparator output to Timer1 and I/O pin is synchronous to changes on the prescaled Timer1 clock.
0 Comparator output to Timer1 and I/O pin is asynchronous