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

M37478M4-458FP 参数 Datasheet PDF下载

M37478M4-458FP图片预览
型号: M37478M4-458FP
PDF下载: 下载PDF文件 查看货源
内容描述: 单片8位CMOS微机 [SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER]
分类和应用: 计算机
文件页数/大小: 47 页 / 666 K
品牌: MITSUBISHI [ Mitsubishi Group ]
 浏览型号M37478M4-458FP的Datasheet PDF文件第21页浏览型号M37478M4-458FP的Datasheet PDF文件第22页浏览型号M37478M4-458FP的Datasheet PDF文件第23页浏览型号M37478M4-458FP的Datasheet PDF文件第24页浏览型号M37478M4-458FP的Datasheet PDF文件第26页浏览型号M37478M4-458FP的Datasheet PDF文件第27页浏览型号M37478M4-458FP的Datasheet PDF文件第28页浏览型号M37478M4-458FP的Datasheet PDF文件第29页  
MITSUBISHI MICROCOMPUTERS  
7477/7478 GROUP  
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER  
I/O PORTS  
(5) Port P4  
(1) Port P0  
Port P4 is a 4-bit I/O port and has basically the same func-  
tions as port P0. In the 7477 group, this port is P40 and P41,  
a 2-bit I/O port. When this port is selected for input, pull-up  
transistor can be connected in units of 4-bit .  
Port P0 is an 8-bit I/O port with CMOS outputs. As shown in  
Figure 2, P0 can be accessed as memory through zero page  
address 00C016. Port P0’s direction register allows each bit to  
be programmed individually as input or output. The direction  
register (zero page address 00C116) can be programmed as  
input with “0”, or as output with “1”. When in the output mode,  
the data to be output is latched to the port latch and output.  
When data is read from the output port, the output pin level is  
not read, only the latched data of the port latch is read.  
Therefore, a previously output value can be read correctly  
even though the output voltage level has been shifted up or  
down. Port pins set as input are in the high impedance state  
so the signal level can be read. When data is written into the  
input port, the data is latched only to the output latch and the  
pin still remains in the high impedance state. Following the  
execution of STP or WIT instruction, key matrix with port P0  
can be used to generate the interrupt to bring the microcom-  
puter back in its normal state. When this port is selected for  
input, pull-up transistor can be connected in units of 1-bit.  
(6) Port P5  
Port P5 is a 4-bit input port and pull-up transistor can be con-  
nected in units of 4-bit. P50 and P51 are shared with clock  
generating circuit input/output pins.  
The 7477 group does not have this port.  
(7) INT0 pin (P30/INT0 pin)  
This is an interrupt input pin, and is shared with port P30.  
When “H” to “L” or “L” to “H” transition input is applied to this  
pin, the INT0 interrupt request bit (bit 0 of address 00FD16) is  
set to “1”.  
(8) INT1 pin (P31/INT1 pin)  
This is an interrupt input pin, and is shared with port P31.  
When “H” to “L” or “L” to “H” transition input is applied to this  
pin, the INT1 interrupt request bit (bit 1 of address 00FD16) is  
set to “1”.  
(9) Counter input CNTR0 pin (P32/CNTR0 pin)  
This is a timer input pin, and is shared with port P32.  
When this pin is selected to CNTR0 or CNTR1 interrupt input  
pin and “H” to “L” or “L” to “H” transition input is applied to this  
pin, the CNTR0 or CNTR1 interrupt request bit (bit 2 of ad-  
dress 00FD16) is set to “1”.  
(2) Port P1  
Port P1 has the same function as port P0. P12 – P17 serve  
dual functions, and the desired function can be selected by  
the program. When this port is selected for input, pull-up tran-  
sistor can be connected in units of 4-bit.  
(3) Port P2  
(10) Counter input CNTR1 pin (P33/CNTR1 pin)  
This is a timer input pin, and is shared with port P33.  
When this pin is selected to CNTR0 or CNTR1 interrupt input  
pin and “H” to “L” or “L” to “H” transition input is applied to this  
pin, the CNTR0 or CNTR1 interrupt request bit (bit 2 of ad-  
dress 00FD16) is set to “1”.  
Port P2 is an 8-bit input port. In the 7477 group, this port is  
P20 – P23, a 4-bit input port. This port can also be used as  
the analog voltage input pins.  
(4) Port P3  
Port P3 is a 4-bit input port.  
25  
 复制成功!