avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] RE: [patch #6805] Numeric interrupt vectors


From: Ron Kreymborg
Subject: [avr-libc-dev] RE: [patch #6805] Numeric interrupt vectors
Date: Fri, 11 Feb 2011 15:24:39 +1100

Did anything ever proceed from this?

Ron Kreymborg

-----Original Message-----
From: Anatoly Sokolov [mailto:address@hidden 
Sent: Monday, 13 April 2009 12:11 AM
To: Anatoly Sokolov; Ron Kreymborg; address@hidden
Subject: [patch #6805] Numeric interrupt vectors


Follow-up Comment #1, patch #6805 (project avr-libc):

The patch for the GCC is not complete.
1. No numeric argument to the 'interrupt' attribute is implemented.
2. Not possible use one interrupt handler for some interrupt vectors.

I propose to implement the interface for interrupt handler functions as:

__attribute__ ((vectors(N1[, N2[, ...]]), [signal, interrupt, nmi, naked]))
void handler_mame (void);

The 'vectors' attribute specify interrupt vector numbers for handler
function.

The 'signal', 'interrupt', 'nmi' and 'naked' attributes specify type of
handler function. Need use only one. The default attribute is  'signal'.

Anatoly.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?6805>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]