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

 
 

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

Submitted by:  Joerg Wunsch <joerg_wunsch>
Submitted on:  Sat 19 Aug 2006 06:34:36 AM UTC  
 
Category: HeaderSeverity: 3 - Normal
Priority: 9 - ImmediateItem Group: None
Status: FixedPercent Complete: 100%
Assigned to: Eric Weddington <arcanum>Open/Closed: Closed
Release: NoneFixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project Administrator
Thu 24 Aug 2006 05:07:51 PM UTC, comment #3:

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

Eric Weddington <arcanum>
Project AdministratorIn charge of this item.
Mon 21 Aug 2006 12:47:20 PM UTC, comment #2:

Raising priority. Target 1.4.5 for this bug.

Eric Weddington <arcanum>
Project AdministratorIn charge of this item.
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>
Project 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>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 09 Oct 2006 06:00:17 PM UTCarcanumStatusNone=>Fixed
  Percent Complete0%=>100%
  Open/ClosedOpen=>Closed
Thu 24 Aug 2006 05:16:53 PM UTCarcanumAssigned toNone=>arcanum
Mon 21 Aug 2006 12:47:20 PM UTCarcanumPriority5 - Normal=>9 - Immediate

Back to the top


Powered by Savane 3.1-cleanup1