English
Language : 

PD17012_15 Datasheet, PDF (116/320 Pages) Renesas Technology Corp – 4-BIT SINGLE-CHIP MICROCONTROLLERS WITH DIGITAL TUNING SYSTEM HARDWARE
µPD17012, 17P012
12. TIMER
The timers are used to control the program execution time.
12.1 General
Figure 12-1 illustrates the timers of the µPD17012.
As shown in this figure, the µPD17012 is provided with the following three timers:
• Basic timer 0
• Basic timer 1
• 12-bit timer (modulo timer)
Basic timer 0 is used to detect the status of a flip-flop that is set at fixed time intervals.
Basic timer 1 is used to issue an interrupt request at fixed time intervals.
The 12-bit timer is a modulo timer that issues an interrupt request at fixed time intervals.
Basic timer 0 can also be used to detect a power failure. The clock of each timer is generated by dividing the system
clock (4.5 MHz).
Figure 12-1. Outline of Timer
(a) Basic timer 0
4.5 MHz
(b) Basic timer 1
Clock select
block
FF
BTM0CY flag
(c) 12-bit timer
4.5 MHz
Clock select
block
Interrupt request
4.5 MHz
Clock select
block
Start/stop
12-bit counter
Match detection
Modulo register
Interrupt request
114
Data Sheet U10101EJ4V0DS