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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #21434: Bit name definitions for AT90CANxxx

Submitter:  Frédéric Nadeau <fnadeau>
Submitted:  Thu 25 Oct 2007 07:43:02 PM UTC
   
 
Category:  Header Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Header files
Status:  Fixed Assigned to:  None
Percent Complete:  0% Open/Closed:  Closed
Release:  None Fixed Release:  None

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

Fixed in avr-libc 1.4.7 branch and HEAD.

Anatoly Sokolov <aesok>
Group 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.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by aesok (Posted a comment)
  • -email is unavailable- added by fnadeau (Submitted the item)
  •  

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-10-25 aesok StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code