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

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

[avr-libc-commit] [2320] Added notes to /libc/system_tick_i.S and /inclu


From: Mike Rice
Subject: [avr-libc-commit] [2320] Added notes to /libc/system_tick_i.S and /include/time.h , to stress the experimental nature of the function.
Date: Sun, 31 Mar 2013 22:22:10 +0000

Revision: 2320
          http://svn.sv.gnu.org/viewvc/?view=rev&root=avr-libc&revision=2320
Author:   swfltek
Date:     2013-03-31 22:22:09 +0000 (Sun, 31 Mar 2013)
Log Message:
-----------
Added notes to /libc/system_tick_i.S  and /include/time.h , to stress the 
experimental nature of the function.

Modified Paths:
--------------
    trunk/avr-libc/include/time.h
    trunk/avr-libc/libc/time/system_tick_i.S

Property Changed:
----------------
    trunk/avr-libc/libc/time/system_tick_i.S

Modified: trunk/avr-libc/include/time.h
===================================================================
--- trunk/avr-libc/include/time.h       2013-03-31 21:05:09 UTC (rev 2319)
+++ trunk/avr-libc/include/time.h       2013-03-31 22:22:09 UTC (rev 2320)
@@ -243,6 +243,9 @@
                system_tick_i();
                reti();
            }
+           
+       This is an experimental function not really meant for release. If it 
can be ensured to work in
+       all cases, it should replace the original 'c' code system_tick().
 */
 void system_tick_i(void);
 

Modified: trunk/avr-libc/libc/time/system_tick_i.S
===================================================================
--- trunk/avr-libc/libc/time/system_tick_i.S    2013-03-31 21:05:09 UTC (rev 
2319)
+++ trunk/avr-libc/libc/time/system_tick_i.S    2013-03-31 22:22:09 UTC (rev 
2320)
@@ -29,14 +29,16 @@
 /* $Id$ */
 
 /*
-       Call this function at 1 Hz rate from a 'naked' ISR ( followed by reti ) 
to save a lot of 
-       stack activity.
+       Calling this function from a 'naked' ISR saves some stack activity.
        
         ISR(TIMER2_COMPA_vect, ISR_NAKED)
         {
             system_tick_i();
             reti();
         }
+        
+    This is an experimental function not really meant for release. If it can 
be ensured to work in
+       all cases, it should replace the original 'c' code system_tick().
 */
 
 __SREG__ = 0x3f


Property changes on: trunk/avr-libc/libc/time/system_tick_i.S
___________________________________________________________________
Added: svn:keywords
   + ID




reply via email to

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