English
Language : 

PIC18F1220_07 Datasheet, PDF (96/308 Pages) Microchip Technology – 18/20/28-Pin High-Performance, Enhanced Flash Microcontrollers with 10-bit A/D and nanoWatt Technology
PIC18F1220/1320
FIGURE 10-11: BLOCK DIAGRAM OF RB4/AN6/RX/DT/KBI0 PIN
EUSART Enabled
Analog Input Mode
DT TRIS
DT Data
Data Bus
WR LATB or
PORTB
WR TRISB
RBPU(2)
1
0
RD LATB
D
Q
CK Q
Data Latch
D
Q
CK Q
TRIS Latch
RD TRISB
Set RBIF
RD PORTB
Q
D
EN
From other
RB7:RB4 pins
To A/D Converter
QD
EN
RX/DT Input
RD PORTB
Q3
Schmitt
Trigger
Analog Input
Mode
VDD
P
Weak
Pull-up
TTL
Input
Buffer
Q1
Note 1: I/O pins have diode protection to VDD and VSS.
2: To enable weak pull-ups, set the appropriate TRIS bit(s) and clear the RBPU bit (INTCON2<7>).
RB4 pin
DS39605F-page 94
© 2007 Microchip Technology Inc.