patchAVR C Runtime Library - Patches: patch #8826, Add UCSR0C bit definitions for...


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

patch #8826: Add UCSR0C bit definitions for ATmega1284(p) USART in SPI mode

Submitted by:  Adam <adsz>
Submitted on:  Tue 08 Dec 2015 03:08:10 PM UTC  
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  Joerg Wunsch <joerg_wunsch> Open/Closed:  Open

Sun 11 Jun 2017 08:51:15 PM UTC, comment #1: 

Thinking a little about it, I'm not that convinced yet about this.

All the modern ATmega-style devices (starting with the ATmega2560)
document these bits that way.  So if at all, we'd have to patch
all their header files, to supply the UDORDn and UCPHAn bits.

However, these bits are nowhere else named that way.  In particular,
none of the Atmel device description files mention these names, so
Atmel Studio doesn't know about them either.

But again: if we would really want to change something, then for
all devices that are affected, not just the ATmega1284*.

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Tue 08 Dec 2015 03:08:10 PM UTC, original submission:  

Headers iom1284.h and iom1284p.h are lacking definitions for UCSR0C bit names used only in SPI mode: UDORD0 (bit 2, aliases UCSZ01) and UCPHA0 (bit 1, aliases UCSZ00).

This patch adds two appropriate #defines to both files mentioned above.

Adam <adsz>


Attached Files
file #35666:  iom1284(p)_UCSR0C.patch added by adsz (930B - application/octet-stream - Add UCSR0C bit definitions for ATmega1284(p) USART in SPI mode.)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by joerg_wunsch (Posted a comment)
  • -email is unavailable- added by adsz (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-06-11 joerg_wunsch Assigned toNone => joerg_wunsch
    2015-12-08 adsz Attached File- => Added iom1284(p)_UCSR0C.patch, #35666

    Back to the top

    Powered by Savane 3.5