[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Handling High Speed Interrupts
From: |
Ormund Williams |
Subject: |
Re: [avr-gcc-list] Handling High Speed Interrupts |
Date: |
22 Sep 2004 09:19:58 -0400 |
On Wed, 2004-09-22 at 03:08, Ramkumar Rengaswamy wrote:
> Hi,
> I have an application that needs to generate a Timer Output Compare
> Interrput every 10 uS. I have an ATMega128L clocked at 7.329 MHz. This
> means that I have 74 clock cycles to handle the interrupt routine and
> currently most of the clock cycles are wasted in pushing and popping
> things off the stack. Is there anyway in avr-gcc to avoid all this
> overhead and utilize all the cycles for my processing only ?
>
I think what you are looking for is: _attribute_((naked)).
> --
> Ormund Williams <address@hidden>
> ORMLAB