欢迎访问ic37.com |
会员登录 免费注册
发布采购

M38226E8DFP 参数 Datasheet PDF下载

M38226E8DFP图片预览
型号: M38226E8DFP
PDF下载: 下载PDF文件 查看货源
内容描述: 单片8位CMOS微机 [SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER]
分类和应用: 计算机
文件页数/大小: 78 页 / 980 K
品牌: MITSUBISHI [ Mitsubishi Group ]
 浏览型号M38226E8DFP的Datasheet PDF文件第13页浏览型号M38226E8DFP的Datasheet PDF文件第14页浏览型号M38226E8DFP的Datasheet PDF文件第15页浏览型号M38226E8DFP的Datasheet PDF文件第16页浏览型号M38226E8DFP的Datasheet PDF文件第18页浏览型号M38226E8DFP的Datasheet PDF文件第19页浏览型号M38226E8DFP的Datasheet PDF文件第20页浏览型号M38226E8DFP的Datasheet PDF文件第21页  
MITSUBISHI MICROCOMPUTERS  
3822 Group  
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER  
I/O PORTS  
b7  
b0  
Direction Registers (ports P2, P41-P47, and  
P5-P7)  
PULL register A  
(PULLA: address 001616)  
The 3822 group has 49 programmable I/O pins arranged in seven  
I/O ports (ports P0P2, P41P47 and P5-P7). The I/O ports P2,  
P41P47 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.  
P00P07 pull-down  
P10P17 pull-down  
P20P27 pull-up  
P34P37 pull-down  
P70, P71 pull-up  
Not used (return 0when read)  
When 0is written to the bit corresponding to a pin, that pin be-  
comes an input pin. When 1is written to that bit, that pin be-  
comes an output pin.  
b7  
b0  
PULL register B  
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.  
(PULLB : address 001716)  
P41P43 pull-up  
P44P47 pull-up  
P50P53 pull-up  
P54P57 pull-up  
P60P63 pull-up  
P64P67 pull-up  
Not used (return 0when read)  
Direction Registers (ports P0 and P1)  
Ports P0 and P1 have direction registers which determine the in-  
put/output direction of each individual port.  
0: Disable  
1: Enable  
Each port in a direction register corresponds to one port, each port  
can be set to be input or output. When 0is written to the bit 0 of  
a direction register, that port becomes an input port. When 1is  
written to that port, that port becomes an output port. Bits 1 to 7 of  
ports P0 and P1 direction registers are not used.  
Note: The contents of PULL register A and PULL register B  
do not affect ports programmed as the output port.  
Fig. 14 Structure of PULL register A and PULL register B  
Ports P3 and P40  
These ports are only for input.  
Pull-up/Pull-down Control  
By setting the PULL register A (address 001616) or the PULL reg-  
ister B (address 001716), ports except for port P40 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.  
17  
 复制成功!