TMP91C824
91C824-51
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)
/CS0
P61
1 Output
−
(Fixed) /CS1
P62
1 Output
−
(Fixed) /CS2,/CS2A
P63
1 Output
−
(Fixed) /CS3
P64
1 Output
−
(Fixed) EA24,/CS2B
P65
1 Output
−
(Fixed) EA25,/CS2C
P66
1 Output
−
(Fixed) /CS2D
P67
1 Output
−
(Fixed) /CS2E
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/
CTS1
PortD
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 R/
__
W