How to mask an interrupt

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ponette
    New Member
    • Feb 2008
    • 2

    How to mask an interrupt

    Hi,
    I want to know which interrupts are maskable by the user and how can I do that in C/C++ I mean is there any special method in the libraries (Borland C)
    or I myself have to write one (if so give me some guidence on the instructions please)?
    Regards,
    Ponette.
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    That depends entirely on your platform. The is no standard library interface to the interrupts on a platform because it is extremely hardware dependent and there are a very large number of different possible platforms.

    If you are talking Windows then there is no interface to the interrupts at all that is all handled by the HAL (Hardware Abstraction Layer) and Kernel.

    Comment

    • ponette
      New Member
      • Feb 2008
      • 2

      #3
      Originally posted by Banfa
      That depends entirely on your platform. The is no standard library interface to the interrupts on a platform because it is extremely hardware dependent and there are a very large number of different possible platforms.

      If you are talking Windows then there is no interface to the interrupts at all that is all handled by the HAL (Hardware Abstraction Layer) and Kernel.
      U know my instructor has assigned us to write a program that masks interrupts and by the way specify which interrupts are maskable and which ones not.
      I searched the internet for an article that describes the interrupts ( cos I don't know even their names!! ) but I haven't yet found a comprehesive one if possible give me relative links through this week
      thanks alot.

      Comment

      • Banfa
        Recognized Expert Expert
        • Feb 2006
        • 9067

        #4
        OK I will repeat this again more clearly I hope.

        Interrupts and interrupt handing is hardware and OS dependent, without knowing your hardware and the OS you are running it is not possible to give any information.

        Comment

        Working...