Re: NewQ: Difference between an isr and a subroutine is that an isrhas no arguments
- From: Jim Granville <no.spam@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 29 Nov 2006 10:41:57 +1300
Vladimir Vassilevsky wrote:
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.
and then there are Software Interrupts - it's common for those to have arguments. ( See BIOS calls etc ).
-jg
.
- Follow-Ups:
- References:
- Differences between interrupt service routine (ISR) and a subroutine
- From: 2005
- Re: Differences between interrupt service routine (ISR) and a subroutine
- From: Tom Lucas
- NewQ: Difference between an isr and a subroutine is that an isr has no arguments
- From: 2005
- Re: NewQ: Difference between an isr and a subroutine is that an isr has no arguments
- From: James Beck
- Re: NewQ: Difference between an isr and a subroutine is that an isr has no arguments
- From: Wilco Dijkstra
- Re: NewQ: Difference between an isr and a subroutine is that an isr has no arguments
- From: Vladimir Vassilevsky
- Differences between interrupt service routine (ISR) and a subroutine
- Prev by Date: Re: LCD with TI DSP
- Next by Date: Re: NewQ: Difference between an isr and a subroutine is that an isr has no arguments
- Previous by thread: Re: NewQ: Difference between an isr and a subroutine is that an isr has no arguments
- Next by thread: Re: NewQ: Difference between an isr and a subroutine is that an isrhas no arguments
- Index(es):