[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [patch #7260] Addition to power.h
From: |
Frédéric Nadeau |
Subject: |
[avr-libc-dev] [patch #7260] Addition to power.h |
Date: |
Sun, 25 Jul 2010 23:07:42 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.9 Safari/533.2 |
URL:
<http://savannah.nongnu.org/patch/?7260>
Summary: Addition to power.h
Project: AVR C Runtime Library
Submitted by: fnadeau
Submitted on: Sun 25 Jul 2010 11:07:41 PM GMT
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
This patch add clock source prescaling capability to device with register
XDIV(ATmega64/103/128).
The main difference between the two is that devices with XDIV have a
precalling capability ranging from 2 to 129. clock_div_t has been define
properly, but user still have the ability to pass unenumerated value like 65.
I tried to write the function using assembly language, so if an assembly guru
could double check, it would be nice.
Tested on a STK-500 with ATmega128.
If anything needs to be done to accelerate acceptance of the patch(code
formating, etc.), please let me know.
Patch contains UTF-8 encoded characters, is that OK with avr-libc or should
it be another encoding or even plain ASCII?
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sun 25 Jul 2010 11:07:41 PM GMT Name: power.h.patch Size: 24kB By:
fnadeau
Initial version of the patch against power.h revision 2179
<http://savannah.nongnu.org/patch/download.php?file_id=21065>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?7260>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [avr-libc-dev] [patch #7260] Addition to power.h,
Frédéric Nadeau <=