[En-Nut-Discussion] Hi resolution timer isr in assembler

en-nut-discussion-admin at egnite.de en-nut-discussion-admin at egnite.de
Sun Jun 22 20:27:20 CEST 2003


hmm, the from field contents has 'gone'??

//P.

> -----Oorspronkelijk bericht-----
> Van: en-nut-discussion-admin at egnite.de
> [mailto:en-nut-discussion-admin at egnite.de]
> Verzonden: zondag 22 juni 2003 14:25
> Aan: en-nut-discussion at egnite.de
> Onderwerp: Re: [En-Nut-Discussion] Hi resolution timer isr in assembler
> 
> 
> Oops, sorry. I am too stupid. You should never alter two things 
> at the same
> time. It was a mistake in my code.
> 
> ----- Original Message -----
> From: <en-nut-discussion-admin at egnite.de>
> To: <en-nut-discussion at egnite.de>
> Sent: Sunday, June 22, 2003 1:50 PM
> Subject: Re: [En-Nut-Discussion] Hi resolution timer isr in assembler
> 
> 
> > Hi Stephen.
> >
> > Thanks for that hint. It works for C ISRs, I didn't try 
> assembler for now.
> > But now I have another problem. It seems that the ISR forgets 
> some of its
> > local variables. I defined them using
> >
> > SIGNAL(SIG_OUTPUT_COMPARE2)
> > {
> >   static short x=0,y=0,p=0,m=0xff;
> >   static short mask=1,bits;
> >   ...
> >
> > but e.g. the variable p forgets its content.
> >
> > Why?
> >
> > bye
> > Thorsten
> 
> 
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo/en-nut-discussion



More information about the En-Nut-Discussion mailing list