Datasheet

Table Of Contents
PIC16F631/677/685/687/689/690
DS41262E-page 72 © 2008 Microchip Technology Inc.
4.4.3.2 RB5/AN11/RX/DT
(1, 2)
Figure 4-8 shows the diagram for this pin. The
RB5/AN11/RX/DT pin is configurable to function as one
of the following:
a general purpose I/O
an analog input for the ADC (except PIC16F631)
an asynchronous serial input
a synchronous serial data I/O
FIGURE 4-8: BLOCK DIAGRAM OF RB5
Note 1: RX and DT are available on
PIC16F687/PIC16F689/PIC16F690 only.
2: AN11 is not implemented on PIC16F631.
I/O Pin
VDD
VSS
D
Q
CK
Q
D
Q
CK
Q
D
Q
CK
Q
D
Q
CK
Q
VDD
D
EN
Q
D
EN
Q
Weak
Data Bus
WR
WPUB
RD
WPUB
RD PORTB
RD
PORTB
WR
PORTB
WR
TRISB
RD
TRISB
WR
IOCB
RD
IOCB
Interrupt-on-
To EUSART RX/DT
Analog
(1)
Input Mode
RABPU
Analog
(1)
Input Mode
Change
Q3
To A/D Converter
(2)
SYNC
ST
EUSART
DT
SPEN
Available on PIC16F687/PIC16F689/PIC16F690 only.
Note 1: ANSEL determines Analog Input mode.
2: Not implemented on PIC16F631.
0
1
1
0
0
1
1
0
From
EUSART