English
Language : 

PIC16F707 Datasheet, PDF (57/284 Pages) Microchip Technology – 40/44-Pin, Flash Microcontrollers with nanoWatt XLP and mTouch™ Technology
PIC16F707/PIC16LF707
REGISTER 6-8: IOCB: INTERRUPT-ON-CHANGE PORTB REGISTER
R/W-0
IOCB7
bit 7
R/W-0
IOCB6
R/W-0
IOCB5
R/W-0
IOCB4
R/W-0
IOCB3
R/W-0
IOCB2
R/W-0
IOCB1
R/W-0
IOCB0
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-0
IOCB<7:0>: Interrupt-on-Change PORTB Control bits
1 = Interrupt-on-change enabled
0 = Interrupt-on-change disabled
REGISTER 6-9: ANSELB: PORTB ANALOG SELECT REGISTER
R/W-1
ANSB7
bit 7
R/W-1
ANSB6
R/W-1
ANSB5
R/W-1
ANSB4
R/W-1
ANSB3
R/W-1
ANSB2
R/W-1
ANSB1
R/W-1
ANSB0
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-0
ANSB<7:0>: Analog Select between Analog or Digital Function on Pins RB<7:0>, 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.
Note 1: When setting a pin to an analog input, the corresponding TRIS bit must be set to Input mode in order to
allow external control of the voltage on the pin.
6.3.4 PIN DESCRIPTIONS
Each PORTB pin is multiplexed with other functions. The
pins and their combined functions are briefly described
here. For specific information about individual functions
such as the SSP, I2C or interrupts, refer to the appropriate
section in this data sheet.
6.3.4.1 RB0/AN12/CPSB8/INT
These pins are configurable to function as one of the
following:
• General purpose I/O
• Analog input for the ADC
• Capacitive sensing input
• External edge triggered interrupt
6.3.4.2 RB1/AN10/CPSB9
These pins are configurable to function as one of the
following:
• General purpose I/O
• Analog input for the ADC
• Capacitive sensing input
6.3.4.3 RB2/AN8/CPSB10
These pins are configurable to function as one of the
following:
• General purpose I/O
• Analog input for the ADC
• Capacitive sensing input
 2010 Microchip Technology Inc.
Preliminary
DS41418A-page 57