bugAVR C Runtime Library - Bugs: bug #21434, Bit name definitions for AT90CANxxx

 
 

bug #21434: Bit name definitions for AT90CANxxx

Submitted by:  Frédéric Nadeau <fnadeau>
Submitted on:  Thu 25 Oct 2007 07:43:02 PM UTC  
 
Category: HeaderSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Header files
Status: FixedPercent Complete: 0%
Assigned to: NoneOpen/Closed: Closed
Release: NoneFixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 25 Oct 2007 08:36:12 PM UTC, comment #1:

Fixed in avr-libc 1.4.7 branch and HEAD.

Anatoly Sokolov <aesok>
Project Administrator
Thu 25 Oct 2007 07:43:02 PM UTC, original submission:

I'm proposing the following:
In file iocanxx.h change bit definition OVRG for OVFG

In atmel documentation for at90can32/64/128 revision 7679B–CAN–11/06 bit is define as Overload Frame Flag on page 252.

patch as been past here.

### Eclipse Workspace Patch 1.0
#P avr-libc
Index: include/avr/iocanxx.h
===================================================================
RCS file: /sources/avr-libc/avr-libc/include/avr/iocanxx.h,v
retrieving revision 1.6
diff -u -r1.6 iocanxx.h
--- include/avr/iocanxx.h 23 Oct 2007 12:25:51 -0000 1.6
+++ include/avr/iocanxx.h 25 Oct 2007 18:53:40 -0000
@@ -1482,7 +1482,7 @@

/* Register Bits [CANGSTA] */
/* CAN General Status Register */
-#define OVRG 6
+#define OVFG 6
#define TXBSY 4
#define RXBSY 3
#define ENFG 2

Frédéric Nadeau <fnadeau>

 

(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 aesok (Posted a comment)
  • -unavailable- added by fnadeau (Submitted the item)
  •  

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

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 25 Oct 2007 08:36:12 PM UTCaesokStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1