English
Language : 

PIC16LF720_11 Datasheet, PDF (58/244 Pages) Microchip Technology – 20-Pin Flash Microcontrollers with nanoWatt XLP Technology
PIC16(L)F720/721
REGISTER 6-9: IOCB: INTERRUPT-ON-CHANGE PORTB REGISTER
R/W-0
R/W-0
R/W-0
R/W-0
U-0
U-0
U-0
IOCB7
IOCB6
IOCB5
IOCB4
—
—
—
bit 7
U-0
—
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
bit 7-4
IOCB<7:4>: Interrupt-on-Change PORTB Control bits
1 = Interrupt-on-change enabled(1)
0 = Interrupt-on-change disabled
bit 3-0
Unimplemented: Read as ‘0’
Note 1: Interrupt-on-change also requires that the RABIE bit of the INTCON register be set.
REGISTER 6-10: ANSELB: PORTB ANALOG SELECT REGISTER
U-0
—
bit 7
U-0
R/W-1
R/W-1
U-0
U-0
—
ANSB5
ANSB4
—
—
U-0
U-0
—
—
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
bit 7-6
bit 5-4
bit 3-0
Unimplemented: Read as ‘0’
ANSB<5:4>: Analog Select between Analog or Digital Function on Pins RB<5:4>, respectively
0 = Digital I/O. Pin is assigned to port or digital special function.
1 = Analog input. Pin is assigned as analog input(1). Digital input buffer disabled.
Unimplemented: Read as ‘0’
Note 1: Setting a pin to an analog input automatically disables the digital input circuitry. Weak pull-ups, if
available, are unaffected. The corresponding TRIS bit must be set to Input mode by the user, in order to
allow external control of the voltage on the pin.
DS41430B-page 58
Preliminary
 2011 Microchip Technology Inc.