Timer Registers; Timer Data Registers; Timer Counter Registers - Oki ML63611 User Manual

Table of Contents

Advertisement

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
TM0DL
(Timer 0 lower)
TM0DH
(Timer 0 upper)
Timer 1 Registers
TM1DL
(06AH)
(Timer 1 lower)
TM1DH
(06BH)
(Timer 1 upper)
OPTION A (C): 1.5 V (3.0 V), Without regulator
circuit for LCD bias
bit 3
(068H)
T0D3
(R/W)
bit 3
(069H)
T0D7
(R/W)
bit 3
T1D3
(R/W)
bit 3
T1D7
(R/W)
bit 2
bit 1
T0D2
T0D1
bit 2
bit 1
T0D6
T0D5
bit 2
bit 1
T1D2
T1D1
bit 2
bit 1
T1D6
T1D5
7 – 3
OPTION B (D): 1.5 V (3.0 V), With regulator
ML63611 User's Manual
Chapter 7 Timers (TIMER)
bit 0
T0D0
bit 0
T0D4
bit 0
T1D0
bit 0
T1D4
circuit for LCD bias

Advertisement

Table of Contents
loading

Table of Contents