tmp89fm42a TOSHIBA Semiconductor CORPORATION, tmp89fm42a Datasheet - Page 123

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
8.3
I/O Port Registers
RA006
Port P0 output latch
Port P0 input/output control
Port P0 function control
Port P0 built-in pull-up resistor control
(0x0F1A)
(0x0F34)
(0x0F27)
(0x0000)
P0DR
P0CR
P0PU
P0FC
Note:When P0FC0 is set to "1" (XIN(I) is selected as function), P0CR1 and P0CR0 must be clear to "0".
Note 1: To select the external high-frequency clock, the setting "1" to P0FC0 should be done before SYSCR2<XEN> is set to "1".
Note 2: Symbol "I" means secondary function input
Function
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
When P0FC0 is "0", the setting "1" to SYSCR2<XEN> generates a system clock (internal factor) reset.
After reset
0:
1:
0:
1:
0:
1:
0:
1:
R
R
R
R
7
0
7
0
7
0
7
0
-
-
-
-
R
R
R
R
6
0
6
0
6
0
6
0
-
-
-
-
R
R
R
R
5
0
5
0
5
0
5
0
Page 104
-
-
-
-
R
R
R
R
4
0
4
0
4
0
4
0
-
-
-
-
Outputs L level when the output mode is selected.
Outputs H level when the output mode is selected.
Input mode (port input)
Output mode (port output)
The built-in pull-up resistor is not connected.
The built-in pull-up resistor is connected. (The resistor is
connected in the input mode only. Under any other con-
ditions, setting to "1" does not make the resistor connec-
ted.)
P0CR3
P0PU2
R/W
R/W
R/W
P03
R
3
0
3
0
3
0
3
0
-
Port func-
tion
XTIN (I)
P0CR2
P0PU2
P0FC2
R/W
R/W
R/W
R/W
P02
2
0
2
0
2
0
2
0
P0CR1
P0PU1
R/W
R/W
R/W
P01
R
1
0
1
0
1
0
1
0
-
TMP89FM42A
Port func-
tion
P0CR0
P0FC0
P0PU0
XIN (I)
R/W
R/W
R/W
R/W
P00
0
0
0
0
0
0
0
0

Related parts for tmp89fm42a