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

 
 
Show feedback again

bug #38516: Missing TWI definitions for ATmega16U4 in avr/iom16u4.h

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: NonePercent Complete: 0%
Assigned to: NoneOriginator 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 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:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -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):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup