668-0011 Rabbit Semiconductor, 668-0011 Datasheet - Page 121

no-image

668-0011

Manufacturer Part Number
668-0011
Description
IC MPU RABIT3000A 55.5MHZ128LQFP
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 668-0011

Rohs Status
RoHS non-compliant
Processor Type
Rabbit 3000 8-Bit
Speed
55.5MHz
Voltage
2.5V, 2.7V, 3V, 3.3V
Mounting Type
Surface Mount
Package / Case
128-LQFP
Features
-
Other names
316-1043

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
668-0011
Manufacturer:
Rabbit Semiconductor
Quantity:
10 000
15.2.4 Interrupts
A Timer A interrupt can be generated whenever Timers A1–A7 decrement to zero by
enabling the appropriate bit in TACSR. The interrupt request is cleared when TACSR is
read.
The Timer A interrupt vector is in the IIR at offset 0x0A0. It can be set as Priority 1, 2, or
3 in TACR.
15.3 Operation
The following steps explain how to set up a Timer A timer.
1. Select perclk as the Timer A input clock in TAPR (default is perclk/2).
2. Select the source clocks for Timers A2–A7 in TACR.
3. Write the desired divider value to TATxR for all timers that will be used.
4. Enable Timer A by writing a 1 to bit 0 of TACSR.
15.3.1 Handling Interrupts
The following steps explain how an interrupt is set up and used. Remember to set up the
interrrupt vector before you enable the interrupts.
1. Write the vector of the interrupt service routine to the internal interrupt table.
2. Configure TACSR to select which timers will generate an interrupt.
3. Configure TACR to select the interrupt priority (note that interrupts will be enabled
The interrupt request is cleared by reading from TACSR.
15.3.2 Example ISR
A sample interrupt handler is shown below.
Chapter 15 Timer A
once this value is set). This should be done last.
timerA_isr::
push af
ioi ld a, (TACSR)
; handle all interrupts flagged in TACSR here
pop af
ipres
ret
; save used registers
; clear the interrupt request and get status
; restore registers
111

Related parts for 668-0011