English
Language : 

PIC18F2331 Datasheet, PDF (118/396 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High Performance PWM and A/D
PIC18F2331/2431/4331/4431
FIGURE 10-12: BLOCK DIAGRAM OF RB7:RB6 PINS
RBPU(1)
Enable Debug or ICSP
P
Weak
Pull-up
Data Bus
WR LATB
or
PORTB
WR TRISB
RD LATB
D
Q
CK Q
Data Latch
D
Q
CK Q
TRIS Latch
RD TRISC
Enable Debug
or ICSP
Set RBIF
RD PORTB
From other
RB7:RB4 pins
PGC(2)/PGD(3)
0
1
Enable
Debug
BRBx
01
Enable
Debug
BTRISx
Q
D
EN
TTL
Input
Buffer
Q1
QD
RD PORTB
EN
Q3
Schmitt
Trigger
RB7/RB6
Pin
Note 1: To enable weak pull-ups, set the appropriate TRIS bit(s) and clear the RBPU bit (INTCON2<7>).
2: PGC is available on RB6.
3: PGD is available on RB7.
DS39616B-page 116
Preliminary
 2003 Microchip Technology Inc.