Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Interrupts on 8051

  1. Jul 17, 2008 #1
    Hi eveyone,
    I am taking a course about microcontrollers and 8051 family and now I am so confused about the external interrupts. Therefore, I have some questions to ask. First of all, as I know we need to remove the low level situation before the RETI instruction is executed. But how can we do this in assembly? Can anyone put some sort of code to make it clear?
    Second one, how does edge-triggered interrupt work?
    These are the basic questions that I want to learn. However, further information about the external interrupts are welcome.
  2. jcsd
  3. Jul 18, 2008 #2


    User Avatar

    Staff: Mentor

    Isn't this covered in the databook and app notes? It's been a long time since I wrote assembly for an 8051, but the documentation was pretty clear back then. Can you post a link to the databook for the 8051 variant you are using, and a link to an app note about using interrupts with it?
  4. Jul 24, 2008 #3
    You are right berkeman, it is covered. I haven't understood this concept from my textbook but then I did what you said and the things that I didn't understand is clear now. Thanks for your help.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook