Overview; Timer Configuration - Oki ML63611 User Manual

Table of Contents

Advertisement

7. Timers (TIMER)
7.1

Overview

The ML63611 has four internal 8-bit timers (0 to 3). Timers 0 and 1, or timers 2 and 3, can be used in tandem as a
16-bit timer.
Timers 0 and 1 have three operation modes: auto-reload mode, capture mode and frequency measurement mode.
Timers 2 and 3 have two modes: auto-reload and frequency measurement. Timer clock may be set to the time base
clock (TBCCLK: 32.768 kHz), the high-speed clock (HSCLK), or an external clock. When using the timers as a
16-bit timer, the overflow signals of timers 0 and 2 are used as the clocks for timers 1 and 3, respectively.
Timers can be used not only for pulse generation and time measurement, but as baud rate generators used in serial
transmission.
8-bit timer
16-bit timer
Clock
Auto-reload mode
Capture mode
Frequency measurement mode
7.2

Timer Configuration

Figures 7-1 through 7-4 show the configuration of timers 0 to 3.
Data bus
TBCCLK
HSCLK
PB.2/T02CK
64 Hz
437C
PB.0/
TM0CAP
OPTION A (C): 1.5 V (3.0 V), Without regulator
circuit for LCD bias
Timer 0
(Timer 0 overflow signal is
used as clock for timer 1)
TM0CK
TM0CL
Control
circuit
Capture
Frequency
measurement
control circuit
TM0DL
Capture
control circuit
TM0CAP
16 kHz
8 kHz
4 kHz
2 kHz
1 kHz
512 Hz
256 Hz
128 Hz
64 Hz
Inside the IC
Figure 7-1 Timer 0 Configuration
Timer 1
TBCCLK/HSCLK/External clock (T02CK, T13CK)
4
4
TM0CH
OV
8
Reload
8
TM0CK
TM0DH
4
4
437C
7 – 1
OPTION B (D): 1.5 V (3.0 V), With regulator
ML63611 User's Manual
Chapter 7 Timers (TIMER)
Timer 2
Timer 3
(Timer 2 overflow signal is
used as clock for timer 3)
TM0 overflow
Q
D
TM0INT
D
Q
Q
R
RESETS
Inside the IC
circuit for LCD bias
PB.0/
TM0OVF

Advertisement

Table of Contents
loading

Table of Contents