AVR C Runtime Library - Bugs: bug #19178, Propose: Exact-Delay
You are not allowed to post comments on this tracker with your current authentication level.
bug #19178: Propose: Exact-Delay
Submitter: | Michael Heidinger <overthere> | ||
Submitted: | Thu 01 Mar 2007 01:51:26 PM UTC | ||
Category: | Feature Request | Severity: | 1 - Wish |
Priority: | 3 - Low | Item Group: | libc code |
Status: | Fixed | Assigned to: | joerg_wunsch |
Percent Complete: | 0% | Open/Closed: | Closed |
Release: | Any | Fixed Release: | None |
Wed 09 Jun 2010 08:16:28 AM UTC, comment #1: |
Joerg Wunsch <joerg_wunsch> |
Thu 01 Mar 2007 01:51:26 PM UTC, original submission:
Hi,
|
Michael Heidinger <overthere> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Follow 8 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2010-06-09 | joerg_wunsch | Status | None | Fixed | |
Assigned to | None | joerg_wunsch | |||
Open/Closed | Open | Closed | |||
Release | None | Any | |||
2008-03-17 | arcanum | Category | Library | Feature Request | |
Severity | 3 - Normal | 1 - Wish | |||
Priority | 5 - Normal | 3 - Low | |||
2007-03-01 | overthere | Carbon-Copy | - | Added overthere |
Powered by Savane 3.13-caa5.
Corresponding source code
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.