Analog Devices adsp-2100 Manual page 144

Adsp-2100 family programmable single-chip microprocessors
Table of Contents

Advertisement

6 Timer
15
14
0
0
Figure 6.1 Timer Registers
TSCALE stores a scaling value that is one less than the number of cycles
between decrements of TCOUNT. For example, if the value in TSCALE
register is 0, the counter register decrements once every cycle. If the value
in TSCALE is 1, the counter decrements once every 2 cycles. Figure 6.2
shows the timer block diagram.
CLKOUT
Figure 6.2 Timer Block Diagram
6 – 2
13
12
11
10
9
TPERIOD Period Register
TCOUNT Counter Register
0
0
0
0
0
DMD Bus
8
TSCALE
Timer Enable
& Prescale Logic
Timer Enable
8
7
6
5
4
TSCALE Scaling Register
0
16
16
16
Count Register Load Logic
Decrement
TCOUNT
3
2
1
0
0x3FFD
0x3FFC
0x3FFB
TPERIOD
Zero
Timer
Interrupt

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents