[coldfire-gnu-discuss] Interrupt Handler

Nathan Sidwell nathan at codesourcery.com
Sat Jun 2 08:50:38 UTC 2007


Paul McConkey wrote:
>  
> This is what I do for MCF5282:
> 
> __attribute__((interrupt_handler))
> void
> some_isr()
> {
> }

Yes.  Some GCC targets use 'interrupt' and some use 'interrupt_handler', which 
is unfortunate.

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery
nathan at codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk




More information about the coldfire-gnu-discuss mailing list