avr-libc-dev
[Top][All Lists]
Advanced

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

Re: [avr-libc-dev] [avr-libc-commit] [2348] Modified system_tick as advi


From: Bob Paddock
Subject: Re: [avr-libc-dev] [avr-libc-commit] [2348] Modified system_tick as advised by Wouter van Gulik...
Date: Wed, 17 Apr 2013 08:26:42 -0400

On Tue, Apr 16, 2013 at 7:42 PM, Mike Rice <address@hidden> wrote:
> Revision: 2348
>           http://svn.sv.gnu.org/viewvc/?view=rev&root=avr-libc&revision=2348
> Author:   swfltek
> Date:     2013-04-16 23:42:05 +0000 (Tue, 16 Apr 2013)
> Log Message:
...
>  /*
> -       This function increments __system time by one second. It is safe to 
> call from a 'naked' ISR.
> +    Impoved system_tick Credit to Wouter van Gulik.
>  */
....
> +    ret

Is there an issue with this code when run on a XMega that requires
ISR's to end with RETI?

Need a XMega and non-XMega version of this function?  Doesn't sound good.

Normal prolog/epilog deal with that I believe but this is intended to
be 'naked'.
How do you get automatic RET vs RETI?



reply via email to

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