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

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

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


From: Ron Kreymborg
Subject: [avr-libc-dev] [patch #6805] Numeric interrupt vectors
Date: Sun, 12 Apr 2009 05:26:08 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2)

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

                 Summary: Numeric interrupt vectors
                 Project: AVR C Runtime Library
            Submitted by: ronkrem
            Submitted on: Sun 12 Apr 2009 05:26:05 AM GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

This patch allows a C++ interrupt handler name to be represented by a number,
and while the name will be mangled as usual, the number survives for later
linking. The patch provides for an optional numeric argument to the signal
function. 

An interrupt function prototype using this system for the same USART0
receiver interrupt looks like:

void IntName(void) __attribute__ ((signal(18), __INTR_ATTRS));



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 12 Apr 2009 05:26:05 AM GMT  Name: ClassInterrupts2.zip  Size: 57kB
  By: ronkrem
Patches + doco + simple test
<http://savannah.nongnu.org/patch/download.php?file_id=17905>

    _______________________________________________________

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]