参数资料
型号: M38227E7FP
厂商: Mitsubishi Electric Corporation
英文描述: SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
中文描述: 单芯片8位CMOS微机
文件页数: 17/78页
文件大小: 998K
代理商: M38227E7FP
17
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
3822 Group
MITSUBISHI MICROCOMPUTERS
I/O PORTS
Direction Registers (ports P2, P4
1
-P4
7
, and
P5-P7)
The 3822 group has 49 programmable I/O pins arranged in seven
I/O ports (ports P0
P2, P4
1
P4
7
and P5-P7). The I/O ports P2,
P4
1
P4
7
and P5-P7 have direction registers which determine the
input/output direction of each individual pin. Each bit in a direction
register corresponds to one pin, and each pin can be set to be in-
put port or output port.
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.
Direction Registers (ports P0 and P1)
Ports P0 and P1 have direction registers which determine the in-
put/output direction of each individual port.
Each port in a direction register corresponds to one port, each port
can be set to be input or output. When
0
is written to the bit 0 of
a direction register, that port becomes an input port. When
1
is
written to that port, that port becomes an output port. Bits 1 to 7 of
ports P0 and P1 direction registers are not used.
Ports P3 and P4
0
These ports are only for input.
Pull-up/Pull-down Control
By setting the PULL register A (address 0016
16
) or the PULL reg-
ister B (address 0017
16
), ports except for port P4
0
can control
either pull-down or pull-up (pins that are shared with the segment
output pins for LCD are pull-down; all other pins are pull-up) with
a program.
However, the contents of PULL register A and PULL register B do
not affect ports programmed as the output ports.
Fig. 14 Structure of PULL register A and PULL register B
P0
0
P0
7
pull-down
P1
0
P1
7
pull-down
P2
0
P2
7
pull-up
P3
4
P3
7
pull-down
P7
0
, P7
1
pull-up
Not used (return
0
when read)
P
(
P
U
L
L
L
r
A
e
g
:
i
s
d
t
e
d
r
r
e
A
s
U
L
a
s
0
0
1
6
1
6
)
b
7
b
0
P4
1
P4
3
pull-up
P4
4
P4
7
pull-up
P5
0
P5
3
pull-up
P5
4
P5
7
pull-up
P6
0
P6
3
pull-up
P6
4
P6
7
pull-up
Not used (return
0
when read)
:
1
:
0
D
E
i
n
s
a
a
b
b
l
e
e
l
P
(
P
U
L
L
L
r
B
e
g
:
i
a
s
t
d
e
d
r
r
B
e
U
L
s
s
0
0
1
7
1
6
)
b7
b
0
Note
: The contents of PULL register A and PULL register B
do not affect ports programmed as the output port.
相关PDF资料
PDF描述
M38220M8FP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38221M8FP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38222M8FP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38223M8FP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38224M8FP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
相关代理商/技术参数
参数描述
M38227ECFP 功能描述:IC 740 MCU EPROM 48K 80QFP RoHS:否 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 产品培训模块:CAN Basics Part-1 CAN Basics Part-2 Electromagnetic Noise Reduction Techniques Part 1 M16C Product Overview Part 1 M16C Product Overview Part 2 标准包装:1 系列:M16C™ M32C/80/87 核心处理器:M32C/80 芯体尺寸:16/32-位 速度:32MHz 连通性:EBI/EMI,I²C,IEBus,IrDA,SIO,UART/USART 外围设备:DMA,POR,PWM,WDT 输入/输出数:121 程序存储器容量:384KB(384K x 8) 程序存储器类型:闪存 EEPROM 大小:- RAM 容量:24K x 8 电压 - 电源 (Vcc/Vdd):3 V ~ 5.5 V 数据转换器:A/D 34x10b,D/A 2x8b 振荡器型:内部 工作温度:-20°C ~ 85°C 封装/外壳:144-LQFP 包装:托盘 产品目录页面:749 (CN2011-ZH PDF) 配用:R0K330879S001BE-ND - KIT DEV RSK M32C/87
M38227ECFP#U0 功能描述:MCU 3/5V 48K PB-FREE 80-QFP RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:740/38000 标准包装:250 系列:56F8xxx 核心处理器:56800E 芯体尺寸:16-位 速度:60MHz 连通性:CAN,SCI,SPI 外围设备:POR,PWM,温度传感器,WDT 输入/输出数:21 程序存储器容量:40KB(20K x 16) 程序存储器类型:闪存 EEPROM 大小:- RAM 容量:6K x 16 电压 - 电源 (Vcc/Vdd):2.25 V ~ 3.6 V 数据转换器:A/D 6x12b 振荡器型:内部 工作温度:-40°C ~ 125°C 封装/外壳:48-LQFP 包装:托盘 配用:MC56F8323EVME-ND - BOARD EVALUATION MC56F8323
M38227ECFS 制造商:Renesas Electronics Corporation 功能描述:MCU 8BIT 740 CISC 48KB EPROM 5V 80CLCC - Bulk
M38227FGFP 制造商:Renesas Electronics Corporation 功能描述:SLIM740 OTP 16K/512B RAM, W/A-D, LED, 4 - Rail/Tube
M38227RFS 制造商:Renesas Electronics Corporation 功能描述:MCU - Trays