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

Submitter:  Adam <adsz>
Submitted:  Tue 08 Dec 2015 03:08:10 PM UTC
 
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  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 Administrator
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>

 

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

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

     

     

    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.9