TMP91C824
91C824-53
Table 3.5.3 I/O Registers and Specifications (2/2)
X: Don’t care
I/O register
Port Pin
name
Specification
Pn PnCR
PnFC
PnFC2
Input port
X
P80 to P87
AN0 to 7 input
(note4)
X
Port 8
P83
______
ADTRG input
(note5)
X
None
Input port
X
0
0
PB0 to PB6
Output port
X
1
0
PB0 TA0IN
input
X
0
None
PB1 TA1OUT
output
X
1
1
PB2 TA3OUT
output
X
1
1
PB3 INT0
input
X
0
1
PB4 INT1
input
X
0
1
PB5 INT2
input
X
0
1
Port B
PB6 INT3
input
X
0
1
Input port
X
0
0
PC0 to PC5
Output port
X
1
0
PC0
TXD0 output (Note2)
1
1
1
PC1
RXD0 input (Note2) (Note6)
1
0
None
SCLK0 input (Note2)
1
0
0
SCLK0 output (Note2)
1
1
1
PC2
_____
CTS0 input (Note2)
1 0
0
PC3
TXD1 output (Note2)
1
1
1
PC4
RXD1 input (Note2)
1
0
None
SCLK1 input (Note2)
1
0
0
SCLK1 output (Note2)
1
1
1
Port C
PC5
_____
CTS1 input (Note2)
1 0
0
PD5 to PD7
Output port
X
0
PD5 SCOUT
output
X
1
/ALARM output
1
1
PD6
/MLDALM output
0
1
Port D
PD7 MLDALM
output
X
None
1
Input port (Without PU)
0
0
0
Input port (with PU)
1
0
0
PZ2 to PZ3
Output port
X
1
0
PZ2
____
HWR output
X 1
1
Port Z
PZ3
R/
__
W output
X 1
1
None
(note1): PORT1 is only use for PORT or DATA bus(D8 to D15) by setting AM1 and AM0 pins.
(note2): As for input ports of SIO1 and SIO2: (OPTRX0,OPTTX0,TXD0,TRX0,SCCLK0,/CTS0, TXD1,TRX1,SCCLK1,/CTS1),
logical selection for output data or input data is determined by the output latch register Pn of each port.
(note3): In case using P71 and P72 for SDA and SCL as open-drain ports, set to P7ODE<ODEP71:ODEP72>.
(note4): In case using P80 to P87 for analog input ports of A/D converter, set to ADMOD1<ADCH2:ADCH1:ADCH0>.
(note5): In case using P83 for ADTRG input port, set to ADMOD1<ADTRGE>.
(note6): In case using PC1 for RXD0 port, set “1” to P7FC2<P70FC>.