參數(shù)資料
型號: M38C2XMX
廠商: Mitsubishi Electric Corporation
英文描述: SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
中文描述: 單芯片8位CMOS微機(jī)
文件頁數(shù): 26/63頁
文件大?。?/td> 1000K
代理商: M38C2XMX
26
38C2 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
Fig. 22 Waveform of PWM/IGBT
(5) Event Counter Mode
The timer counts signals input through the CNTR
0
pin. In this mode,
timer X operates as the 18-bit counter by setting the timer X register
(extension). When using this mode, set the port sharing the CNTR
0
pin to input mode.
In this mode, the window control can be performed by the timer 1
underflow. When the bit 5 (data for control of event counter window)
of the timer X mode register is set to
1
, counting is stopped at the
next timer 1 underflow. When the bit is set to
0
, counting is re-
started at the next timer 1 underflow.
(6) Pulse Width Measurement Mode
In this mode, the count source is the output of frequency divider for
timer. In this mode, timer X operates as the 18-bit counter by setting
the timer X register (extension). When the bit 6 of the CNTR
0
active
edge switch bits is
0
, counting is executed during the
H
interval of
CNTR
0
pin input. When the bit is
1
, counting is executed during the
L
interval of CNTR
0
pin input. When using this mode, set the port
sharing the CNTR
0
pin to input mode.
I
Notes on Timer X
(1) Write Order to Timer X
In the timer mode, pulse output mode, event counter mode and
pulse width measurement mode, write to the following registers in
the order as shown below;
the timer X register (extension),
the timer X register (low-order),
the timer X register (high-order).
Do not write to only one of them.
When the above mode is set and timer X operates as the 16-bit
counter, if the timer X register (extension) is never set after reset is
released, setting the timer X register (extension) is not required. In
this case, write the timer X register (low-order) first and the timer X
register (high-order). However, once writing to the timer X register
is executed, note that the value is retained to the reload latch.
In the IGBT and PWM modes, do not write
1
to the timer X register
(extension). Also, when
1
is already written to the timer X register,
be sure to write
0
to the register before using.
Write to the following registers in the order as shown below;
the compare register (high- and low-order),
the timer X register (extension),
the timer X register (low-order),
the timer X register (high-order).
It is possible to use whichever order to write to the compare regis-
ter (high- and low-order). However, write both the compare register
and the timer X register at the same time.
(2) Read Order to Timer X
In all modes, read the following registers in the order as shown below;
the timer X register (extension),
the timer X register (high-order),
the timer X register (low-order).
When reading the timer X register (extension) is not required, read
the timer X register (high-order) first and the timer X register (low-
order).
Read order to the compare register is not specified.
If reading to the timer X register during write operation or writing to
it during read operation is performed, normal operation will not be
performed.
(3) Write to Timer X
When writing a value to the timer X address to write to the latch
only, the value is set into the reload latch and the timer is updated
at the next underflow. Normally, when writing a value to the timer X
address, the value is set into the timer and the timer latch at the
same time, because they are written at the same time.
When writing to the latch only, if the write timing to the high-order
reload latch and the underflow timing are almost the same, the value
is set into the timer and the timer latch at the same time. In this time,
counting is stopped during writing to the high-order reload latch.
Do not switch the timer count source during timer count operation.
Stop the timer count before switching it.
t
s
Timer X count
source
T
P
I
G
i
m
W
B
e
M
T
r
X
m
m
o
o
d
d
e
e
(
n
-
m
+
1
)
t
s
m
t
s
(
n
+
1
)
t
s
W
t
h
D
P
h
e
u
e
e
f
t
y
r
i
n
o
o
l
:
d
t
o
(
:
h
e
w
n
(
i
m
n
T
n
i
m
g
+
1
+
1
e
W
)
/
(
r
X
M
n
+
t
s
w
1
s
(
e
t
a
t
i
v
n
e
g
f
o
v
r
a
m
l
u
e
i
s
=
o
u
n
t
p
a
u
n
t
d
;
t
h
e
c
o
m
p
a
r
e
r
e
g
i
s
t
e
r
s
e
t
t
i
n
g
v
a
l
u
e
=
m
,
l
P
-
)
t
)
s
:
p
e
r
i
o
d
o
f
t
i
m
e
r
X
c
o
u
n
t
s
o
u
r
c
e
)
相關(guān)PDF資料
PDF描述
M44C090 Low-Current Microcontroller for Wireless Communication
M44C090-H Low-Current Microcontroller for Wireless Communication
M44C890 Low-Current Microcontroller for Wireless Communication
M44C890-H Low-Current Microcontroller for Wireless Communication
M4N25 6-Pin DIP Optoisolators Transistor Output
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M38C30E1A 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38C30E1AXXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38C30E1AXXXFS 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38C30E1M 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M38C30E1MXXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER