Computer Hardware User's Manual

TMP92CM22
2007-02-16
92CM22-49
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.
Table 3.5.1 Port Function (R: U = with pull-up resistor)
Port
Names
Pin Names
Number
of Pins
Direction R
Direction
Setting Unit
Pin Names for Built-In
Function
Port 1 P10 to P17 8 I/O Bit D8 to D15
Port 4 P40 to P47 8 I/O* Bit* A0 to A7
Port 5 P50 to P57 8 I/O* Bit* A8 to A15
Port 6 P60 to P67 8 I/O* Bit* A16 to A23
P70 1 Output (Fixed)
RD
P71 1 Output (Fixed) WRLL
P72 1 Output (Fixed) WRLU
P73 1 Output (Fixed)
P74 1 Output (Fixed) CLKOUT
P75 1 Output (Fixed) R/
W
Port 7
P76 1 I/O Bit
WAIT
P80 1 Output (Fixed) CS0
P81 1 Output (Fixed) CS1
P82 1 Output (Fixed) CS2
Port 8
P83 1 Output (Fixed)
CS3
P90 1 I/O Bit SCK
P91 1 I/O Bit SO, SDA
Port 9
P92 1 I/O Bit SI, SCL
PA0 1 Input U (Fixed)
PA1 1 Input U (Fixed)
PA2 1 Input U (Fixed)
Port A
PA7 1 Input U (Fixed)
PC0 1 I/O Bit TA0IN
PC1 1 I/O Bit INT1, TA1OUT
PC3 1 I/O Bit INT0
PC5 1 I/O Bit INT2, TA3OUT
Port C
PC6 1 I/O Bit INT3, TB0OUT0
PD0 1 I/O Bit INT4, TB1IN0
PD1 1 I/O Bit INT5, TB1IN1
PD2 1 I/O Bit TB1OUT0
Port D
PD3 1 I/O Bit TB1OUT1
PF0 1 I/O Bit TXD0
PF1 1 I/O Bit RXD0
PF2 1 I/O Bit SCLK0, CTS0
PF3 1 I/O Bit TXD1
PF4 1 I/O Bit RXD1
PF5 1 I/O Bit SCLK1, CTS1
PF6 1 I/O Bit
Port F
PF7 1 I/O Bit
PG0 1 Input (Fixed) AN0
PG1 1 Input (Fixed) AN1
PG2 1 Input (Fixed) AN2
PG3 1 Input (Fixed) AN3, ADTRG
PG4 1 Input (Fixed) AN4
PG5 1 Input (Fixed) AN5
PG6 1 Input (Fixed) AN6
Port G
PG7 1 Input (Fixed) AN7
*: 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.