Discussion:
[avr-libc-dev] [patch #8826] Add UCSR0C bit definitions for ATmega1284(p) USART in SPI mode
Adam
2015-12-08 15:08:11 UTC
Permalink
URL:
<http://savannah.nongnu.org/patch/?8826>

Summary: Add UCSR0C bit definitions for ATmega1284(p) USART
in SPI mode
Project: AVR C Runtime Library
Submitted by: adsz
Submitted on: Tue 08 Dec 2015 04:08:10 PM CET
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any

_______________________________________________________

Details:

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.




_______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 08 Dec 2015 04:08:10 PM CET Name: iom1284(p)_UCSR0C.patch Size:
930B By: adsz
Add UCSR0C bit definitions for ATmega1284(p) USART in SPI mode.
<http://savannah.nongnu.org/patch/download.php?file_id=35666>

_______________________________________________________

Reply to this item at:

<http://savannah.nongnu.org/patch/?8826>

_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
Joerg Wunsch
2017-06-11 20:51:15 UTC
Permalink
Update of patch #8826 (project avr-libc):

Assigned to: None => joerg_wunsch

_______________________________________________________

Follow-up 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*.

_______________________________________________________

Reply to this item at:

<http://savannah.nongnu.org/patch/?8826>

_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/

Loading...