avrdudes / avr-libc

The AVR-LibC package provides a subset of the standard C library for AVR 8-bit RISC microcontrollers.
https://avrdudes.github.io/avr-libc/
Other
247 stars 53 forks source link

[bug #39024] Incorrect sleep modes in sleep.h #564

Closed avrs-admin closed 2 years ago

avrs-admin commented 2 years ago

Mon 20 May 2013 02:18:51 PM CEST

This patch corrects wrong sleep mode groupings in sleep.h.

In particular

  1. Extended sleep mode is not supported by atmega165a/165pa/325a/325pa/3250a/3250pa/645a/645p/6450a/6450p devices

  2. Extended sleep modes is not supported by AT90CAN128, AT90CAN32, AT90CAN64, ATMEGA165, 168, 165P, 169, 169P, 169A, 169PA, 3250P, 325P, 325, 3250, 329, 329A, 329P, 329PA, 3290, 3290A, 3290PA, 3290P, 48, 645, 6450, 649, 649A, 649P, 6490, 6490A, 6490P, 8, 88 devices.

3.Extended sleep mode and Power save modes are not supported by AT90PWM1, PWM2, PWM2B, PWM3, PWM3B ATMEGA16M1, 32M1, 64M1

  1. ADC Noise reduction mode is not supported by AT90USB162, USB82 ATMEGA 16U2, 32U2, 8U2

5.Standby and Extended sleep mode are not supported by ATMEGA16HVA, 8HVA

  1. Standby and Extended sleep modes are not supported by ATMEGA406

  2. Standby, ADC noise reduction and Extended sleep mode are not supported by ATMEGA64HVE

ChangeLog

2013-05-20  Vishnu K. S  vishnu.k_s@atmel.com

file #28117: sleep_mode_groupings.patch file #28126: sleep_mode_groupings.patch

This issue was migrated from https://savannah.nongnu.org/bugs/?39024

avrs-admin commented 2 years ago

Senthil Kumar Selvaraj Mon 22 Jun 2015 08:06:24 AM CEST

Fixed with commits r2454 - r2457, which moved the sleep mode definitions to the corresponding device header files.