![Microchip Technology PIC12F1501 Скачать руководство пользователя страница 149](http://html1.mh-extra.com/html/microchip-technology/pic12f1501/pic12f1501_manual_1785833149.webp)
PIC16(L)F1508/9
DS40001609E-page 150
2011-2015 Microchip Technology Inc.
REGISTER 17-2:
CMxCON1: COMPARATOR Cx CONTROL REGISTER 1
R/W-0/0
R/W-0/0
R/W-0/0
R/W-0/0
U-0
R/W-0/0
R/W-0/0
R/W-0/0
CxINTP
CxINTN
CxPCH<1:0>
—
CxNCH<2:0>
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
u = Bit is unchanged
x = Bit is unknown
-n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set
‘0’ = Bit is cleared
bit 7
CxINTP:
Comparator Interrupt on Positive Going Edge Enable bits
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 6
CxINTN:
Comparator Interrupt on Negative Going Edge Enable bits
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
bit 5-4
CxPCH<1:0>:
Comparator Positive Input Channel Select bits
11
= CxVP connects to V
SS
10
= CxVP connects to FVR Voltage Reference
01
= CxVP connects to DAC Voltage Reference
00
= CxVP connects to CxIN+ pin
bit 3
Unimplemented:
Read as ‘
0
’
bit 2-0
CxNCH<2:0>:
Comparator Negative Input Channel Select bits
111
= Reserved
110
= Reserved
101
= Reserved
100
= CxVN connects to FVR Voltage reference
011
= CxVN connects to CxIN3- pin
010
= CxVN connects to CxIN2- pin
001
= CxVN connects to CxIN1- pin
000
= CxVN connects to CxIN0- pin
REGISTER 17-3:
CMOUT: COMPARATOR OUTPUT REGISTER
U-0
U-0
U-0
U-0
U-0
U-0
R-0/0
R-0/0
—
—
—
—
—
—
MC2OUT
MC1OUT
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
u = Bit is unchanged
x = Bit is unknown
-n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set
‘0’ = Bit is cleared
bit 7-2
Unimplemented:
Read as ‘
0
’
bit 1
MC2OUT:
Mirror Copy of C2OUT bit
bit 0
MC1OUT:
Mirror Copy of C1OUT bit
Содержание PIC12F1501
Страница 307: ...PIC16 L F1508 9 DS40001609E page 308 2011 2015 Microchip Technology Inc NOTES...
Страница 392: ...2011 2015 Microchip Technology Inc DS40001609E page 393 PIC16 L F1508 9 1RWH 6 7 7 588 8 7...
Страница 399: ...PIC16 L F1508 9 DS40001609E page 400 2011 2015 Microchip Technology Inc NOTES...