43.12.1 CMxCON0
Note:
- Refer to the Comparator parameters in the "Electrical Specifications" chapter for more information.
Name: | CMxCON0 |
Address: | 0x070,0x074 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
EN | OUT | POL | HYS[1:0] | SYNC | |||||
Access | R/W | R | R/W | R/W | R/W | R/W | |||
Reset | 0 | 0 | 0 | 0 | 0 | 0 |
Bit 7 – EN Comparator Enable
Value | Description |
---|---|
1 |
Comparator is enabled |
0 |
Comparator is disabled and consumes no active power |
Bit 6 – OUT Comparator Output
Bit 4 – POL Comparator Output Polarity Select
Value | Description |
---|---|
1 |
Comparator output is inverted |
0 |
Comparator output is not inverted |
Bits 2:1 – HYS[1:0] Comparator Hysteresis Selection
Bit 0 – SYNC Comparator Output Synchronous Mode
Value | Description |
---|---|
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 |