M30622MA-XXXFP RENESAS [Renesas Technology Corp], M30622MA-XXXFP Datasheet - Page 340

no-image

M30622MA-XXXFP

Manufacturer Part Number
M30622MA-XXXFP
Description
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Timer B
2.3.7 Precautions for Timer B (pulse period/pulse width measurement mode)
(1) The timer Bi interrupt request bit goes to “1” when an effective edge of a measurement pulse
(2) If the timer overflow occurs simultaneously with the input of a measurement pulse, and if the
(3) When reset, the timer Bi overflow flag goes to “1”. This flag can be set to “0” by writing to the
(4) Use the timer Bi interrupt request bit to detect only overflows. Use the timer Bi overflow flag
(5) When the first effective edge is input after a count is started, an indeterminate value is trans-
(6) The value of the counter is indeterminate at the beginning of a count. Therefore the timer Bi
(7) If changing the measurement mode select bit is set after a count is started, the timer Bi
(8) If the input signal to the TBi
(9) For pulse width measurement, pulse widths are successively measured. Use software to
is input or timer Bi is overflowed. The factor of interrupt request can be determined by use of
the timer Bi overflow flag within the interrupt routine.
interrupt factor cannot be determined from the timer Bi overflow flag, connect the timers and
count the number of overflows.
timer Bi mode register when the count start flag is “1”.
only to determine the interrupt factor within the interrupt routine.
ferred to the reload register. At this time, timer Bi interrupt request is not generated.
overflow flag may go to “1” immediately after a count is started.
interrupt request bit goes to “1”.
performed in some cases. It is recommended to see that measurements fall within a specific
range by use of software.
check whether the measurement result is an “H” level width or an “L” level width.
IN
pin is affected by noise, precise measurement may not be
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Mitsubishi microcomputers
M16C / 62 Group
325

Related parts for M30622MA-XXXFP