5 timer counter registers 1 and 2, Timer counter registers 1 and 2 -11, Table 12-6 – Motorola MC68VZ328 User Manual

Page 235: Timer counter register description -11

Advertising
background image

Programming Model

General-Purpose Timers

12-11

12.2.5

Timer Counter Registers 1 and 2

Each read-only timer counter (TCNx) register contains the current count. The TCNx can be read at any
time without affecting the current count. The settings for the registers are described in Table 12-6.

TCN1

Timer Counter Register 1

0x(FF)FFF608

TCN2

Timer Counter Register 2

0x(FF)FFF618

BIT 15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

BIT 0

COUNT

TYPE

r

r

r

r

r

r

r

r

r

r

r

r

r

r

r

r

RESET

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0x0000

BIT 15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

BIT 0

COUNT

TYPE

r

r

r

r

r

r

r

r

r

r

r

r

r

r

r

r

RESET

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0x0000

Table 12-6. Timer Counter Register Description

Name Description

Setting

COUNT
Bits 15–0

Timer Counter Value—This 16-bit field con-
tains the current count value.

This field has a valid range 0x0000 to 0xFFFF.

Advertising