beautypg.com

2 type 2 timer value registers -11, 1 type 2 timer/counter value register (t2vx) -11, 2 type 2 timer value registers – Maxim Integrated MAXQ7666 User Manual

Page 246: 1 type 2 timer/counter value register (t2vx)

background image

MAXQ7665/MAXQ7666 User’s Guide

7-11

7.2.2 Type 2 Timer Value Registers

The MAXQ7665/MAXQ7666 timer/counter registers T2Vx (timer value) and T2Hx (timer value high), where x = 0, 1, and 2, are described
here.

7.2.2.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 to T2Vx.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–T2Vx.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

T2Vx.15 T2Vx.14 T2Vx.13 T2Vx.12 T2Vx.11 T2Vx.10 T2Vx.9 T2Vx.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 T2Vx.7

T2Vx.6

T2Vx.5

T2Vx.4

T2Vx.3

T2Vx.2

T2Vx.1

T2Vx.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

This manual is related to the following products: