bugAVR C Runtime Library - Bugs: bug #22964, io90pwm3b.h bit name inconsistency

 
 

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

bug #22964: io90pwm3b.h bit name inconsistency

Submitter:  Tero Sinervo <tvjsin>
Submitted:  Thu 17 Apr 2008 11:37:52 AM UTC
   
 
Category:  Header Severity:  3 - Normal
Priority:  9 - Immediate Item Group:  Header files
Status:  Invalid Assigned to:  arcanum
Percent Complete:  0% Open/Closed:  Closed
Release:  1.6.2 Fixed Release:  None

Mon 28 Apr 2008 06:54:25 PM UTC, comment #2: 

The FUSE_CLKDIV8 definition was previously fixed.

It is the AVR-LibC project's policy to have the header files be consistent with the XML device files that are shipped with AVR Studio. If there is an inconsistency between the XML part file and the datasheet then you should send an email to Atmel at: avr AT atmel DOT com. Alert them to the inconsistency so that either the datasheet OR the XML part description file can be fixed.

Eric Weddington <arcanum>
Group administrator
Fri 18 Apr 2008 01:49:47 PM UTC, comment #1: 

Same file, new discovery...

FUSE_CLKDIV8 should be FUSE_CKDIV8.


#define FUSE_CLKDIV8 ~_BV(7)  /* Divide clock by 8 */
#define LFUSE_DEFAULT (FUSE_CKSEL0 & FUSE_CKSEL2 & FUSE_CKSEL3 & FUSE_SUT0 & FUSE_CKDIV8)

Tero Sinervo <tvjsin>
Thu 17 Apr 2008 11:37:52 AM UTC, original submission:  

There's an inconsistency in PSOCn register PSYNCnx bit names as listed below. This error is actually in Atmel's part description file. Are there any recommendations on how these bugs should be reported in the future?


#define PSOC0 _SFR_MEM8(0xD0)
#define PSYNC00 4
#define PSYNC01 5

#define PSOC2 _SFR_MEM8(0xF0)
#define PSYNC2_0 4
#define PSYNC2_1 5

#define PSOC1 _SFR_MEM8(0xE0)
#define PSYNC1_0 4
#define PSYNC1_1 5

Tero Sinervo <tvjsin>

 

(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 arcanum (Updated the item)
  • -email is unavailable- added by tvjsin (Submitted the item)
  •  

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-04-28 arcanum StatusNone Invalid
        Assigned toNone arcanum
        Open/ClosedOpen Closed
    2008-04-27 arcanum Priority5 - Normal 9 - Immediate

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code