PIC16C770 Microchip Technology Inc., PIC16C770 Datasheet - Page 37

no-image

PIC16C770

Manufacturer Part Number
PIC16C770
Description
18/20-pin, 8-bit Cmos Microcontrollers With 10/12-bit A/d
Manufacturer
Microchip Technology Inc.
Datasheet
The RB0 pin is multiplexed with the A/D converter ana-
log input 4 and the external interrupt input (RB0/AN4/
INT). When the pin is used as analog input, the ANSEL
register must have the proper value to select the RB0
pin as Analog mode.
FIGURE 3-7:
2002 Microchip Technology Inc.
To INT input or MSSP module
To A/D Converter
Data Bus
WR
WPUB
WR
PORT
WR
TRIS
RD
TRIS
WR
ANSEL
WR
IOCB
RD
PORT
BLOCK DIAGRAM OF RB0/AN4/INT, RB1/AN5/SS PIN
PORTB Reg
Analog Select
WPUB Reg
TRIS Reg
IOCB Reg
D
D
CK
CK
D
D
D
CK
CK
CK
Q
Q
Q
Q
Q
Q
Q
Q
Q
Q
Set
RBIF
RBPU
From
RB<7:0> pins
Q
EN
EN
D
The RB1 pin is multiplexed with the A/D converter ana-
log input 5 and the MSSP module slave select input
(RB1/AN5/SS). When the pin is used as analog input,
the ANSEL register must have the proper value to
select the RB1 pin as Analog mode.
Note:
V
V
P
N
PIC16C717/770/771
SS
DD
Upon RESET, the ANSEL register config-
ures the RB1 and RB0 pins as analog inputs.
Both RB1 and RB0 pins will read as ’1’.
Q
Q
EN
EN
D
D
TTL
V
P
DD
weak
pull-up
Schmitt
Trigger
Q1
Q3
DS41120B-page 35
V
DD
V
SS

Related parts for PIC16C770