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:  Header Severity:  3 - Normal
Priority:  5 - Normal Item Group:  libc code
Status:  Fixed Percent Complete:  0%
Assigned to:  Pitchumani <pitchumani> Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  1.8.0
Fixed Release:  None

Add a New Comment(Rich 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 Files:
   
   
Comment:
   

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-03-20 pitchumani StatusIn Progress => Fixed
        SummaryMissing TWI and UCSR1D definitions for ATmega16U4 in avr/iom16u4.h => Missing TWI and UCSR1D definitions for ATmega16/32 U4
    2014-03-20 pitchumani SummaryMissing TWI definitions for ATmega16U4 in avr/iom16u4.h => Missing TWI and UCSR1D definitions for ATmega16U4 in avr/iom16u4.h
    2014-03-20 pitchumani StatusNone => In Progress
        Assigned toNone => pitchumani
    2014-03-11 None Attached File- => Added DEVXML-176_iom16u4-twi.patch, #30860

    Back to the top


    Powered by Savane 3.3