add new interrupt vector

  • S.J

    S.J - 2005-07-20

    Hello All!
    Im using silicon laboratory device C8051F066.
    There are more few interrupts that I need to use.
    How add an Interrupt vector or handle it?

    • Maarten Brock

      Maarten Brock - 2005-07-20

      Just declare your interrupt service routine with the keyword interrupt and the corresponding interrupt number. Make sure you define the function in the file containing main or prototype it there. It's all in the manual.

    • S.J

      S.J - 2005-07-20

      Lot of Thanks Maarten Brock !
      I already try . It works .
      I really surprised from so simple solution!


Log in to post a comment.