tmp89fm42a TOSHIBA Semiconductor CORPORATION, tmp89fm42a Datasheet - Page 132

no-image

tmp89fm42a

Manufacturer Part Number
tmp89fm42a
Description
8 Bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
tmp89fm42aUG
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
RA006
Port P2 function control
Port P2 output control
Port P2 built-in pull-up resistor control
Port P2 input data
P2OUTCR
(0x0F36)
(0x0F43)
(0x0F29)
(0x000F)
P2PRD
P2FC
P2PU
Note:* : Don’t care
Function
Function
Function
Read/Write
Read/Write
Read/Write
Read/Write
Bit Symbol
Bit Symbol
Bit Symbol
Bit Symbol
After reset
After reset
After reset
After reset
Function
0:
1:
0:
1:
0:
1:
C-MOS output
Open drain output
The built-in pull-up resistor is not connec-
ted.
The built-in pull-up resistor is connected.
(The resistor is connected only when the
port is used in the input mode or as the
open drain output. Under any other condi-
tions, setting to "1" does not make the
resistor connected.)
If the port is used in the input mode or as
the open drain output, the contents of the
port are read. If not, "0" is read.
P2OUT7
P2PRD7
P2PU7
R/W
R/W
R
R
7
0
7
0
7
0
7
*
-
Table 8-9 P2PRD Read Value (P20 to P22, P25 to P27)
P2CRi
0
1
1
P2OUT6
P2PRD6
Set condition
P2PU6
R/W
R/W
R
0
R
6
6
0
6
0
6
*
-
P2OUTCRi
Port function
0
1
*
SCLK0 (O)
P2OUT5
P2PRD5
P2PU5
P2FC5
R/W
R/W
R/W
R
5
0
5
0
5
0
5
Page 113
*
The contents of the port are
read without condition.
SCL0 (I/O)
P2PRD4
P2PRDi read value
P2FC4
Contents of port
Contents of port
R/W
R
4
0
4
R
0
4
R
0
4
*
-
-
"0"
SDA0 (I/O)
P2PRD3
SO0 (O)
P2FC3
R/W
R
0
R
0
R
3
0
3
3
3
-
-
*
C-MOS output
Open drain output
The built-in pull-up resistor is not connec-
ted.
The built-in pull-up resistor is connected.
(The resistor is connected only when the
port is used in the input mode or as the
open drain output. Under any other condi-
tions, setting to "1" does not make the
resistor connected.)
If the port is used in the input mode or as
the open drain output, the contents of the
port are read. If not, "0" is read.
SCLK0 (O)
P2OUT2
P2PRD2
P2PU2
P2FC2
R/W
R/W
R/W
R
2
0
2
0
2
0
2
*
TXD0 (O)
P2OUT1
P2PRD1
P2FC1
P2PU1
R/W
R/W
R/W
R
1
0
1
0
1
0
1
*
TMP89FM42A
TXD0 (O)
P2OUT0
P2PRD0
SO0 (O)
P2PU0
P2FC0
R/W
R/W
R/W
R
0
0
0
0
0
0
0
*

Related parts for tmp89fm42a