TMP91C824
91C824-52
2008-02-20
3.5 Port
Functions
The TMP91C824 features 56-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 lists I/O registers and their specifications.
Table 3.5.1 Port Functions
(R:
PU
=
with programmable pull-up resistor/U
=
with pull-up resistor)
Port Name
Pin Name
Number
of Pins
Direction
R
Direction
Setting Unit
Pin Name for Built-in
Function
Port 1
P10 to P17
8
I/O
−
Bit
D8 to D15
Port 2
P20 to P27
8
Output
−
(Fixed)
A16 to A23
Port 5
P54
1
I/O
PU
Bit
BUSRQ
P55
1
I/O
PU
Bit
BUSAK
P56
1
I/O
PU
Bit
WAIT
Port 6
P60
1
Output
−
(Fixed)
0
CS
P61
1
Output
−
(Fixed)
1
CS
P62
1
Output
−
(Fixed)
2
CS
,
A
2
CS
P63
1
Output
−
(Fixed)
3
CS
P64
1
Output
−
(Fixed)
EA24,
B
2
CS
P65
1
Output
−
(Fixed)
EA25,
C
2
CS
P66
1
Output
−
(Fixed)
D
2
CS
P67
1
Output
−
(Fixed)
E
2
CS
Port 7
P70
P71
P72
1
1
1
I/O
I/O
I/O
−
PU
PU
Bit
Bit
Bit
SCK,OPTRX0
SO/SDA,OPTTX0
SI/SCL
Port 8
P80 to P87
8
Input
−
(Fixed)
AN0
to
AN7,
ADTRG
(P83)
Port B
PB0
1
I/O
−
Bit
TA0IN
PB1
1
I/O
−
Bit
TA1OUT
PB2
1
I/O
−
Bit
TA3OUT
PB3
1
I/O
−
Bit
INT0
PB4
1
I/O
−
Bit
INT1
PB5
1
I/O
−
Bit
INT2
PB6
1
I/O
−
Bit
INT3
Port C
PC0
1
I/O
−
Bit
TXD0
PC1
1
I/O
−
Bit
RXD0
PC2
1
I/O
−
Bit
SCLK0/
0
CTS
PC3
1
I/O
−
Bit
TXD1
PC4
1
I/O
−
Bit
RXD1
PC5
1
I/O
−
Bit
SCLK1/
1
CTS
Port D
PD5
1
Output
−
(Fixed)
SCOUT
PD6
1
Output
−
(Fixed)
ALARM
,
MLDALM
PD7
1
Output
−
(Fixed)
MLDALM
Port Z
PZ2
1
I/O
PU
Bit
HWR
PZ3
1
I/O
PU
Bit
W
/
R