beautypg.com

6 type 2 capture/compare r, 1 type 2 timer/counter c, 6 type 2 capture/compare registers -16 – Maxim Integrated MAXQ7667 User Manual

Page 110: Maxq7667 user’s guide, 6 type 2 capture/compare registers

background image

__________________________________________________________________________________________________________

6-16

MAXQ7667 User’s Guide

6.6 Type 2 Capture/Compare Registers

6.6.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: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: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

T2Cx15

T2Cx14

T2Cx13

T2Cx12

T2Cx11

T2Cx10

T2Cx9

T2Cx8

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

T2Cx7

T2Cx6

T2Cx5

T2Cx4

T2Cx3

T2Cx2

T2Cx1

T2Cx0

Reset

0

0

0

0

0

0

0

0

Access

rw

rw

rw

rw

rw

rw

rw

rw

r = read, w = write