[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [bug #28572] Missing bit in include file
From: |
Eric Weddington |
Subject: |
[avr-libc-dev] [bug #28572] Missing bit in include file |
Date: |
Tue, 12 Jan 2010 22:29:11 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729) |
URL:
<http://savannah.nongnu.org/bugs/?28572>
Summary: Missing bit in include file
Project: AVR C Runtime Library
Submitted by: arcanum
Submitted on: Tue 12 Jan 2010 03:29:11 PM MST
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Header files
Status: None
Percent Complete: 0%
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Release: 1.6.7
Fixed Release: None
_______________________________________________________
Details:
>From WinAVR bug #2894839 (SourceForge):
The include file for the atmega16m1, atmega32m1, and atmega64m1 devices is
missing a bit in the definition for the DACON register. In Win-AVR version
20090313, the iom[16,32,64]m1.h includes have this register definition:
#define DACON _SFR_MEM8(0x90)
#define DAEN 0
#define DALA 2
#define DATS0 4
#define DATS1 5
#define DATS2 6
#define DAATE 7
The correct definition is this (DAOE added):
#define DACON _SFR_MEM8(0x90)
#define DAEN 0
#define DAOE 1
#define DALA 2
#define DATS0 4
#define DATS1 5
#define DATS2 6
#define DAATE 7
See section 21.4.1 in this PDF for the register definition:
http://www.atmel.com/dyn/resources/prod_documents/doc7647.pdf
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?28572>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [avr-libc-dev] [bug #28572] Missing bit in include file,
Eric Weddington <=