[Top][All Lists]

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

Re: [avr-gcc-list] Handling High Speed Interrupts

From: Michal Vanka
Subject: Re: [avr-gcc-list] Handling High Speed Interrupts
Date: Thu, 23 Sep 2004 06:54:38 +0200

Personally I use assembler for such "high speed interrupt hanling".
Look at avrfreaks for serial port example.

Michal Vanka

http://www.vanka.net home of AVR Embedded Ethernet controller

----- Original Message ----- 
From: "Ramkumar Rengaswamy" <address@hidden>
To: <address@hidden>
Sent: Wednesday, September 22, 2004 9:08 AM
Subject: [avr-gcc-list] Handling High Speed Interrupts

> 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 ?
> Thanks,
> -Ram
> _______________________________________________
> avr-gcc-list mailing list
> address@hidden
> http://www.avr1.org/mailman/listinfo/avr-gcc-list

reply via email to

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