beautypg.com

3 timer prescaler count register (tpcr), 4 timer control/status register (tcsr), Timer prescaler count register (tpcr) -28 – Motorola DSP56301 User Manual

Page 290: Timer control/status register (tcsr) -28, 3 timer prescaler count register (tpcr), 4 timer control/status register (tcsr)

background image

Triple Timer Module Programming Model

9

-28

DSP56301 User’s Manual

9.4.3

Timer Prescaler Count Register (TPCR)

The TPCR is a read-only register that reflects the current value in the prescaler counter.

9.4.4

Timer Control/Status Register (TCSR)

The TCSR is a read/write register controlling the timer and reflecting its status.

23

22

21

20

19

18

17

16

15

14

13

12

PC20

PC19

PC18

PC17

PC16

PC15

PC14

PC13

PC12

11

10

9

8

7

6

5

4

3

2

1

0

PC11

PC10

PC9

PC8

PC7

PC6

PC5

PC4

PC3

PC2

PC1

PC0

Reserved bit; read as 0; write to 0 for future compatibility

Figure 9-22. Timer Prescaler Count Register (TPCR)

Table 9-2. Timer Prescaler Count Register (TPCR) Bit Definitions

Bit Number

Bit Name

Reset Value

Description

23–21

0

Reserved. Write to zero for future compatibility.

20–0

PC[20–0]

0

Prescaler Counter Value
Contain the current value of the prescaler counter.

23

22

21

20

19

18

17

16

15

14

13

12

TCF

TOF

PCE

DO

DI

11

10

9

8

7

6

5

4

3

2

1

0

DIR

TRM

INV

TC3

TC2

TC1

TC0

TCIE

TOIE

TE

Reserved. Read as 0. Write to 0 for future compatibility

Figure 9-23. Timer Control/Status Register (TCSR)

Table 9-3. Timer Control/Status Register (TCSR) Bit Definitions

Bit Number

Bit Name

Reset Value

Description

23–22

0

Reserved. Write to zero for future compatibility.