URL:
  <http://savannah.nongnu.org/bugs/?31990>

                 Summary: PRPSC0 used in power.h for AT90PWM81 instead of
PRPSCR
                 Project: AVR C Runtime Library
            Submitted by: praveenkaushik
            Submitted on: Mon 27 Dec 2010 10:21:08 AM GMT
                Category: Header
                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.7.0
           Fixed Release: None

    _______________________________________________________

Details:

power.h uses the macro PRPSC0 for AT90PWM81

#elif defined(__AVR_AT90PWM81__)
...
/* Power Stage Controller 0 */
#define power_psc0_enable()     (PRR &= (uint8_t)~(1 << PRPSC0))
#define power_psc0_disable()    (PRR |= (uint8_t)(1 << PRPSC0))
...
...
define power_all_enable()      (PRR &=
(uint8_t)~((1<<PRADC)|(1<<PRSPI)|(1<<PRTIM1)|(1<<PRPSC0)|(1<<PRPSC2)))
#define power_all_disable()     (PRR |=
(uint8_t)((1<<PRADC)|(1<<PRSPI)|(1<<PRTIM1)|(1<<PRPSC0)|(1<<PRPSC2)))
...

but the XML file shipped with AVR Studio 4, specifies it as PRPSCR.







    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?31990>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to