4 type 2 capture/compare registers -15, 4 type 2 capture/compare registers – Maxim Integrated MAXQ7666 User Manual
Page 250
MAXQ7665/MAXQ7666 User’s Guide
7-15
7.2.4 Type 2 Capture/Compare Registers
The MAXQ7665/MAXQ7666 timer/counter module registers T2Cx (timer capture/compare) and T2CHx (timer capture/compare high),
where x = 0, 1, and 2, are described here.
7.2.4.1 Type 2 Timer/Counter Capture/Compare Register (T2Cx)
Register Description:
Type 2 Timer/Counter Capture/Compare Register
Register Name:
T2Cx (x = 0, 1, 2)
Register Address:
T2C0: Module 02h, Index 0Bh
T2C1: Module 02h, Index 0Fh
T2C2: Module 03h, Index 0Bh
Bits 15 to 0: Type 2 Timer/Counter Capture/Compare Register (T2Cx.15 to T2Cx.0). This 16-bit register holds the compare value
when operating in compare mode and gets the capture value when operating in capture mode. When operating in 16-bit mode (T2MD
= 0), the full 16 bits are read/write accessible. If the dual 8-bit mode of operation is selected, the upper byte of T2Cx is inaccessible.
T2Cx reads while in the dual 8-bit mode return 00h as the high byte and writes to the upper byte of T2Cx are blocked. A separate
T2CHx register is provided to facilitate high-byte access.
Note: For convenience, the lower byte of T2Cx (T2Cx.7–T2Cx.0) is referred to as T2CLx. Unlike T2CHx, there is no separate T2CLx
register and the low byte is always accessed through T2Cx.
Bit #
15
14
13
12
11
10
9
8
Name T2Cx.15
T2Cx.14
T2Cx.13
T2Cx.12
T2Cx.11
T2Cx.10
T2Cx.9
T2Cx.8
Reset 0 0 0 0 0 0 0 0
Access rw rw rw rw rw rw rw rw
Bit #
7
6
5
4
3
2
1
0
Name
T2Cx.7 T2Cx.6 T2Cx.5 T2Cx.4 T2Cx.3 T2Cx.2 T2Cx.1 T2Cx.0
Reset 0 0 0 0 0 0 0 0
Access rw rw rw rw rw rw rw rw
r = read, w = write
Maxim Integrated