This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: be turn off), and all the other LEDs will move (3) When you pushing PF11 the third time, all LEDs will move as the case in Lab #3. (4) When you pushing PF11 again, the pattern will go back to the case (1), and so on Some Hints All button interrupts are through IVG12, so actually, pushing any button, the same interrupt will generate. To differentiate which button is pushed, you can read the value of *pFIO_FLAG_C. If button PFn is pushed, the corresponded bit (nth bit) of *pFIO_FLAG_C is 1, the other bits are 0. For details see chapter 14 PROGRAMMABLE FLAGS in ADSP-BF533 Blackfin Processor Hardware Reference manual. In each ISR, one need to confirm interrupt handling (Clear the interrupt) You should modify the ISR for timer0 this time. The register * pFlashA_PortB_Data will control which LED will be lit on. Lab report is needed for this lab....
View Full Document
- Spring '11