> Could anyone know whether it is possible to enable and use embedded
> interrupt in AVR ATMega using GCC? If yes, how to determine the
> interrupt priority?
On 24 Jul 2004 03:03:17 -0700, leonlai2k@yahoo.com (terry) wrote:
>Hi,
>
>Could anyone know whether it is possible to enable and use embedded
>interrupt in AVR ATMega using GCC? If yes, how to determine the
>interrupt priority?
>
Hi,
The interrupt priorities on the AVR is fixed. If you want to change
this you need to play around with enableing/disabling interrupts
inside interrupt routines. Get the avr-libc documentation
http://www.nongnu.org/avr-libc/
Regards
Anton Erasmus
Reply by Lewin Edwards●July 24, 20042004-07-24
> interrupt in AVR ATMega using GCC? If yes, how to determine the
> interrupt priority?
Not sure what you're asking here exactly - interrupt priority in the AVR
series is determined by hardware. Vectors lower in memory have higher
priority.
Reply by terry●July 24, 20042004-07-24
Hi,
Could anyone know whether it is possible to enable and use embedded
interrupt in AVR ATMega using GCC? If yes, how to determine the
interrupt priority?
Thanks!