ML63611 User’s Manual
Chapter 7 Timers (TIMER)
7 – 3
OPTION B (D): 1.5 V (3.0 V), With regulator
circuit for LCD bias
OPTION A (C): 1.5 V (3.0 V), Without regulator
circuit for LCD bias
7.3
Timer Registers
The following four types of registers are used for timer control.
(1) Timer data registers
(TM0DL, TM0DH, TM1DL, TM1DH, TM2DL, TM2DH, TM3DL, TM3DH)
(2) Timer counter registers
(TM0CL, TM0CH, TM1CL, TM1CH, TM2CL, TM2CH, TM3CL, TM3CH)
(3) Timer control registers
(TM0CON0, TM0CON1, TM1CON0, TM1CON1, TM2CON0, TM2CON1, TM3CON0, TM3CON1)
(4) Timer status registers
(TM0STAT, TM1STAT, TM2STAT, TM3STAT)
The registers are described below for each type.
(1) Timer data registers
(TM0DL, TM0DH, TM1DL, TM1DH, TM2DL, TM2DH, TM3DL, TM3DH)
•
During the auto-reload mode, timer data registers store the reload values.
•
During the capture mode, timer data registers store the capture data.
Writing to a timer data register causes the contents of the timer counter register to be transferred to the
timer data register.
•
At system reset, all valid bits are cleared to “0”.
•
Note regarding register values:
When a value is written to any timer counter register, the same value is also written to the corresponding
timer data register.
However, when writing to a timer data register, the same value is not written to the corresponding timer
counter register.
Timer 0 Registers
Timer 1 Registers
T0D3
T0D2
T0D1
T0D0
(068H)
(R/W)
TM0DL
(Timer 0 lower)
bit 3
bit 2
bit 1
bit 0
T0D7
T0D6
T0D5
T0D4
(069H)
(R/W)
TM0DH
(Timer 0 upper)
bit 3
bit 2
bit 1
bit 0
T1D3
T1D2
T1D1
T1D0
(06AH)
(R/W)
TM1DL
(Timer 1 lower)
bit 3
bit 2
bit 1
bit 0
T1D7
T1D6
T1D5
T1D4
(06BH)
(R/W)
TM1DH
(Timer 1 upper)
bit 3
bit 2
bit 1
bit 0
Summary of Contents for ML63611
Page 9: ...Chapter 1 Overview...
Page 33: ...Chapter 2 CPU and Memory Spaces...
Page 42: ...Chapter 3 CPU Control Functions...
Page 49: ...Chapter 4 Interrupt INT...
Page 62: ...Chapter 5 Clock Generator Circuit OSC...
Page 71: ...Chapter 6 Time Base Counter TBC...
Page 75: ...Chapter 7 Timers TIMER...
Page 99: ...Chapter 8 100 Hz Timer Counter 100HzTC...
Page 103: ...Chapter 9 Watchdog Timer WDT...
Page 108: ...Chapter 10 Ports INPUT I O PORT...
Page 140: ...Chapter 11 Melody Driver MELODY...
Page 152: ...Chapter 12 Serial Port SIO...
Page 179: ...Chapter 13 LCD Driver LCD...
Page 200: ...Chapter 14 Battery Low Detect Circuit BLD...
Page 204: ...Chapter 15 Power Supply Circuit POWER...
Page 215: ...Chapter 16 A D Converter ADC...
Page 238: ...Appendixes...