I'm cc'ing back to the help list in case anyone thinks to search
for an answer first...

On my Widows system: cygwin/usr/avr/include/avr/iom128.h

Also the ATMEGA manual specs all the interrupts, someplace.
And IIRC the numbering scheme is off by one between the two.

I have some code for dealing with timer3 at:
     http://www.etantdonnes.com/Motes/AVR128timers.zip
I was not successful in getting the overflow to work
but I didn't spend a lot of time on it because I didn't
really need it.

MS

Hofmann Marcel T&A.E_BB.0501 wrote:
> 
> Thanks for your answere. But i want to now, where "SIG_OVERFLOW0" is 
> defined ? I mean I want to now where the interrupts are to define.
> 
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: Michael Schippling [mailto:[EMAIL PROTECTED]
> Gesendet: Do 12.06.2008 19:40
> An: Hofmann Marcel T&A.E_BB.0501
> Cc: [email protected]
> Betreff: Re: [Tinyos-help] TinyOS, mica2 where can i set a Interruptvector
> 
> 
> That code sample looks OK, you should be able to put it in any .nc file.
> Is that what you are asking?
> 
> MS
> 
> 
> Hofmann Marcel T&A.E_BB.0501 wrote:
>  > Hellou
>  >
>  > I have a mote mica2 with a atmega128. I want to use SPI, RS232, Timer 
> ..... But where can i set the Interruptvector for the Interrupts. I mean 
> tinyos-2.x/tos/chips/atm128/timer/HplAtm128Timer0AsyncP.nc  us for the 
> Interrupt "SIG_OVERFLOW0". Where can i find this or where is this set?
>  >
>  > example from HplAtm128Timer0AsyncP.nc:
>  >
>  >   default async event void Timer.overflow() { }
>  >   AVR_ATOMIC_HANDLER(SIG_OVERFLOW0) {
>  >     stabiliseTimer0();
>  >     signal Timer.overflow();
>  >   }
>  >
>  > I hope someone can help me, thanks.
>  >
>  >
>  >
>  > ------------------------------------------------------------------------
>  >
>  > _______________________________________________
>  > Tinyos-help mailing list
>  > [email protected]
>  > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> 

-- 
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to