English
Language : 

PIC16F882_09 Datasheet, PDF (53/328 Pages) Microchip Technology – 28/40/44-Pin, Enhanced Flash-Based 8-Bit CMOS Microcontrollers with nanoWatt Technology
PIC16F882/883/884/886/887
3.4.4.5 RB4/AN11/P1D(1)
Figure 3-10 shows the diagram for this pin. This pin is
configurable to function as one of the following:
• a general purpose I/O
• an analog input for the ADC
• a PWM output(1)
Note 1: P1D is available on PIC16F882/883/886
only.
3.4.4.6 RB5/AN13/T1G
Figure 3-10 shows the diagram for this pin. This pin is
configurable to function as one of the following:
• a general purpose I/O
• an analog input for the ADC
• a Timer1 gate input
3.4.4.7 RB6/ICSPCLK
Figure 3-10 shows the diagram for this pin. This pin is
configurable to function as one of the following:
• a general purpose I/O
• In-Circuit Serial Programming clock
3.4.4.8 RB7/ICSPDAT
Figure 3-10 shows the diagram for this pin. This pin is
configurable to function as one of the following:
• a general purpose I/O
• In-Circuit Serial Programming data
FIGURE 3-10:
BLOCK DIAGRAM OF RB<7:4>
Analog(1) Input Mode
Data Bus
DQ
WR
WPUB
CK Q
RBPU
VDD
Weak
RD
WPUB
WR
PORTB
DQ
CK Q
CCP1OUT Enable
CCP1OUT 101
010
VDD
I/O Pin
DQ
WR
TRISB
CK Q
VSS
RD
TRISB
RD
PORTB
WR
IOCB
RD
IOCB
DQ
CK Q
Interrupt-on-
Change
Analog(1)
Input Mode
QD
EN
Q3
QD
EN
RD PORTB
To Timer1 T1G(3)
To A/D Converter
To ICSPCLK (RB6) and ICSPDAT (RB7)
Available on PIC16F882/PIC16F883/PIC16F886 only.
Note 1:
2:
3:
ANSELH determines Analog Input mode.
Applies to RB<7:6> pins only).
Applies to RB5 pin only.
ICSP™(2)
© 2009 Microchip Technology Inc.
DS41291F-page 51