![Microchip Technology PIC12F1501 Скачать руководство пользователя страница 121](http://html1.mh-extra.com/html/microchip-technology/pic12f1501/pic12f1501_manual_1785833121.webp)
PIC16(L)F1508/9
DS40001609E-page 122
2011-2015 Microchip Technology Inc.
REGISTER 12-4:
IOCBP: INTERRUPT-ON-CHANGE PORTB POSITIVE EDGE REGISTER
R/W-0/0
R/W-0/0
R/W-0/0
R/W-0/0
U-0
U-0
U-0
U-0
IOCBP7
IOCBP6
IOCBP5
IOCBP4
—
—
—
—
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-4
IOCBP<7:4>:
Interrupt-on-Change PORTB Positive Edge Enable bits
1
= Interrupt-on-Change enabled on the pin for a positive going edge.
IOCBFx bit and IOCIF
flag will be set
upon detecting an edge.
0
= Interrupt-on-Change disabled for the associated pin.
bit 3-0
Unimplemented:
Read as ‘
0
’
REGISTER 12-5:
IOCBN: INTERRUPT-ON-CHANGE PORTB NEGATIVE EDGE REGISTER
R/W-0/0
R/W-0/0
R/W-0/0
R/W-0/0
U-0
U-0
U-0
U-0
IOCBN7
IOCBN6
IOCBN5
IOCBN4
—
—
—
—
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-4
IOCBN<7:4>:
Interrupt-on-Change PORTB Negative Edge Enable bits
1
= Interrupt-on-Change enabled on the pin for a negative going edge.
IOCBFx bit and IOCIF
flag will be set
upon detecting an edge.
0
= Interrupt-on-Change disabled for the associated pin.
bit 3-0
Unimplemented:
Read as ‘
0
’
REGISTER 12-6:
IOCBF: INTERRUPT-ON-CHANGE PORTB FLAG REGISTER
R/W/HS-0/0
R/W/HS-0/0
R/W/HS-0/0
R/W/HS-0/0
U-0
U-0
U-0
U-0
IOCBF7
IOCBF6
IOCBF5
IOCBF4
—
—
—
—
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
HS - Bit is set in hardware
bit 7-4
IOCBF<7:4>:
Interrupt-on-Change PORTB Flag bits
1
= An enabled change was detected on the associated pin.
Set when IOCBPx =
1
and a rising edge was detected on RBx, or when IOCBNx =
1
and a falling edge was
detected on RBx.
0
= No change was detected, or the user cleared the detected change.
bit 3-0
Unimplemented:
Read as ‘
0
’
Содержание 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...