III PERIPHERAL BLOCK: CLOCK TIMER
III-7 CLOCK TIMER
Configuration of Clock Timer
The clock timer consists of an
The
Normally, this clock timer should be used for a clock and various other clocking functions. Figure 7.1 shows the structure of the clock timer.
Note: Since the clock timer is driven by a clock originating from the
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Internal data bus |
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OSC1 |
| fOSC1 |
|
| 256 Hz |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
oscillation |
| Divider |
|
| 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|
|
| seconds |
|
| minutes |
|
|
| hours |
|
|
| day | |||||||
|
|
|
|
|
| Hz | Hz | Hz | Hz | Hz | Hz | Hz | Hz |
|
|
|
|
|
|
|
|
|
|
| ||||||||||
circuit |
|
|
|
|
|
|
|
|
|
|
| counter |
|
| counter |
|
| counter |
|
| counter | |||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||||
32.768 kHz |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Clock timer Run/Stop
Clock timer reset
Interrupt generation
control circuit
Interrupt request |
| Interrupt/alarm |
|
|
|
|
|
|
|
| |
|
|
| Comparator | Comparator | Comparator | ||||||
| select circuit |
|
| ||||||||
(to interrupt controller) |
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
| Alarm generation |
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
| ||
|
| control circuit |
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
| ||||||
|
|
|
|
|
| comparison | comparison | comparison | |||
|
|
|
|
|
|
| data |
| data |
| data |
Figure 7.1 Structure of Clock Timer
CTM
S1C33L03 FUNCTION PART | EPSON |