
Timers
LH75400/01/10/11 (Preliminary) User’s Guide
15-16
6/17/03
15.2.2.6 Timer 0 Compare Registers
There are two CMP(n) Registers for Timer 0. They are designated:
• CMP0
• CMP1
Each register is a 16-bit, read/write register. Contents of these registers are compared
continuously with the counter CNT. When both register and counter values match, a trigger
signal is generated.
Table 15-14. CMP(n) Registers
BIT
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
FIELD
///
RESET
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
RW
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
BIT
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
FIELD
TM0CMP
RESET
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
ADDR
CMP0: 0xFF 0x14
CMP1: 0xFF 0x18
Table 15-15. CMP(n) Register Definitions
BITS
FIELD NAME
DESCRIPTION
31:16
///
Reserved
Read as zero.
15:0
TM0CMP
Timer 0 Compare
16-bit compare register value.