Re: NewQ: Difference between an isr and a subroutine is that an isr has no arguments





Wilco Dijkstra wrote:

Well I can see some good uses for interrupts with arguments,
making interrupt routines even easier to write in C.

In ADI VDSP, the interrupt handlers do have arguments.


I'm sure
someone has patented the idea already as it is quite obvious...

An interrupt handler is somewhat similar to a thread. If threads can have arguments, the interrupt handlers can have it too.

Vladimir Vassilevsky

DSP and Mixed Signal Design Consultant

http://www.abvolt.com


.