
ML610Q421/ML610Q422/ML610421 User’s Manual
Chapter 7 Time Base Counter
7 – 1
7. Time Base Counter
7.1 Overview
This LSI includes a low-speed time base counter (LTBC) and a high-speed time base counter (HTBC) that generate base
clocks for peripheral circuits. By using the time base counter, it is possible to generate events periodically.
For input clocks, see Chapter 6, “Clock Generation Circuit”. For interrupt permission, interrupt request flags, etc.,
described in this chapter, see Chapter 5, “Interrupts”.
7.1.1
Features
•
LTBC generates T32KHZ to T1HZ signals by dividing the low-speed clock (LSCLK) frequency.
•
LTBC allows frequency adjustment (Adjustment range: Approx.
−
488ppm to +488ppm. Adjustment accuracy:
Approx. 0.48ppm) by using the low-speed time base counter frequency adjustment registers (LTBADJH and
LTBADJL).
•
HTBC generates HTB1 to HTB32 signals by dividing the high-speed clock (HSCLK) frequency.
•
Capable of generating 128Hz , 32Hz , 16Hz , and 2Hz interrupts.
7.1.2
Configuration
Figure 7-1 and Figure 7-2 show the configuration of a low-speed time base counter and a high-speed time base counter,
respectively.
LTBR
: Low-speed time base counter register
LTBADJL
: Low-speed time base counter frequency adjust register
LTBADJH
: Low-speed time base counter frequency adjust register
Figure 7-1 Configuration of Low-Speed Time Base Counter (LTBC)
LSCLK
(32.768 kHz)
7-bit Counter
R
LTBR
8-bit Counter
R
RESET
(Internal signal)
LTBR Write
LTBADJL
LTBDJH
8
Data bus
T2HZ
T4HZ
T8HZ
T16HZ
T32HZ
T64HZ
T128HZ
T256HZ
T512HZ
T1KHZ
T2KHZ
T4KHZ
T8KHZ
T16KHZ
T32KHZ
T1HZ
8
Summary of Contents for ML610421
Page 1: ...ML610Q421 ML610Q422 ML610421 User s Manual Issue Date Feb 9 2015 FEUL610Q421 06...
Page 15: ...Chapter 1 Overview...
Page 44: ...Chapter 2 CPU and Memory Space...
Page 49: ...Chapter 3 Reset Function...
Page 53: ...Chapter 4 MCU Control Function...
Page 69: ...Chapter 5 Interrupts INTs...
Page 93: ...Chapter 6 Clock Generation Circuit...
Page 110: ...Chapter 7 Time Base Counter...
Page 121: ...Chapter 8 Capture...
Page 129: ...Chapter 9 1 kHz Timer 1kHzTM...
Page 135: ...Chapter 10 Timers...
Page 160: ...Chapter 11 PWM...
Page 172: ...Chapter 12 Watchdog Timer...
Page 180: ...Chapter 13 Synchronous Serial Port...
Page 195: ...Chapter 14 UART...
Page 216: ...Chapter 15 I2 C Bus Interface...
Page 231: ...Chapter 16 NMI Pin...
Page 237: ...Chapter 17 Port 0...
Page 246: ...Chapter 18 Port 1...
Page 252: ...Chapter 19 Port 2...
Page 259: ...Chapter 20 Port 3...
Page 270: ...Chapter 21 Port 4...
Page 282: ...Chapter 22 Port A...
Page 290: ...Chapter 23 Melody Driver...
Page 304: ...Chapter 24 RC Oscillation Type A D Converter...
Page 327: ...Chapter 25 Successive Approximation Type A D Converter...
Page 338: ...Chapter 26 LCD Drivers...
Page 371: ...Chapter 27 Battery Level Detector...
Page 378: ...Chapter 28 Power Supply Circuit...
Page 381: ...Chapter 29 On Chip Debug Function...
Page 384: ...Appendixes...
Page 435: ...Revision History...