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 mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to