Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

duration of interrupt handling

How does it take to handle an hardware interrupt? Has anybody measured this?

I need this for buffer size calculation.

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I imagine that this would depend on what you're doing in the interrupt handler, and especially whether you're doing all the work there or deferring some of it to a tasklet or work queue.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I would do the work in a tasklet. The ISR has only to read a value from the device and to set a flag. Can his be done in less than a ms?