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

 
 

bug #22964: io90pwm3b.h bit name inconsistency

Submitted by:  Tero Sinervo <tvjsin>
Submitted on:  Thu 17 Apr 2008 11:37:52 AM UTC  
 
Category: HeaderSeverity: 3 - Normal
Priority: 9 - ImmediateItem Group: Header files
Status: InvalidPercent Complete: 0%
Assigned to: Eric Weddington <arcanum>Open/Closed: Closed
Release: 1.6.2Fixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project AdministratorIn charge of this item.
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.)

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

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

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 28 Apr 2008 06:54:25 PM UTCarcanumStatusNone=>Invalid
      Assigned toNone=>arcanum
      Open/ClosedOpen=>Closed
    Sun 27 Apr 2008 04:13:05 AM UTCarcanumPriority5 - Normal=>9 - Immediate

    Back to the top


    Powered by Savane 3.1-cleanup1