|
PIC16LF1824T39A_12 Datasheet, PDF (131/418 Pages) Microchip Technology – 20-Pin Flash Microcontrollers with XLP Technology | |||
|
◁ |
PIC16LF1824T39A
REGISTER 13-2: IOCAN: INTERRUPT-ON-CHANGE PORTA NEGATIVE EDGE REGISTER
U-0
â
bit 7
U-0
R/W-0/0
R/W-0/0
R/W-0/0
R/W-0/0
R/W-0/0
R/W-0/0
â
IOCAN5
IOCAN4
IOCAN3
IOCAN2
IOCAN1
IOCAN0
bit 0
Legend:
R = Readable bit
u = Bit is unchanged
â1â = Bit is set
W = Writable bit
x = Bit is unknown
â0â = Bit is cleared
U = Unimplemented bit, read as â0â
-n/n = Value at POR and BOR/Value at all other Resets
bit 7-6
bit 5-0
Unimplemented: Read as â0â
IOCAN<5:0>: Interrupt-on-Change PORTA Negative Edge Enable bits
1 = Interrupt-on-Change enabled on the pin for a negative going edge. Associated Status bit and interrupt
flag will be set upon detecting an edge.
0 = Interrupt-on-Change disabled for the associated pin.
REGISTER 13-3: IOCAF: INTERRUPT-ON-CHANGE PORTA FLAG REGISTER
U-0
â
bit 7
U-0
R/W/HS-0/0 R/W/HS-0/0 R/W/HS-0/0 R/W/HS-0/0 R/W/HS-0/0 R/W/HS-0/0
â
IOCAF5
IOCAF4
IOCAF3
IOCAF2
IOCAF1
IOCAF0
bit 0
Legend:
R = Readable bit
u = Bit is unchanged
â1â = Bit is set
W = Writable bit
x = Bit is unknown
â0â = Bit is cleared
U = Unimplemented bit, read as â0â
-n/n = Value at POR and BOR/Value at all other Resets
HS - Bit is set in hardware
bit 7-6
bit 5-0
Unimplemented: Read as â0â
IOCAF<5:0>: Interrupt-on-Change PORTA Flag bits
1 = An enabled change was detected on the associated pin.
Set when IOCAPx = 1 and a rising edge was detected on RAx, or when IOCANx = 1 and a falling edge
was detected on RAx.
0 = No change was detected, or the user cleared the detected change.
TABLE 13-1: SUMMARY OF REGISTERS ASSOCIATED WITH INTERRUPT-ON-CHANGE
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Register
on Page
ANSELA
â
â
â
ANSA4
â
ANSA2 ANSA1 ANSA0
121
INLVLA
â
â
INLVLA5 INLVLA4 INLVLA3 INLVLA2 INLVLA1 INLVLA0 122
INTCON
GIE
PEIE TMR0IE INTE IOCIE TMR0IF INTF IOCIF
87
IOCAF
â
â
IOCAF5 IOCAF4 IOCAF3 IOCAF2 IOCAF1 IOCAF0 131
IOCAN
â
â
IOCAN5 IOCAN4 IOCAN3 IOCAN2 IOCAN1 IOCAN0 131
IOCAP
â
â
IOCAP5 IOCAP4 IOCAP3 IOCAP2 IOCAP1 IOCAP0 130
TRISA
â
â
TRISA5 TRISA4 TRISA3 TRISA2 TRISA1 TRISA0
120
Legend: â = unimplemented location, read as â0â. Shaded cells are not used by interrupt-on-change.
ï£ 2012 Microchip Technology Inc.
Preliminary
DS41657A-page 131
|
▷ |