[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [bug #6352] <avr/sleep.h> does not set sleep mode properl
From: |
nobody |
Subject: |
[avr-libc-dev] [bug #6352] <avr/sleep.h> does not set sleep mode properly for ATmega162, ATmega161, and ATmega8515 |
Date: |
Mon, 03 Nov 2003 22:05:27 -0500 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 |
=================== BUG #6352: FULL BUG SNAPSHOT ===================
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=6352&group_id=2140
Submitted by: yttrbium Project: AVR C Runtime Library
Submitted on: Tue 11/04/2003 at 03:05
Category: Header Severity: 5 - Major
Bug Group: None Resolution: None
Assigned to: None 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.
No Followups Have Been Posted
CC list is empty
File Attachments
****************
-------------------------------------------------------
Date: Tue 11/04/2003 at 03:05 Name: sleep.h Size: 6KB By: yttrbium
Suggested replacement for <avr/sleep.h>
http://savannah.nongnu.org/bugs/download.php?group_id=2140&bug_id=6352&bug_file_id=790
For detailed info, follow this link:
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=6352&group_id=2140
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-libc-dev] [bug #6352] <avr/sleep.h> does not set sleep mode properly for ATmega162, ATmega161, and ATmega8515,
nobody <=