參數(shù)資料
型號: M38073M4-218FP
廠商: Mitsubishi Electric Corporation
英文描述: Low-Power Configurable Multiple-Function Gate 6-SOT-23 -40 to 85
中文描述: 單芯片8位CMOS微機
文件頁數(shù): 20/74頁
文件大小: 1182K
代理商: M38073M4-218FP
20
MITSUBISHI MICROCOMPUTERS
3807 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
I
Precautions
Set the double-function port of CNTR
0
/CNTR
1
pin to output in this
mode.
[During timer operation stop]
The output from CNTR
0
/CNTR
1
pin is initialized to the level set
through CNTR
0
/CNTR
1
active edge switch bit.
[During timer operation enabled]
When the value of the CNTR
0
/CNTR
1
active edge switch bit is writ-
ten over, the output level of CNTR
0
/CNTR
1
pin is inverted.
Figure 20 shows the timing chart of the pulse output mode.
(3) Pulse period measurement mode
Mode selection
This mode can be selected by setting "010" to the following bits.
Timer X operating mode bit (bits 2 to 0) of TXM
Timer Y operating mode bit (bits 2 to 0) of TYM
Count source selection
In high- or middle-speed mode, f(X
IN
)/2 or f(X
IN
)/16 can be selected
as the count source.
In low-speed mode the count source is f(X
CIN
).
Interrupt
The interrupt generation at underflow is the same as already
explained for the timer mode. Bits 0 or 1 of IREQ2 is set to "1"
synchronously to pulse period measurement completion.
Explanation of operation
[During timer operation stop]
Select the count source. Next, select the interval of the pulse
periods to be measured. When bit 5 of the TXM or TYM is set to
"0", the timer counts during the interval of one falling edge of CNTR
0
/
CNTR
1
pin input until the next falling edge of input. If bits 5 are set
to "1", the timer counts during the interval of one rising edge until
the next rising edge.
[During timer operation enabled]
The pulse period measurement starts by setting bit 0 or 1 of
TXYCON to "0" and the timer counts down from the value that was
set to the timer before the start of measurement. When a valid edge
of measurement start/stop is detected, the 1's complement of the
timer value is written to the timer latch and "FFFF
16
" is set to the
timer. Furthermore when the timer underflows, a timer X/Y interrupt
request occurs and "FFFF
16
" is set to the timer. The measured
value is held until the next measurement completion.
I
Precautions
Set the double-function port of CNTR
0
/CNTR
1
pin to input in this
mode.
A read-out of timer value is impossible in this mode. The timer is
written to only during timer stop (no measurement of pulse periods).
Since the timer latch in this mode is specialized for the read-out of
measured values, do not perform any write operations during
measurement.
The timer is set to "FFFF
16
" when the timer either underflows or a
valid edge of pulse period measurement is detected. Due to that, the
timer value at the start of measurement depends on the timer value
before the start of measurement.
Figure 19 shows the timing chart of the pulse period measurement
mode.
(4) Pulse width measurement mode
Mode selection
This mode can be selected by setting "011" to the following bits.
Timer X operating mode bit (bits 2 to 0) of TXM
Timer Y operating mode bit (bits 2 to 0) of TYM
Count source selection
In high- or middle-speed mode, f(X
IN
)/2 or f(X
IN
)/16 can be selected
as the count source.
In low-speed mode the count source is f(X
CIN
).
Interrupt
The interrupt generation at underflow is the same as already
explained for the timer mode. Bit 0 or 1 of IREQ2 is set to "1" syn-
chronously to pulse width measurement completion.
Explanation of operation
[During timer operation stop]
Select the count source. Next, select the interval of the pulse widths
to be measured. When bit 5 of TXM or TYM is set to "1", the timer
counts during the interval of one falling edge of CNTR
0
/CNTR
1
pin
input until the next rising edge of input ("L" interval). If bit 5 is set to
"0", the timer counts during the interval of one rising edge until the
next falling edge ("H" interval).
[During timer operation enabled]
The pulse width measurement starts by setting bit 0 or 1 of TXYCON
to "0" and the timer counts down from the value that was set to the
timer before the start of measurement. When a valid edge of
measurement completion is detected, the 1's complement of the
timer value is written to the timer latch and "FFFF
16
" is set to the
timer. Furthermore when the timer underflows, a timer X/Y interrupt
request occurs and "FFFF
16
" is set to the timer. The measured
value is held until the next measurement completion.
I
Precautions
Set the double-function port of CNTR
0
/CNTR
1
pin to input in this
mode.
A read-out of timer value is impossible in this mode. The timer is
written to only during timer stop (no measurement of pulse widths).
Since the timer latch in this mode is specialized for the read-out of
measured values, do not perform any write operations during mea-
surement.
The timer value is set to "FFFF
16
" when the timer either underflows
or a valid edge of pulse widths measurement is detected. Due to
that, the timer value at the start of measurement depends on the
timer value before the start of measurement.
Figure 20 shows the timing chart of the pulse width measurement
mode.
(5) Programmable waveform generation mode
Mode selection
This mode can be selected by setting "100" to the following bits.
Timer X operating mode bit (bits 2 to 0) of TXM
Timer Y operating mode bit (bits 2 to 0) of TYM
Count source selection
In high- or middle-speed mode, f(X
IN
)/2, f(X
IN
)/16, or f(X
CIN
) can be
selected as the count source.
In low-speed mode the count source is f(X
CIN
).
Interrupt
The interrupt generation at underflow is the same as already
相關(guān)PDF資料
PDF描述
M38073M4-242FP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38073M4-245FP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38073M4-XXXFP Low-Power Configurable Multiple-Function Gate 6-SOT-23 -40 to 85
M38073M4A00FP SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M3807 Single Chip 8 Bits Microcomputer(8位單片機)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M38078RFS 制造商:Renesas Electronics Corporation 功能描述:EMULATION MCU/8BIT CMOS EMULATION CHIP - Bulk
M3808 功能描述:電纜固定件和配件 LTRSCG 625 BLACK RoHS:否 制造商:Heyco 類型:Cable Grips, Liquid Tight 材料:Nylon 顏色:Black 安裝方法:Cable 最大光束直徑:11.4 mm 抗拉強度:
M3808 BK001 制造商:Alpha Wire Company 功能描述:CBL 10COND 18AWG BLK 1000'
M3808 BK002 制造商:Alpha Wire Company 功能描述:CBL 10COND 18AWG BLK 500'
M3808 BK005 制造商:Alpha Wire Company 功能描述:CBL 10COND 18AWG BLK 100'