
Pad Description
Pad No.
Pad Name
I/O
Mask
Option
Description
4~1
SEG0~3
O
Selectable as LCD segment signal output or keyscan strobe signal.
12~5
PA0~PA7
I/O
Wake-up
or None
Bidirectional 8-bit input/output port. Each bit can be configured as
wake-up input by mask option. Software instructions determine the
CMOS output or Schmitt trigger input with or without pull-high regis-
ter by register [35H].
14~13
PB4~PB5
I/O
Bidirectional 2-bit input/output port
Schmitt trigger input with or without pull-high register by software op-
tion or CMOS output
15
PB3/INT
I/O
Software instructions determine the bidirectional input/output pin or
external interrupt Schmitt trigger input or CMOS output. When the
[INTC0].1issetto 1 thePB3willusedtoexternalinterruptinputpin.
For I/O pin: Schmitt trigger input with or without pull-high register by
software option or CMOS output
For INT: Edge trigger activated on a falling edge.
16
PB2/DI
I/O
or
I
Serial
Data Input
Can be optioned as bidirectional input/output or serial data input.
For I/O pin: Schmitt trigger input or CMOS output, see mask option
table for pull-high function
For serial data input: serial data input without pull-high resistor
17
PB1/DO
I/O
or
O
Serial
Data
Output
Can be optioned as bidirectional input/output or serial data output.
For I/O pin: Schmitt trigger input or CMOS output, see mask option
table for pull-high function
For serial data output: SK is a CMOS output
18
PB0/SCLK
I/O
SCLK
Signal
Can be optioned as bidirectional input/output or serial interface clock
signal.
For I/O pin: Schmitt trigger input with or without pull-high resistor by
register [36H] or CMOS output
For serial interface clock signal: Use as serial I/O interface clock
signal
SCLK should be set as serial clock output and after 8 clocks from the
SCLK terminal, clock output is automatically suspended.
19
RES
I
Schmitt trigger reset input. Active low.
20, 21
VDD
Positive power supply
22, 23
VSS
Negative power supply, ground
24
PWM1
O
Positive PWM CMOS output
25
PWM2
O
Negative PWM CMOS output
26
XOUT
O
A 32768Hz crystal (or resonator) should be connected to this pin and
XIN
27
XIN
I
A 32768Hz crystal (or resonator) should be connected to this pin and
XOUT
28
XC
I
External low pass filter used for frequency up conversion circuit
29
31
33
35
37
TRIM0
TRIM1
TRIM2
TRIM3
TRIM4
Test pin only
30
LBIN
I
This pin detects battery low through external R1/R2 to determine
threshold, when the low voltage detect function is disabled, the
LBIN pin should be connected to VDD.
32
VLCD
I
LCD voltage input
HT23B60
Rev. 1.10
5
March 1, 2004