參數(shù)資料
型號: M38B40EFH-XXXXFP
廠商: Mitsubishi Electric Corporation
英文描述: SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
中文描述: 單芯片8位CMOS微機(jī)
文件頁數(shù): 55/78頁
文件大?。?/td> 1214K
代理商: M38B40EFH-XXXXFP
55
38B4 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
INTERRUPT INTERVAL DETERMINATION
FUNCTION
The 38B4 group has an interrupt interval determination circuit.
This interrupt interval determination circuit has an 8-bit binary up
counter. Using this counter, it determines a duration of time from the
rising edge (falling edge) of an input signal pulse on the P4
7
/INT
2
pin
to the rising edge (falling edge) of the signal pulse that is input next.
How to determine the interrupt interval is described below.
1. Enable the INT
2
interrupt by setting bit 2 of the interrupt control
register 1 (address 003E
16
). Select the rising interval or falling
interval by setting bit 2 of the interrupt edge selection register
(address 003A
16
).
2. Set bit 0 of the interrupt interval determination control register
(address 0031
16
) to “1” (interrupt interval determination operat-
ing).
3. Select the sampling clock of 8-bit binary up counter by setting bit
1 of the interrupt interval determination control register. When
writing “0”, f(X
IN
)/128 is selected (the sampling interval: 32 μs at
f(X
IN
) = 4.19 MHz); when “1”, f(X
IN
)/256 is selected (the sampling
interval: 64 μs at f(X
IN
) = 4.19 MHz).
4. When the signal of polarity which is set on the INT
2
pin (rising or
falling edge) is input, the 8-bit binary up counter starts counting up
of the selected counter sampling clock.
5. When the signal of polarity above 4 is input again, the value of the
8-bit binary up counter is transferred to the interrupt interval
determination register (address 0030
16
), and the remote control
interrupt request occurs. Immediately after that, the 8-bit binary
up counter continues to count up again from “00
16
”.
6. When count value reaches “FF
16
”, the 8-bit binary up counter stops
counting up. Then, simultaneously when the next counter sam-
pling clock is input, the counter sets value “FF
16
” to the interrupt
interval determination register to generate the counter overflow
interrupt request.
Fig. 60 Interrupt interval determination circuit block diagram
Noise Filter
The P4
7
/INT
2
pin builds in the noise filter.
The noise filter operation is described below.
1. Select the sampling clock of the input signal with bits 2 and 3 of
the interrupt interval determination control register. When not
using the noise filter, set “00”.
2. The P4
7
/INT
2
input signal is sampled in synchronization with the
selected clock. When sampling the same level signal in a series
of three sampling, the signal is recognized as the interrupt signal,
and the interrupt request occurs.
When setting bit 4 of interrupt interval determination control
register to “1”, the interrupt request can occur at both rising and
falling edges.
When using the noise filter, set the minimum pulse width of the
INT
2
input signal to 3 cycles or more of the sample clock.
Note:
In the low-speed mode (CM
7
= 1), the interrupt interval deter-
mination function cannot operate.
f(
f(
X
I
X
I
N
)
N
)
/
/
1
2
2
5
8
6
1
/
1
2
8
1
/
6
4
1
/
3
2
i
f(
X
I
N
)
C
c
o
l
u
c
n
k
t
e
s
r
l
s
e
a
c
m
t
i
p
n
l
i
n
b
g
i
o
e
o
t
IN
T
2
i
n
t
e
r
r
u
p
t
i
n
p
u
t
N
o
i
s
e
f
i
l
t
e
r
8
c
-
b
u
i
t
n
b
t
e
i
n
r
a
r
y
u
p
o
In
d
t
e
t
r
r
r
u
m
p
i
t
n
i
a
n
t
t
i
e
o
r
n
d
v
a
r
e
l
g
e
e
i
s
t
e
r
a
d
r
e
s
s
0
0
3
0
1
6
D
a
t
a
b
u
s
D
v
i
d
e
r
O
d
n
e
e
t
e
-
c
s
t
i
i
d
o
e
n
d
s
/
b
e
o
l
e
t
h
c
-
i
s
o
i
n
d
e
b
d
i
t
t
N
c
o
l
i
c
s
e
k
s
f
i
e
l
t
l
e
e
r
c
s
t
i
a
o
m
n
p
b
l
i
t
n
g
o
i
C
i
n
o
i
n
o
u
e
r
t
e
n
r
r
e
r
t
u
m
r
u
e
p
o
p
r
t
t
o
r
e
r
v
e
c
e
e
q
o
q
r
u
n
u
f
l
o
s
t
r
e
w
t
o
s
t
t
t
e
l
r
相關(guān)PDF資料
PDF描述
M38B40M1H-XXXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B40M2H-XXXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B40M3H-XXXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B40M4H-XXXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B40M5H-XXXXFP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M38B40M1H-XXXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B40M2H-XXXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B40M3H-XXXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B40M4H-XXXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38B40M5H-XXXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER