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
1
0
D
D
V
D
D
P
P
B
B
1
0
/
/
A
A
N
N
P
C
0
/
S
D
P
D
0
0
1
2
E
S
0
1
2
E
S
0
P
C
1
/
S
P
C
L
2
P
P
C
C
4
3
R
S
E
S
A
V
S
S
D
C
0
1
/
/
P
S
W
C
M
V
S
S
A
D
C
0
1
/
P
W
M
0
C
V
S
S
D
/
P
D
0
/
P
W
M
P
C
0
/
S
D
A
L
P
C
0
/
S
D
/
S
C
L
H
T
4
6
R
4
6
E
/
H
T
4
6
C
4
6
E
H
T
4
6
R
4
9
E
H
T
4
6
R
4
9
E
H
T
4
6
R
4
8
A
E
/
H
T
4
6
C
4
8
A
E
H
T
4
6
R
4
7
E
/
H
T
4
6
C
4
7
E
2
4
S
K
D
I
P
-
A
/
S
O
P
-
A
2
8
S
K
D
I
P
-
A
/
S
O
P
-
A
2
4
S
K
D
I
P
-
A
/
S
O
P
-
A
1
8
D
I
P
-
A
/
S
O
P
-
A
Pin Description
HT46R46E, HT46R47E
Pad Name
PA0~PA2
I/O
Options
Description
Bidirectional 8-bit input/output port. Each individual pin on this port can be
configured as a wake-up input by a configuration option. Software instruc-
tions determine if the pin is a CMOS output or Schmitt Trigger input. Configu-
PA3/PFD
PA4/TMR
PA5/INT
Pull-high
Wake-up
I/O
PA3 or PFD ration options determine which pins on the port have pull-high resistors. Pins
PA3, PA4 and PA5 are pin-shared with PFD, TMR and INT, respectively.
PA6~PA7
Bidirectional 4-bit input/output port. Software instructions determine if the pin
is a CMOS output or Schmitt Trigger input. Configuration options determine
which pins on the port have pull-high resistors. PB is pin-shared with the A/D
PB0/AN0
PB1/AN1
I/O
Pull-high
input pins. The A/D inputs are selected via software instructions. Once se-
lected as an A/D input, the I/O function and pull-high resistor options are dis-
abled automatically. The SCL pin of the EEPROM is internally connected to
the PB3/AN3 pin.
PB2/AN2
SCL/PB3/AN3
Bidirectional 1-bit input/output port. Software instructions determine if the pin
is a CMOS output or Schmitt Trigger input. Configuration option determines if
this pin has a pull-high resistor. The PWM output is pin-shared with pin PD0
selected via a configuration option. The SDA pin of the EEPROM is internally
connected to the PD0/PWM pin.
Pull-high
SDA/PD0/PWM I/O
PD0 or PWM
OSC1, OSC2 are connected to an external RC network or external crystal,
determined by configuration option, for the internal system clock. If the RC
system clock option is selected, pin OSC2 can be used to measure the sys-
tem clock at 1/4 frequency.
OSC1
OSC2
I
Crystal or RC
O
RES
VDD
VSS
I
Schmitt trigger reset input. Active low.
Positive power supply
¾
¾
¾
¾
¾
Negative power supply, ground.
Note: 1. Each pin on PA can be programmed through a configuration option to have a wake-up function.
2. Individual pins can be selected to have a pull-high resistor.
Rev. 1.31
3
December 29, 2008