bugAVR C Runtime Library - Bugs: bug #20435, Bit name definitions for AT90PWM3


bug #20435: Bit name definitions for AT90PWM3

Submitted by:  None
Submitted on:  Tue 10 Jul 2007 03:37:31 PM UTC  
Category:  Header Severity:  3 - Normal
Priority:  9 - Immediate Item Group:  Header files
Status:  Fixed Assigned to:  None
Percent Complete:  0% Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  None
Fixed 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 06:09:07 PM UTC, comment #1: 

Fixed in avr-libc 1.4.7 branch and HEAD.

Anatoly Sokolov <aesok>
Project Administrator
Tue 10 Jul 2007 03:37:31 PM UTC, original submission:  

During writing a code for AT90PWM3 I had to manually define following bit names basing on the .pdf datasheet of the MCU. Those definitions are missing in io90pwmx.h file, but are used in the datasheet.

//ADCSRB register bits definitions
#define ADASCR  4 //not available in 3B at all

//AMP0CSR register bits definitions
#define AMP0EN  7
#define AMP0IS  6
#define AMP0G1  5
#define AMP0G0  4
#define AMP0TS1 1
#define AMP0TS0 0

//AMP1CSR register bits definitions
#define AMP1EN  7
#define AMP1IS  6
#define AMP1G1  5
#define AMP1G0  4
#define AMP1TS1 1
#define AMP1TS0 0



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

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 arcanum (Updated the item)



    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-10-25 aesok CategoryNone => Header
        Item GroupNone => Header files
        StatusNone => Fixed
        Open/ClosedOpen => Closed
    2007-09-12 arcanum Priority5 - Normal => 9 - Immediate

    Back to the top

    Powered by Savane 3.5