![](http://datasheet.mmic.net.cn/30000/M30102M3-XXXFP_datasheet_2358631/M30102M3-XXXFP_131.png)
Under
development
Tentative Specifications REV.E1
Specifications in this manual are tentative and subject to change.
Mitsubishi microcomputers
M30100/M30102 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Usage precaution
131
Timer 1
(1) Even if the prescaler 1 and Timer 1 are read out simultaneously in word-size, these registers are read byte-
by-byte in the microcomputer. Consequently, the timer value may be updated during the period these two
registers are being read.
Timers X, Y and Z
(1) These timers stop counting after reset. Therefore, set values to Timer (X, Y, Z) and prescaler (X, Y, Z) before
starting counting.
(2) Even if prescaler (X, Y, Z) and Timer (X, Y, Z) are read out simultaneously in word-size, these registers are
read byte-by-byte in the microcomputer. Consequently, the timer value may be updated during the period
these two registers are being read.
Timer X
(1) Using in the timer X pulse period measurement mode, the effectaul edge rception flag and the timer X under
flow flag are setted to "0" by writing a "0" in a program. Writing a "1" has no effect. Write "1" in the other flag
by using the MOV instruction when you make the flag of either one side "0" by program. (The clearance of
the flag which isn't intend can be prevnted.)
Example:
MOV.B
#10XXXXXXB,008Bh
(2) When changing to the timer X pulse period measurement mode from other mode, the contents of the
effectaul edge rception flag and the timer X under flow flag are indetermind. Write "0" in the effectaul edge
rception flag and the timer X under flow flag before starting the timer.
Timer Y
(1) When count is stopped by writing "0" to the timer Y count start flag, the timer reloads the value of reload
register and stops. Therefore, the timer count value should be read out before the timer stops.
(2) When count is stopped by writing "0" to the timer Y count start flag, the timer Y interrupt request flag be-
comes "1" and an interrupt may occur. Thus, disable interrupts before the timer stops. Furthermore, set the
Timer Y interrupt request flag to "0" before starting the timer again.
Timer Z
(1) When count is stopped by writing "0" to the timer Z count start flag, the timer reloads the value of reload
register and stops. Therefore, the timer count value should be read out before the timer stops.
(2) When count is stopped by writing "0" to the timer Z count start flag (all modes) or by writing "0" to the one-
shot start bit (programmable one-shot generation mode/programmable wait one-shot generation mode), the
timer Z interrupt request flag becomes "1" and an interrupt may occur. Thus, disable interrupts before the
timer stops. Furthermore, set the Timer Z interrupt request flag to "0" before starting the timer again.