1 / 32

Chapter 11 INTERRUPTS PROGRAMMING

Chapter 11 INTERRUPTS PROGRAMMING. Outlines. Contrast and compare interrupts versus polling Explain the purpose of the ISR List the 6 interrupts of the 8051 Explain the purpose of the interrupt vector table Enable or disable 8051 interrupts Program the 8051 timers using interrupts

Download Presentation

Chapter 11 INTERRUPTS PROGRAMMING

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 11INTERRUPTS PROGRAMMING Microcomputers and Microprocessors

  2. Outlines • Contrast and compare interrupts versus polling • Explain the purpose of the ISR • List the 6 interrupts of the 8051 • Explain the purpose of the interrupt vector table • Enable or disable 8051 interrupts • Program the 8051 timers using interrupts • Describe the two external hardware interrupts of the 8051

  3. Contrast edge-triggered with level-triggered interrupts • Program the 8051 for interrupt-based serial communication • Define the interrupt priority of the 8051

  4. Six interrupts in the 8051

  5. Step in enabling an interrupt

  6. PROGRAMMING TIMER INTERRUPTS

  7. Roll-over timer flag and interrupt JNB TF, target

  8. Programming external hardware interrupts

  9. Sampling the low level-triggered interrupt

  10. Edge-triggered interrupts

  11. Sampling the edge-triggered interrupt

  12. RI and TI flags and interrupts

  13. Use of serial COM in the 8051

  14. Clearing RI and TI before the RETI instruction CLR TI ; CLR RI

  15. Interrupt priority upon reset

  16. Setting interrupt priority with the IP register

More Related