3.5
Port Function
The TMP92CM22 features 50-bit settings which relate to the various I/O ports.
As well as general-purpose I/O port functionality, the port pins also have I/O functions which
relate to the built-in CPU and internal I/Os. Table 3.5.1 lists the functions of each port pin.
Table 3.5.2 and Table 3.5.3 lists I/O registers and their specifications.
Port
Pin Names
Names
Port 1
P10 to P17
Port 4
P40 to P47
Port 5
P50 to P57
Port 6
P60 to P67
Port 7
P70
P71
P72
P73
P74
P75
P76
Port 8
P80
P81
P82
P83
Port 9
P90
P91
P92
Port A
PA0
PA1
PA2
PA7
Port C
PC0
PC1
PC3
PC5
PC6
Port D
PD0
PD1
PD2
PD3
Port F
PF0
PF1
PF2
PF3
PF4
PF5
PF6
PF7
Port G
PG0
PG1
PG2
PG3
PG4
PG5
PG6
PG7
*: When these ports are used as general-purpose I/O port, each bit can be set individually for input or
output. However, each bit cannot be set individually for input or output even if 1bit or more bits are
used as address bus in same port.
All of general-purpose I/O ports except for port that used as address bus are operated as output
port.
Please be careful when using this setting.
Table 3.5.1 Port Function (R: U = with pull-up resistor)
Number
Direction
of Pins
8
I/O
8
I/O*
8
I/O*
8
I/O*
1
Output
1
Output
1
Output
1
Output
1
Output
1
Output
1
I/O
1
Output
1
Output
1
Output
1
Output
1
I/O
1
I/O
1
I/O
1
Input
1
Input
1
Input
1
Input
1
I/O
1
I/O
1
I/O
1
I/O
1
I/O
1
I/O
1
I/O
1
I/O
1
I/O
1
I/O
1
I/O
1
I/O
1
I/O
1
I/O
1
I/O
1
I/O
1
I/O
1
Input
1
Input
1
Input
1
Input
1
Input
1
Input
1
Input
1
Input
92CM22-49
Direction
R
Setting Unit
−
Bit
D8 to D15
−
Bit*
A0 to A7
−
Bit*
A8 to A15
−
Bit*
A16 to A23
−
(Fixed)
RD
−
(Fixed)
WRLL
−
(Fixed)
WRLU
−
(Fixed)
−
(Fixed)
CLKOUT
−
(Fixed)
R/
−
Bit
WAIT
−
(Fixed)
CS0
−
(Fixed)
CS1
−
(Fixed)
CS2
−
(Fixed)
CS3
−
Bit
SCK
−
Bit
SO, SDA
−
Bit
SI, SCL
U
(Fixed)
U
(Fixed)
U
(Fixed)
U
(Fixed)
−
Bit
TA0IN
−
Bit
INT1, TA1OUT
−
Bit
INT0
−
Bit
INT2, TA3OUT
−
Bit
INT3, TB0OUT0
−
Bit
INT4, TB1IN0
−
Bit
INT5, TB1IN1
−
Bit
TB1OUT0
−
Bit
TB1OUT1
−
Bit
TXD0
−
Bit
RXD0
−
Bit
SCLK0,
−
Bit
TXD1
−
Bit
RXD1
−
Bit
SCLK1,
−
Bit
−
Bit
−
(Fixed)
AN0
−
(Fixed)
AN1
−
(Fixed)
AN2
−
(Fixed)
AN3,
−
(Fixed)
AN4
−
(Fixed)
AN5
−
(Fixed)
AN6
−
(Fixed)
AN7
TMP92CM22
Pin Names for Built-In
Function
W
CTS0
CTS1
ADTRG
2007-02-16