Timers
LH79524/LH79525 User’s Guide
15-20
Version 1.0
15.2.2.12 Timer 1 Compare Registers (T1CMPn)
There are two CMP(n) Registers for Timer 1. They are designated:
• T1CMP0
• T1CMP1
Each register is a 16-bit, Read/Write register. Contents of these registers are compared
continuously with the counter CNT1. When both register and counter values match, the
timer behaves as programmed in the CTRL1 register.
Table 15-26. T1CMPn 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
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
RO
BIT
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
FIELD
TM1CMP
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
T1CMP0: 0xFF 0x40
T1CMP1: 0xFF 0x44
Table 15-27. T1CMPn Register Definitions
BITS
NAME
DESCRIPTION
31:16
///
Reserved
Reading this field returns 0. Write the reset value.
15:0
TM1CMP
Timer 1 Compare
16-bit Compare Register Value.