Datasheet

2010 Microchip Technology Inc. DS41326E-page 31
PIC16F526
FIGURE 6-4: BLOCK DIAGRAM OF RB4
(with Weak Pull-up and
Wake-up on Change)
FIGURE 6-5: BLOCK DIAGRAM OF RB5
Data
Bus
QD
Q
CK
QD
Q
CK
WR
Port
TRIS ‘f’
Data
TRIS
W
Reg
Latch
Latch
Reset
Note 1: I/O pins have protection diodes to VDD and VSS.
2: Input mode is disabled when pin is used for
oscillator.
3: Pin is not used for oscillator.
1
0
INTOSC/RC/EC
CLKOUT Enable
FOSC/4
Oscillator
Circuit
OSC1
RBPU
I/O
pin
(1)
(Note 2)
D
CK
Q
RD Port
Pin Change
(Note 3)
Data
Bus
QD
Q
CK
QD
Q
CK
WR
Port
TRIS ‘f
Data
TRIS
RD Port
I/O
pin
(1)
W
Reg
Latch
Latch
Reset
Note 1: I/O pins have protection diodes to VDD and
V
SS.
2: Input mode is disabled when pin is used for
oscillator.
Oscillator
Circuit
OSC2
(Note 2)