upd70f3402 Renesas Electronics Corporation., upd70f3402 Datasheet - Page 358

no-image

upd70f3402

Manufacturer Part Number
upd70f3402
Description
32-/16-bit Single-chip Microcontroller With Can Interface
Manufacturer
Renesas Electronics Corporation.
Datasheet
9.4 Operation
9.4.1 Interval timer mode
In the interval timer mode, a match interrupt signal (INTTM0EQ0) is output when the value of the 16-bit
counter matches the value of TMM0 compare register 0 (TM0CMP0). At the same time, the counter is
cleared to 0000H and starts counting up.
When FFFFH is set to the TM0CMP0 register, timer M performs an operation similar to that in the
free-running mode.
Caution:
9.4.2 Clock generator and clock enable timing
Because the second clock is the first pulse of the timer count-up signal when the TM0CE bit is changed
from 0 to 1, the timer counts one clock less.
358
To set the interval time to M clocks, set M - 1 to the TM0CMP0 register.
Clock enable signal
Clock for counting
(internal signal)
16-bit counter
INTTM0EQ0
Count clock
TM0CMP0
Count clock
TM0CE bit
Figure 9-5: Count Operation Start Timing
Figure 9-4: Interval Timer Mode Timing
Chapter 9 16-Bit Interval Timer M
User’s Manual U16702EE3V2UD00
M – 2
M – 1
M
M
0000H
0001H

Related parts for upd70f3402