Project Name: IntMgrSetIVGExample Project Type: ADSP-BF533 [ ] ADSP-BF537 [x] ADSP-BF561 [ ] Hardware Used: EZ-Kit Buttons and LEDs System Services Components Used: DMA Manager [ ] Deferred Callback Manager [ ] Interrupt Manager [X] Timer Module [x] Power Management Module [ ] Flag Module [x] External Bus Interface Unit Module [ ] Port Module [ ] Example Overview: This is an example on how to use the Interupt manager to hook and unhook interrupts. Interrupt Vector Groups 7 through 13 are typically used for peripherals. In this example, the GP timers are used to blink the LEDs. All three timers share the IVG 11, by default. This example changes each timer to have its own IVG with a corresponding handle. Each timer handle toggles a different LED in the bank of six LEDs labeled LED 1 through LED 4. The Timer0 handle will occur at half the frequency of the Timer1 ISR, and will toggle the first LED in the bank of six LEDs. The Timer1 handle will occur at half the frequency of the Timer2 ISR, and will toggle the second LED in the bank of six LEDs. The Timer2 handle occur most often, and will toggle the third LED in the bank of six LEDs. File Structure: "./IntMgrSetIVGExample.dpj" - Main project file "./IntMgrSetIVGExample.c" - main source file "./utilities/ezkitutilities.c" - EZ-Kit utilities source file for Blackfin processors "./utilities/ezkitutilities.h" - EZ-Kit utilities include file for Blackfin processors System Configuration: Jumpers: SW5 (push button enable switch) 1:ON, 2:ON, 3:ON, 4:ON External connections: Getting Started: 1) Load Project file "IntMgrSetIVGExample.dpj". 2) Build Project by selecting "Project->Rebuild Project". 3) Select "Debug->Run" (or F5) 4) Observe LED's blinking, as described above. 5) When finished, select "debug->Halt" to stop the program.