45.12.2 CMxCON1
Note:
- Refer to the Comparator parameters in the "Electrical Specifications" chapter for more information.
Name: | CMxCON1 |
Address: | 0x071,0x075 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
RDY | SP[1:0] | INTP | INTN | ||||||
Access | R | R/W | R/W | R/W | R/W | ||||
Reset | 0 | 0 | 0 | 0 | 0 |
Bit 7 – RDY Comparator Ready Flag
Value | Description |
---|---|
1 |
Comparator is ready and output is stable |
0 |
Comparator module is not ready |
Bits 3:2 – SP[1:0] Comparator Speed Selection
Bit 1 – INTP Comparator Interrupt on Positive-Going Edge Enable
Value | Description |
---|---|
1 |
The CxIF interrupt flag will be set upon a positive-going edge of the CxOUT bit |
0 |
No interrupt flag will be set on a positive-going edge of the CxOUT bit |
Bit 0 – INTN Comparator Interrupt on Negative-Going Edge Enable
Value | Description |
---|---|
1 |
The CxIF interrupt flag will be set upon a negative-going edge of the CxOUT bit |
0 |
No interrupt flag will be set on a negative-going edge of the CxOUT bit |