15 time counter register (tmcnt), 16 time counter alarm register (tmcntal), Time counter register (tmcnt) -41 – Motorola MPC8260 User Manual

Page 179: Time counter alarm register (tmcntal) -41, Time counter register (tcmcnt) -41

Advertising
background image

4-41

MPC8260 PowerQUICC II UserÕs Manual

MOTOROLA

Part II. ConÞguration and Reset

4.3.2.15 Time Counter Register (TMCNT)

The time counter register (TMCNT), shown in Figure 4-36, contains the current value of
the time counter.

4.3.2.16 Time Counter Alarm Register (TMCNTAL)

The time counter alarm register (TMCNTAL), shown in Figure 4-37, holds a value
(ALARM). When the value of TMCNT equals ALARM, a maskable interrupt is generated.

14

TCF

Time counter frequency. The input clock to the time counter may be either 4 MHz or 32 KHz. The
user should set the TCF bit according to the frequency of this clock.
0 The input clock to the time counter is 4 MHz.
1 The input clock to the time counter is 32 KHz.
See Section 4.1.2, ÒTimers ClockÓ for further details.

15

TCE

Time counter enable. Is not affected by soft or hard reset.
0 The time counter is disabled.
1 The time counter is enabled.

Bits

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

Field

TMCNT

Reset

Ñ

R/W

R/W

Addr

0x10224

Bits

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

Field

TMCNT

Reset

Ñ

R/W

R/W

Addr

0x10226

Figure 4-36. Time Counter Register (TCMCNT)

Table 4-19. TMCNTSC Field Descriptions (Continued)

Bits

Name

Description

Advertising