Datasheet

PIC12F510/16F506
DS41268D-page 36 © 2007 Microchip Technology Inc.
TABLE 5-6: REQUIREMENTS FOR DIGITAL PIN OPERATION (PIC16F506 PORTB)
(1), (2)
TABLE 5-7: REQUIREMENTS FOR DIGITAL PIN OPERATION (PIC16F506 PORTC)
(1), (2)
RB0 RB0 RB0 RB1 RB1 RB2 RB2 RB3 RB4 RB5
CM1CON0
C1ON
01 0 1 01
C1PREF
0
C1NREF 0
C1T0CS
C1OUTEN
1
CM2CON0
C2ON 1
C2PREF1 0
C2PREF2 1
C2NREF
C2OUTEN
OPTION
T0CS
ADCON0
ANS<1:0> 00, 01 00, 01 00, 01 00, 01, 10 00, 01, 10 00 00
CONFIG
MCLRE
0
INTOSC
LP Disabled Disabled
EXTRC
Disabled
XT Disabled Disabled
EC Disabled
HS
Disabled Disabled
INTOSC CLKOUT Disabled Disabled
EXTRC CLOCKOUT Disabled Disabled
Note 1: Multiple column entries for a pin demonstrate the different permutations to arrive at digital functionality for
the pin.
2: Shaded cells indicate the bit status does not affect the pins digital functionality.
RC0 RC0 RC1 RC1 RC2 RC3 RC4 RC4 RC5 RC5
CM2CON0
C2ON 0101
01
C2PREF1 0
C2PREF2
0
C2NREF 0
C2OUTEN
1
VRCON0
VROE
0 ———
OPTION
T0CS 0
Note 1: Multiple column entries for a pin demonstrate the different permutations to arrive at digital functionality for
the pin.
2: Shaded cells indicate the bit status does not affect the pins digital functionality.