This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

reentrant isr

Hi,

I was looking at the #pragma INTERRUPT functionality and it doesn't discuss anything about re-entrant isrs.  Does this pragma handle re-entrant ISRs?  If not, how can I make it re-entrant?

Thanks

Tony

  • Hi Tony,

    Please provide below information to help you.

    1. DSP Part number.

    2. Compiler Version

    Suggestion: If you need nested interrupt support,  write the handler routine in assembly, saving off the appropriate state.

    Thanks.

  • Hi Tony,

    Please refer below threads which may help you.

    http://e2e.ti.com/support/development_tools/compiler/f/343/t/137594.aspx

    http://e2e.ti.com/support/development_tools/compiler/f/343/t/148588.aspx

    http://e2e.ti.com/support/development_tools/compiler/f/343/t/186402.aspx

    http://e2e.ti.com/support/development_tools/compiler/f/343/t/293913.aspx

    Thanks.

  • tony tran said:
    was looking at the #pragma INTERRUPT functionality and it doesn't discuss anything about re-entrant isrs.  Does this pragma handle re-entrant ISRs?  If not, how can I make it re-entrant?

    Please see this wiki article on reentrant functions.  Everything in that article applies to both interrupt and normal functions.  Put another way, the issue of reentrancy is the same for both interrupt and normal functions.

    Thanks and regards,

    -George

  • Tony,

    Do you have the answers for re-entrant ISRs that you were looking for?

    If so, great. If not, please supply the information requested above and let us know more about what you are looking for.

    Regards,
    RandyP