ISR declaration syntax

Comments

1 comment

  • Avatar
    Jon Elliott

    You should put the attribute in a function declaration rather than the definition, for example:

    void T0ISR() __attribute__ ((interrupt ("IRQ")));

    void T0ISR()
    {
    ...
    }

     

    0
    Comment actions Permalink

Please sign in to leave a comment.