MITSUBISHI MICROCOMPUTERS
M37754M8C-XXXGP, M37754M8C-XXXHP
M37754S4CGP, M37754S4CHP
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
When timer Bi is read, the contents of the reload register is read.
Note that in this mode, the interval between the fall of the TBiIN pin
input signal to the next rise or from the rise to the next fall must be at
least two cycles of the timer count source.
Timer Bi overflow flag which is bit 5 of timer Bi mode register is set to
“1” when the timer Bi counter reaches 000016, which indicates that a
pulse width or pulse period is longer than that which can be mea-
sured by a 16-bit length.
This flag is cleared by writing data to the corresponding timer Bi
mode register. This bit is set to “1”at reset.
Selected clock
source Pfi
TBiIN
Reload register ← counter
Counter ← 0
Count start flag
Interrupt request signal
Fig. 39 Pulse period measurement mode operation (example of measuring the interval between the falling edge to next falling one)
Selected clock
source Pfi
TBiIN
Reload register ← counter
Counter ← 0
Count start flag
Interrupt request signal
Fig. 40 Pulse width measurement mode operation
35