bugAVR C Runtime Library - Bugs: bug #11817, replace SYSCLK with F_CPU


bug #11817: replace SYSCLK with F_CPU

Submitted by:  None
Submitted on:  Wed 02 Feb 2005 11:26:12 AM UTC  
Category:  Documentation Severity:  3 - Normal
Priority:  8 Item Group:  None
Status:  None Assigned to:  Eric Weddington <arcanum>
Percent Complete:  100% Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  None
Fixed Release:  None

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 07 Feb 2005 11:13:25 PM UTC, comment #4: 

Fixed on HEAD. Closed.

Eric Weddington <arcanum>
Project AdministratorIn charge of this item.
Mon 07 Feb 2005 10:48:29 PM UTC, comment #3: 

Fixed in 1.2 branch.

Eric Weddington <arcanum>
Project AdministratorIn charge of this item.
Mon 07 Feb 2005 09:46:57 PM UTC, comment #2: 


I used to use SYSCLK in my private files previously, and
from there, it "diffused" into twidemo.

There seemed to be consensus for F_CPU though, so when I
updated <avr/delay.h> for millisecond/microsecond inline
function, I used that one as the CPU frequency macro.

Now, we should document only one of those, and as the delay
macros constitute an official interface, let's change
twidemo from SYSCLK to F_CPU as well, so people don't get

Joerg Wunsch <joerg_wunsch>
Project Administrator
Mon 07 Feb 2005 09:33:17 PM UTC, comment #1: 

Please explain:
- What avr-libc version do you see a bug in?
- What the actual bug is?
AFAICT, SYSCLK is used in the documentation and in the TWI example code. Why is F_CPU needed?

Eric Weddington <arcanum>
Project AdministratorIn charge of this item.
Wed 02 Feb 2005 11:26:12 AM UTC, original submission:  

Pls. use only F_CPU in documentation (TWI example).



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty




Follow 7 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-02-07 arcanum Percent Complete50% => 100%
    Open/ClosedOpen => Closed
2005-02-07 arcanum Percent Complete0% => 50%
2005-02-07 arcanum StatusNeed Info => None
2005-02-07 arcanum StatusNone => Need Info
    Assigned toNone => arcanum
2005-02-07 joerg_wunsch Priority5 - Normal => 8

Back to the top

Powered by Savane 3.5