參數(shù)資料
型號(hào): M38C13E6HP
廠商: Mitsubishi Electric Corporation
英文描述: SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
中文描述: 單芯片8位CMOS微機(jī)
文件頁數(shù): 13/59頁
文件大?。?/td> 1063K
代理商: M38C13E6HP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
38C1 Group
13
I/O PORTS
Direction Registers (Ports P2–P6)
The I/O ports (P2
P6) have direction registers which determine
the input/output direction of each individual pin.
When
0
is written to the bit corresponding to a pin, that pin be-
comes an input pin. When
1
is written to that bit, that pin be-
comes an output pin.
If data is read from a pin set to output, the value of the port output
latch is read, not the value of the pin itself. Pins set to input are
floating. If a pin set to input is written to, only the port output latch
is written to and the pin remains floating.
Pull-up/Pull-down Control
By setting the PULL register (address 0033
16
), I/O ports can con-
trol pull-up/pull-down (pins also used as segment output pin: pull-
down, other pins: pull-up). Pull-up/pull-down of pins are performed
by setting the PULL register to
1
.
However, the contents of PULL register does not affect ports pro-
grammed as the output ports.
Input port P0 and I/O port P2 are pulled-down in the initial state.
Also, the pull-down setting is invalid for pins set to segment output
with the segment output enable register (address 0038
16
).
Fig. 11 Structure of PULL register
b7
b
0
P
(
U
P
L
L
L
L
r
e
:
g
a
i
s
d
t
e
r
r
s
U
d
e
s
0
0
3
3
1
6
,
i
n
i
t
i
a
l
v
a
l
u
e
:
0
7
1
6
)
P2
0
P2
3
pull-down
P2
4
P2
7
pull-down
P3
0
P3
4
pull-up
P4
4
P4
7
pull-up
P5
0
P5
3
pull-up
P5
4
P5
7
pull-up
P6
0
P6
4
pull-up
Note
Note: These ports are invalid when selecting SEG.
P0
0
P0
7
pull-down
相關(guān)PDF資料
PDF描述
M38C24M6-051HP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38C24M4-XXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38C24M4-XXXHP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38C24M6-XXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38C24M6-XXXHP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M38C13RLFS 制造商:Renesas Electronics Corporation 功能描述:EMULATION MCU/8BIT CMOS EMULATION CHIP - Bulk
M38C24M4-XXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38C24M4-XXXHP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38C24M6-051HP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38C24M6-XXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER