Pin functions, Toshiba – Toshiba TMP87CP24AF User Manual
Page 5
Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

TOSHIBA
TMP87CM24A/P24A
Pin Functions
Pin Name
Input/Output
Function
P07 to POO
I/O
8-bit
programmable
input/output
ports
(tri-state).
Each bit of these ports can be individually
configured as an input or an output under
software control.
When used as an input port, timer/counter
input or external interrupt input, the
P0CR/P1CR must be set to "0". When used
as timer/counter output or divider output,
the P0CR/P1CR must be set to "1" after
setting output latch to "1".
P17, P16
P15(TC2)
I/O (Input)
Timer/Counter 2 input
P14(P^)
I/O (Output)
Programmable pulse generator output
P13(DVO)
Divider output
P12(INT2/TC1)
I/O (Input)
External interrupt 2 input or
Timer/Counter 1 input
P11 (INTI)
External interrupt 1 input
P10(TÑTÜ)
External interrupt 0 input
P22 (XTOUT)
I/O (Output)
3-bit input/output port with latch.
When used as an input port, external
interrupt input or STOP mode release
input, the output latch must be set to "1".
Resonator connecting pins (32.768 kHz).
For inputting external clock, XTIN is used
and XTOUT is opened.
P21 (XTIN)
I/O (Input)
P20(INT5/STOP)
External interrupt 5 input or STOP mode
release signal input
P35 to P30
I/O
6-bit input/output port with latch.
When used as inout oort. the outout latch must be set to "1".
P47 (S02)
I/O (Output)
8-bit input/output port with latch.
When used as serial interface output or
timer/counter output, the P4CR1 must be
set to "1" after setting output latch to "1".
When used as an input port, serial
interface input or external interrupt input,
the P4CR1 must be set to "0".
SI02 serial data output
P46 (SI 2)
I/O (Input)
SI02 serial data input
P45 (SCK2)
I/O (I/O)
SI02 serial clock input/output
P44 (SOI)
I/O (Output)
SI01 serial data output
P43 (SI1)
I/O (Input)
SI01 serial data input
P42 (SCK1)
I/O (I/O)
SI01 serial clock input/output
P41 (PWM/PDO)
I/O (Output)
8-bit PWM output, 8-bit programmable
divider output
P40(INT3/TC3)
I/O (Input)
External interrupt 3 input, Timer/Counter
3 input
P57(AIN07) to
PSO(AINOO)
I/O (Input)
8-bit programmable input/output port (tri
state). Each bit of the port can be
individually configured as an input or an
output under software control.
When used as analog input, the P5CR must
be set to "0".
AD converter analog inputs
SEG39 (P80) to
SEG32 (P87)
Output (I/O)
8-bit input/output port with latch.
When used as an input port, the segment
output control register must be set to "0"
after setting output latch to "1".
LCD segment outputs. When used as
segment
output,
the
segment
output
control register must be set to "1".
SEG31 (P70)to
SEG24 (P77)
Output (I/O)
SEG23 (P60) to
SEG16(P67)
Output (I/O)
SEG15(P90) to
SEG12(P93)
Output (I/O)
4-bit input/output port with latch.
When used as an input port, the segment
output control register must be set to "0"
after setting output latch to "1".
SEG11 toSEGO
Output
LCD segment outputs
COM3 to COMO
Output
LCD common outputs
XIN, XOUT
Input, Output
Resonator connecting pins for high-frequency clock. For inputting external clock, XIN is
used and XOUT is ooened.
RESET
I/O
Reset signal input or watchdog timer output/address-trap-reset output
TEST
Input
Test pin for out-going test. Be fixed to low.
VDD, VSS
Power Supply
+ 5V, OV(GND)
VAREE, VASS
Analog reference voltage inputs (High, Low)
C0,C1, VI, V2, V3
LCD voltage
booster pin
LCD voltage booster pin. Capacitors are required between CO and Cl pin and between
V1/V2/V3 pinandGND.
3
-
24-5
2002
-
10-03