[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [bug #19178] Propose: Exact-Delay
From: |
Joerg Wunsch |
Subject: |
[avr-libc-dev] [bug #19178] Propose: Exact-Delay |
Date: |
Wed, 09 Jun 2010 08:16:29 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5 |
Update of bug #19178 (project avr-libc):
Status: None => Fixed
Assigned to: None => joerg_wunsch
Open/Closed: Open => Closed
Release: None => Any
_______________________________________________________
Follow-up Comment #1:
Provided you are using a patched compiler (the patch is
supposed to be integrated into GCC some day), you can get
exactly this with the function
__builtin_avr_delay_cycles()
which has been documented by <avr/builtins.h> for some time
now. Exact delays for very short cycle counts must be
provided by the compiler rather than the library, as the
overhead to setup the delay has to be taken into account,
and this overhead is only known to the compiler.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?19178>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-libc-dev] [bug #19178] Propose: Exact-Delay,
Joerg Wunsch <=