bugAVR C Runtime Library - Bugs: bug #17470, Add API for CLKPR register to...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #17470: Add API for CLKPR register to <avr/power.h>

Submitter:  Joerg Wunsch <joerg_wunsch>
Submitted:  Sat 19 Aug 2006 06:34:36 AM UTC
   
 
Category:  Header Severity:  3 - Normal
Priority:  9 - Immediate Item Group:  None
Status:  Fixed Assigned to:  arcanum
Percent Complete:  100% Open/Closed:  Closed
Release:  None Fixed Release:  None

Thu 24 Aug 2006 07:06:40 PM UTC, comment #4: 


> What about making this <avr/clock.h> instead?


Rather not.  I'd even have preferred it to combine the power save
register and sleep mode stuff into a single file rather than
two; it doesn't make much sense to start one header file per
control register.  Other compilers/libraries ship with about
two or three header files for everything, we already have more
than a dozen of them in the avr/ subdir.

Joerg Wunsch <joerg_wunsch>
Group administrator
Thu 24 Aug 2006 05:07:51 PM UTC, comment #3: 

What about making this <avr/clock.h> instead?

Eric Weddington <arcanum>
Group administrator
Mon 21 Aug 2006 12:47:20 PM UTC, comment #2: 

Raising priority. Target 1.4.5 for this bug.

Eric Weddington <arcanum>
Group administrator
Mon 21 Aug 2006 10:20:28 AM UTC, comment #1: 

The same applies to the BODS/BODSE bits (BOD Sleep) in MCUCR
(where present).

Joerg Wunsch <joerg_wunsch>
Group administrator
Sat 19 Aug 2006 06:34:36 AM UTC, original submission:  

The item discussed in this thread:

http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=40579

appears to be a useful addition to the power management
subsystem.  It requires a timed sequence of instructions,
which is a typical candidate for an abstraction in a header
file.

Note that the implementation outlined there does not cover
the entire family of AVRs yet.

Joerg Wunsch <joerg_wunsch>
Group administrator

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Follow 5 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-10-09 arcanum StatusNone Fixed
    Percent Complete0% 100%
    Open/ClosedOpen Closed
2006-08-24 arcanum Assigned toNone arcanum
2006-08-21 arcanum Priority5 - Normal 9 - Immediate

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code