Datasheet

PIC16(L)F707
DS41418B-page 60 2010-2011 Microchip Technology Inc.
6.3.4.4 RB3/AN9/CPSB11/CCP2
These pins are configurable to function as one of the
following:
General purpose I/O
Analog input for the ADC
Capacitive sensing input
Capture 2 input, Compare 2 output, and PWM2
output
6.3.4.5 RB4/AN11/CPSB12
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.6 RB5/AN13/CPSB13/T1G/T3CKI
These pins are configurable to function as one of the
following:
General purpose I/O
Analog input for the ADC
Capacitive sensing input
Timer1 gate input
Timer3 clock input
6.3.4.7 RB6/ICSPCLK/CPSB14
These pins are configurable to function as one of the
following:
General purpose I/O
In-Circuit Serial Programming clock
Capacitive sensing input
6.3.4.8 RB7/ICSPDAT/CPSB15
These pins are configurable to function as one of the
following:
General purpose I/O
In-Circuit Serial Programming data
Capacitive sensing input
Note: CCP2 pin location may be selected as
RB3 or RC1.
TABLE 6-2: SUMMARY OF REGISTERS ASSOCIATED WITH PORTB
Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Value on
POR, BOR
Value on all
other
Resets
ADCON0
CHS3 CHS2 CHS1 CHS0 GO/DONE ADON --00 0000 --00 0000
ANSELB ANSB7 ANSB6 ANSB5 ANSB4 ANSB3 ANSB2 ANSB1 ANSB0 1111 1111 1111 1111
APFCON
SSSEL CCP2SEL ---- --00 ---- --00
CCP2CON
DC2B1 DC2B0 CCP2M3 CCP2M2 CCP2M1 CCP2M0 --00 0000 --00 0000
CPSBCON0 CPSBON CPSBRM
CPSBRNG1 CPSBRNG0 CPSBOUT TBXCS 00-- 0000 00-- 0000
CPSBCON1
CPSBCH3 CPSBCH2 CPSBCH1 CPSBCH0 ---- 0000 ---- 0000
INTCON
GIE PEIE TMR0IE INTE RBIE TMR0IF INTF RBIF 0000 000x 0000 000X
IOCB IOCB7 IOCB6 IOCB5 IOCB4 IOCB3 IOCB2 IOCB1 IOCB0 0000 0000 0000 0000
OPTION_REG RBPU
INTEDG TMR0CS TMR0SE PSA PS2 PS1 PS0 1111 1111 1111 1111
PORTB RB7 RB6 RB5 RB4 RB3 RB2 RB1 RB0 xxxx xxxx xxxx xxxx
T3CON TMR3CS1 TMR3CS0 T3CKPS1 T3CKPS0
T3SYNC —TMR3ON0000 -0-0 0000 -0-0
T1GCON TMR1GE
T1GPOL T1GTM T1GSPM T1GGO/
DONE
T1GVAL T1GSS1 T1GSS0 0000 0x00 uuuu uxuu
TRISB TRISB7 TRISB6 TRISB5 TRISB4 TRISB3 TRISB2 TRISB1 TRISB0 1111 1111 1111 1111
WPUB WPUB7 WPUB6 WPUB5 WPUB4 WPUB3 WPUB2 WPUB1 WPUB0 1111 1111 1111 1111
Legend: x = unknown, u = unchanged, - = unimplemented locations read as ‘0’. Shaded cells are not used by PORTB.