Datasheet

2000 Microchip Technology Inc. Preliminary DS40197B-page 9
PIC16HV540
TABLE 3-1: PINOUT DESCRIPTION - PIC16HV540
Name
DIP, SOIC
No.
SSOP
No.
I/O/P
Type
Input
Levels
Description
RA0
RA1
RA2
RA3
17
18
1
2
19
20
1
2
I/O
I/O
I/O
I/O
TTL
TTL
TTL
TTL
Independently regulated Bi-directional I/O port VIO
RB0
RB1
RB2
RB3
6
7
8
9
7
8
9
10
I/O
I/O
I/O
I/O
TTL
TTL
TTL
TTL
High-voltage Bi-directional I/O port.
Sourced from V
DD.
Wake-up on pin
change
RB4
RB5
RB6
10
11
12
11
12
13
I/O
I/O
I/O
TTL
TTL
TTL
RB7 13 14 I/O TTL Wake-up on SLOW
rising pin change.
T0CKI 3 3 I ST Clock input to Timer 0. Must be tied to V
SS or VDD, if not in
use, to reduce current consumption.
MCLR/
VPP 4 4 I ST Master clear (reset) input/programming voltage input. This
pin is an active low reset to the device. Voltage on the MCLR
/
V
PP pin must not exceed VDD
(1)
to avoid unintended entering
of programming mode.
OSC1/CLKIN 16 18 I ST Oscillator crystal input/external clock source input.
OSC2/CLKOUT 15 17 O Oscillator crystal output. Connects to crystal or resonator in
crystal oscillator mode. In RC mode, OSC2/CLKOUT output
is connected to TMR0, bit 0. Frequencies of CLKIN/8 to
CLKIN/1024 can be generated on this pin.
V
DD 14 15,16 P Positive supply.
V
SS 55,6P Ground reference.
Legend: I = input, O = output, I/O = input/output, P = power, = Not Used, TTL = TTL input, ST = Schmitt Trigger input.
Note 1: VDD during programming mode can not exceed parameter PD1 called out in the PIC16C5X Programming
Specification (Literature number DS30190).