beautypg.com

4 type 2 counter registers, 1 type 2 timer/counter v, 4 type 2 counter registers -12 – Maxim Integrated MAXQ7667 User Manual

Page 106: 1 type 2 timer/counter value register (t2vx) -12, Maxq7667 user’s guide, 1 type 2 timer/counter value register (t2vx)

background image

__________________________________________________________________________________________________________

6-12

MAXQ7667 User’s Guide

6.4 Type 2 Counter Registers

6.4.1 Type 2 Timer/Counter Value Register (T2Vx)

Register Description:

Type 2 Timer/Counter Value Register

Register Name:

T2Vx (x = 0, 1, 2)

Register Address:

T2V0:

Module 02h, Index 09h

T2V1:

Module 02h, Index 0Dh

T2V2:

Module 03h, Index 09h

Bits 15 to 0: Type 2 Timer/Counter Value Register (T2Vx[15:0]). The T2Vx register is a 16-bit register that holds the current timer value.
When operating in 16-bit mode (T2MD = 0), the full 16 bits are read/write accessible. If the dual 8-bit mode of operation (T2MD = 1) is

selected, the upper byte of T2Vx is inaccessible. T2Vx reads while in the dual 8-bit mode return 00h as the high byte and writes to the

upper byte of T2Vx are blocked. A separate T2Hx register is provided to facilitate high-byte access for dual 8-bit mode.

Note: For convenience, the lower byte of T2Vx (T2Vx[7:0]) is referred to as T2Lx. Unlike T2Hx, there is no separate T2Lx register and
the low byte is always accessed through T2Vx.

Bit #

15

14

13

12

11

10

9

8

Name

T2Vx15

T2Vx14

T2Vx13

T2Vx12

T2Vx11

T2Vx10

T2Vx9

T2Vx8

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

T2Vx7

T2Vx6

T2Vx5

T2Vx4

T2Vx3

T2Vx2

T2Vx1

T2Vx0

Reset

0

0

0

0

0

0

0

0

Access

rw

rw

rw

rw

rw

rw

rw

rw

r = read, w = write