Timer A I/O Registers - Rabbit 3000 User Manual

Hide thumbs Also See for Rabbit 3000:
Table of Contents

Advertisement

For seven of the counters (A1–A7), the terminal count condition is reported in a status regis-
ter and can be programmed to generate an interrupt. There is one interrupt vector for Timer
A and a common interrupt priority. A common status register (TACSR) has a bit for each
timer that indicates if the output pulse for that timer has taken place since the last read of the
status register. When the status register is read, these bits are cleared. No bit will be lost.
Either it will be read by the status register read or it will be set after the status register read is
complete. If a bit is on and the corresponding interrupt is enabled, an interrupt will occur
when priorities allow. However, a separate interrupt is not guaranteed for each bit with an
enabled interrupt. If the bit is read in the status register, it is cleared and no further interrupt
corresponding to that bit will be requested. It is possible that one bit will cause an interrupt,
and then one or more additional bits will be set before the status register is read. After these
bits are cleared, they cannot cause an interrupt. If any bits are on, and the corresponding
interrupt is enabled, then the interrupt will take place as soon as priorities allow. However, if
the bit is cleared before the interrupt is latched, the bit will not cause an interrupt. The proper
rule to follow is for the interrupt routine to handle all bits that it sees set.
Although timers A8-A10 are part of Timer A, they are dedicated to the input pulse cap-
ture, PWM, and quadrature decoder peripherals respectively. The peripherals clocked by
these timers can generate interrupts but the timers themselves cannot. Furthermore, these
timers cannot be cascaded with Timer A1.

11.1.1 Timer A I/O Registers

The I/O registers for Timer A are listed in Table 11-1.
Register Name
Timer A Control/Status Register
Timer A Prescale Register
Timer A Time Constant 1 Register
Timer A Control Register
Timer A Time Constant 2 Register
Timer A Time Constant 8 Register
Timer A Time Constant 3 Register
Timer A Time Constant 9 Register
Timer A Time Constant 4 Register
Timer A Time Constant 10 Register
Timer A Time Constant 5 Register
Timer A Time Constant 6 Register
Timer A Time Constant 7 Register
User's Manual
Table 11-1. Timer A I/O Registers
Mnemonic
TACSR
TAPR
TAT1R
TACR
TAT2R
TAT8R
TAT3R
TAT9R
TAT4R
TAT10R
TAT5R
TAT6R
TAT7R
I/O address
R/W
0xA0
R/W
0xA1
W
0xA3
W
0xA4
W
0xA5
W
0xA6
W
0xA7
W
0xA8
W
0xA9
W
0xAA
W
0xAB
W
0xAD
W
0xAF
W
Reset
00000000
xxxxxxx1
xxxxxxxx
00000000
xxxxxxxx
xxxxxxxx
xxxxxxxx
xxxxxxxx
xxxxxxxx
xxxxxxxx
xxxxxxxx
xxxxxxxx
xxxxxxxx
135

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Rabbit 3000 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents