參數(shù)資料
型號: M37640E8FS
廠商: Mitsubishi Electric Corporation
英文描述: SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
中文描述: 單芯片8位CMOS微機
文件頁數(shù): 19/96頁
文件大?。?/td> 1477K
代理商: M37640E8FS
19
Ver 1.4
MITSUBISHI MICROCOMPUTERS
7640 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
1.14.1.3 Port P4
Port 4 is a 5-bit general purpose I/O port that can be
configured to access special second functions. The
port can be set up in any configuration in all three pro-
cessor modes.
Port P4
0
This pin is multiplexed with the EDMA (Extended
Data Memory Access) function. When the MCU is in
memory expansion or microprocessor mode and
CPMB4 is set to “1”, this pin operates as the EDMA
output as described in section 1.12.6.
Port P4
1
- P4
2
These pins are multiplexed with external interrupts 0
and 1 (INT0 and INT1). The external interrupt function
is enabled by setting the bits to “1” in the interrupt
control register that correspond to INT0 and INT1.
The interrupt polarity register can be configured to de-
fine INT0 and INT1 as active high or low interrupts.
See section 1.15.1 for more information on configur-
ing interrupts.
Port P4
3
- P4
4
These pins are multiplexed with Timer X and Y func-
tions for P4
3
and P4
4
respectively. The timer
functions of the pins are independently defined by
configuring the timer peripheral. P4
3
acts as Timer X
input pin for pulse width measurement mode and
event counter mode or as Timer X output pin for pulse
output mode. P4
3
can also be used as an external in-
terrupt (CNTR0) when Timer X in not in output mode.
The polarity is selected in the Timer X mode register.
The external interrupt function is enabled by setting
the bit to “1” in the interrupt control register that corre-
sponds to CNTR0. See section 1.15.1 for more
information on configuring interrupts.
P4
4
acts as Timer Y input pin for pulse period mea-
surement mode, pulse H-L measurement mode, and
event counter mode or as Timer Y output pin for pulse
output mode. P4
3
can also be used as an external in-
terrupt (CNTR1) when Timer Y in not in output mode.
The polarity is selected in the Timer Y mode register.
The external interrupt function is enabled by setting
the bit to “1” in the interrupt control register that corre-
sponds to CNTR1. See section 1.15.1 for more
information on configuring interrupts.
Fig. 1.16. Port P4 Block Diagram
Direction Register
Data Bus
Port Latch
CPMB4
EDMA Signal
Direction Register
Data Bus
Port Latch
CNTR0, 1 Input
Timer X, Y Output
Timer Counter Input Enable
Pulse Output Mode Enable
Direction Register
Data Bus
Port Latch
Interrupt Input
Port P4
0
Port P4
1
and P4
2
Port P4
3
and P4
4
相關(guān)PDF資料
PDF描述
M37640M8-XXXFP SINGLE CHIP 8 BIT CMOS MICROCOMPUTER
M37640M8-111FP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37640M8-126FP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37640E8 SINGLE-CHIP 8-BIT CMOS MICROCONTROLLER
M37641F8-XXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M37640M4T 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37640M8-111FP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37640M8-126FP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37640M8-XXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE CHIP 8 BIT CMOS MICROCOMPUTER
M37641F8E8-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER