[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [bugs #6352] <avr/sleep.h> does not set sleep mode proper
From: |
Eric Weddington |
Subject: |
[avr-libc-dev] [bugs #6352] <avr/sleep.h> does not set sleep mode properly for ATmega162, ATmega161, and ATmega8515 |
Date: |
Mon, 22 Nov 2004 15:58:40 -0500 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1 |
This mail is an automated notification from the bugs tracker
of the project: AVR C Runtime Library.
/**************************************************************************/
[bugs #6352] Latest Modifications:
Changes by:
Eric Weddington <address@hidden>
'Date:
Mon 11/22/2004 at 20:52 (America/Denver)
What | Removed | Added
---------------------------------------------------------------------------
Assigned to | None | arcanum
/**************************************************************************/
[bugs #6352] Full Item Snapshot:
URL: <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=6352>
Project: AVR C Runtime Library
Submitted by: Jared Grubb
On: Tue 11/04/2003 at 03:05
Category: Header
Severity: 5 - Average
Item Group: None
Resolution: None
Privacy: Public
Assigned to: arcanum
Originator Email: address@hidden
Status: Open
Summary: <avr/sleep.h> does not set sleep mode properly for ATmega162,
ATmega161, and ATmega8515
Original Submission: I have version 1.6 of sleep.h, and on the ATmega161,
ATmega162, and ATmega8515 the sleep mode bits reside in three different
registers:
SM0 : EMCUCR
SM1 : MCUCR
SM2 : MCUCSR (SM2 not present in ATmega161)
The EMCUCR is not even referenced in sleep.h. I have attached my own personal
edit of sleep.h as a possible substitute. I have checked the following register
header files for possible conflicts with my code (checking for the presence of
EMCUCR to determine whether to enter _SLEEP_TYPE=4): m128, m16, m169, m32,
m323, m64, m8, m8535.
Follow-up Comments
------------------
-------------------------------------------------------
Date: Mon 12/29/2003 at 16:35 By: 0 <None>
sorry, not EMCUCR but SMCR on ATmega169
-------------------------------------------------------
Date: Mon 12/29/2003 at 16:25 By: 0 <None>
for ATmega169 SM* are all in EMCUCR.
File Attachments
-------------------
-------------------------------------------------------
Date: Tue 11/04/2003 at 03:05 Name: sleep.h Size: 6.2KB By: yttrbium
Suggested replacement for <avr/sleep.h>
http://savannah.nongnu.org/bugs/download.php?item_id=6352&item_file_id=790
For detailed info, follow this link:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=6352>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-libc-dev] [bugs #6352] <avr/sleep.h> does not set sleep mode properly for ATmega162, ATmega161, and ATmega8515,
Eric Weddington <=