bugAVR C Runtime Library - Bugs: bug #38516, Missing TWI and UCSR1D definitions...

 
 

bug #38516: Missing TWI and UCSR1D definitions for ATmega16/32 U4

Submitted by:  None
Submitted on:  Thu 14 Mar 2013 02:00:40 PM UTC  
 
Category: HeaderSeverity: 3 - Normal
Priority: 5 - NormalItem Group: libc code
Status: FixedPercent Complete: 0%
Assigned to: Pitchumani <pitchumani>Originator Email: -unavailable-
Open/Closed: OpenRelease: 1.8.0
Fixed Release: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 20 Mar 2014 09:01:01 AM UTC, comment #2:

Below TWI register definitions also missing in iom16u4.h
TWBR, TWSR, TWAR, TWDR, TWAMR

UCSR1D register definition also missing in iom16u4.h

Patch attached by Morten fixes this.

Pitchumani <pitchumani>
Project MemberIn charge of this item.
Thu 14 Mar 2013 07:49:26 PM UTC, comment #1:

Comparing to datasheet the definitions are incomplete.
I will send a patch.

Pasi Heinonen <pasihe>
Thu 14 Mar 2013 02:00:40 PM UTC, original submission:

avr/iom16u4.h does not contain TWI Control register addresses and bits definitions.

#define TWCR _SFR_IO8(0x36)
#define TWIE 0
#define TWEN 2
#define TWWC 3
#define TWSTO 4
#define TWSTA 5
#define TWEA 6
#define TWINT 7

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #30860:  DEVXML-176_iom16u4-twi.patch added by None (1kB - application/octet-stream - Patch from Atmel)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pitchumani (Updated the item)
  • -unavailable- added by pasihe (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 20 Mar 2014 09:18:09 AM UTCpitchumaniStatusIn Progress=>Fixed
      SummaryMissing TWI and UCSR1D definitions for ATmega16U4 in avr/iom16u4.h=>Missing TWI and UCSR1D definitions for ATmega16/32 U4
    Thu 20 Mar 2014 09:01:01 AM UTCpitchumaniSummaryMissing TWI definitions for ATmega16U4 in avr/iom16u4.h=>Missing TWI and UCSR1D definitions for ATmega16U4 in avr/iom16u4.h
    Thu 20 Mar 2014 08:20:44 AM UTCpitchumaniStatusNone=>In Progress
      Assigned toNone=>pitchumani
    Tue 11 Mar 2014 06:38:14 PM UTCNoneAttached File-=>Added DEVXML-176_iom16u4-twi.patch, #30860

    Back to the top


    Powered by Savane 3.1-cleanup