[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] About interrupt vector of GCC
From: |
whiteman |
Subject: |
Re: [avr-gcc-list] About interrupt vector of GCC |
Date: |
Wed, 30 Jun 2004 9:45:39 +0800 |
hi!
Thanks for the reply. The problem was revoled. It should be renamed
"SIG_UART_RECV".
Thanks again.
======= 2004-06-28 09:11:00 :=======
>----- Original Message -----
>>>hi,all!
>>>
>>>In my project, I used Atmega8 and enable the RDX
>>>interrup. But it seem that the interrupt vector is
>>>wrong. When any data is
>>>
>>>received, the Atmega8 is hung. Whether it is the GC
>>>C bug or my error? I ever compared ADC interrup
>>>with RDX interrup
>>>
>>>statement in LST file. They are difference.
>>>Here is my portion of code:
>....
>
>>>SIGNAL(SIG_USART0_RECV)
>
>I'm not sure, but I think this *may* be your problem. On the ATmega8, the
>function that handles the USART RX complete interrupt should be named
>SIG_UART_RECV. I know, I've tried all the others!
>
>Try changing the above line to:
>SIGNAL (SIG_UART_RECV)
>and see if it works.
>
>-Brad
>
>
>
>.
= = = = = = = = = = = = = = = = = = = =
best regard
whiteman
address@hidden
2004-06-30