Timers
LH79524/LH79525 User’s Guide
15-28
Version 1.0
15.2.2.19 Timer 2 Capture Registers (T2CAPn)
There are two T2CAPn Registers for Timer 2. They are designated:
• T2CAPA
• T2CAPB
Each register is a 16-bit, Read Only register. When a capture condition occurs, the con-
tents of the counter CNT2 are stored into the associated Capture Register. Capture Reg-
isters correspond to the input signals CTCAP2A through CTCAP2B, respectively. The
edge of the input signal used to trigger the capturing operation is determined by program-
ming the CTRL Register.
Table 15-40. T2CAPn Register
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
CAPTURE2
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
ADDR
T2CAPA: xFF 0x68
T2CAPB: xFF 0x6C
Table 15-41. T2CAPn Register Definitions
BITS
NAME
DESCRIPTION
31:16
///
Reserved
Reading this field returns 0. Write the reset value.
15:0
CAPTURE2
Timer 2 Capture
16-bit Capture Register Value.