Timer module programmer’s model -26 – Motorola DSP56301 User Manual

Page 288

Advertising
background image

Triple Timer Module Programming Model

9

-26

DSP56301 User’s Manual

Figure 9-20. Timer Module Programmer’s Model

DO

DI

DIR

15

14

13

12

11

10

9

8

TC1

TC0

INV

TCIE

TE

7

6

5

4

3

2

1

0

Timer Control/Status
Register (TCSR)

Reserved bit. Read as 0. Write with 0 for future compatibility

23

0

Timer Load
Register (TLR)

23

22

21

20

19

18

17

16

23

0

Timer Compare
Register (TCPR)

PCE

TRM

TCF TOF

TOIE

TC2

23

0

Timer Count
Register (TCR)

TC3

TCSR0 = $FFFF8F

TCSR1 = $FFFF8B

TCSR2 = $FFFF87

TLR0 = $FFFF8E
TLR1 = $FFFF8A
TLR2 = $FFFF86

TCR0 = $FFFF8C
TCR1 = $FFFF88
TCR2 = $FFFF84

TCPR0 = $FFFF8D
TCPR1 = $FFFF89
TCPR2 = $FFFF85

23

0

Timer Prescaler Load

Register (TPLR)

TPLR = $FFFF83

23

0

Timer Prescaler Count

Register (TPCR)

TPLR = $FFFF82

Advertising