tmp89fm82t TOSHIBA Semiconductor CORPORATION, tmp89fm82t Datasheet - Page 126

no-image

tmp89fm82t

Manufacturer Part Number
tmp89fm82t
Description
8 Bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
8.3
I/O Port Registers
RA000
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
P2PU
P2FC
Note 1: * : Don’t care
Note 2: i = 0 to 7
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 connected.
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 conditions, 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-8 P2PRD Read Value
P2CRi
Port function
0
1
1
MISO(I/O)
P2OUT6
P2PRD6
Set condition
P2FC6
P2PU6
R/W
R/W
R/W
R
6
0
6
0
6
0
6
*
P2OUTCRi
*
0
1
MOSI(I/O)
TXD1 (O)
P2OUT5
P2PRD5
P2FC5
P2PU5
R/W
R/W
R/W
R
5
0
5
0
5
0
5
Page 110
*
SECLK (I/
P2OUT4
P2PRD4
P2PRDi read value
P2FC4
P2PU4
Contents of port
Contents of port
R/W
R/W
R/W
O)
R
4
0
4
0
4
0
4
*
"0"
P2OUT3
P2PRD3
P2PU3
R/W
R/W
R
R
3
0
3
0
3
0
3
-
*
Port func-
tion
SCLK0 (I/O)
P2OUT2
P2PRD2
P2PU2
P2FC2
R/W
R/W
R/W
R
2
0
2
0
2
0
2
*
P2OUT1
P2PRD1
P2PU1
R/W
R/W
R
R
1
0
1
0
1
0
1
-
*
TMP89FM82T
Port func-
tion
TXD0 (O)
P2OUT0
P2PRD0
SO0 (O)
P2FC0
P2PU0
R/W
R/W
R/W
R
0
0
0
0
0
0
0
*

Related parts for tmp89fm82t