Difference between revisions of "6.8051 Interrupts"
Line 1: | Line 1: | ||
[[Category:8051 tutorials]] | [[Category:8051 tutorials]] | ||
+ | {{Box|type=l_green_light|text=<br/> | ||
+ | =Intro= | ||
+ | In this tutorial we will look at 8051 Interrupts. Interrupts are useful in many cases wherein the process simply wants to continue doing it's main job and other units(timers or external events) seek its attention when required. | ||
+ | In other words the microcontroller, need not monitor the timers, the serial communication or the external pins P3.2 and P3.3. Whenever an event related to these units occur, it is informed to microcontroller with the help of interrupts. | ||
+ | =Basics= | ||
+ | For the 8051 Microcontroller there are six interrupt sources as shown in the table below: | ||
+ | |||
+ | }} | ||
[http://exploreembedded.com/wiki/images/4/47/Schematic_8051Interupt.pdf '''Schematic'''] | [http://exploreembedded.com/wiki/images/4/47/Schematic_8051Interupt.pdf '''Schematic'''] | ||
[[File:8051Interupt.JPG|680px]] | [[File:8051Interupt.JPG|680px]] | ||
− |
Revision as of 14:30, 1 August 2014
Intro
In this tutorial we will look at 8051 Interrupts. Interrupts are useful in many cases wherein the process simply wants to continue doing it's main job and other units(timers or external events) seek its attention when required. In other words the microcontroller, need not monitor the timers, the serial communication or the external pins P3.2 and P3.3. Whenever an event related to these units occur, it is informed to microcontroller with the help of interrupts.
Basics
For the 8051 Microcontroller there are six interrupt sources as shown in the table below: