TMP91C824
91C824-54
2008-02-20
Table 3.5.3 I/O Registers and Specifications (2/2)
I/O Register
Port Pin
Name
Specification
Pn PnCR
PnFC
PnFC2
Input port
X
P80 to P87
AN0 to 7 input
(Note 4)
X
Port 8
P83
ADTRG
input
(Note 5)
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
(Note 2)
1
1
1
PC1
RXD0 input
(Note 2) (Note 6)
1
0
None
SCLK0 input
(Note 2)
1
0
0
SCLK0 output
(Note 2)
1
1
1
PC2
0
CTS
input
(Note 2)
1
0
0
PC3
TXD1 output
(Note 2)
1
1
1
PC4
RXD1 input
(Note 2)
1
0
None
SCLK1 input
(Note 2)
1
0
0
SCLK1 output
(Note 2)
1
1
1
Port C
PC5
1
CTS
input
(Note 2)
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
W
/
R
output
X
1
1
None
X: Don’t care
Note 1: Port 1 is only use for Port or DATA bus (D8 to D15) by setting AM1 and AM0 pins.
Note 2: As for input ports of SIO0 and SIO1 (OPTRX0, OPTTX0, TXD0, RXD0, SCLK0,
CTS0
, TXD1,
RXD1, SCLK1,
CTS1
), logical selection for output data or input data is determined by the
output latch register Pn of each port.
Note 3:
In case using P71 and P72 for SDA and SCL as open-drain ports, set to P7ODE
<ODEP71:72>.
Note 4: In case using P80 to P87 for analog input ports of AD converter, set to ADMOD1 <ADCH2:0>.
Note 5: In case using P83 for
ADTRG
input port, set to ADMOD1<ADTRGE>.
Note 6: In case using PC1 for RXD0 port, set 0 to P7FC2<P70F2>.