English
Language : 

PIC18F2331 Datasheet, PDF (116/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-10:
RBPU(1)
BLOCK DIAGRAM OF RB4
PORT/PWM Select
PWM5 Data
0
1
RD LATC
Data Bus
D
Q
WR LATB
or
PORTB
CK Q
Data Latch
WR TRISB
D
Q
CK Q
TRIS Latch
RD TRISB
VDD
Weak
P Pull-up
VDD
P
N
VSS
TTL
Input
Buffer
RB4 Pin
RD LATB
RD PORTB
Q
D
EN
Q1
Set RBIF
From other
RB7:RB4 pins
QD
RD PORTB
EN
Q3
Note 1: To enable weak pull-ups, set the appropriate TRIS bit(s) and clear the RBPU bit (INTCON2<7>).
DS39616B-page 114
Preliminary
 2003 Microchip Technology Inc.