RTEMS CPU Kit with SuperCore  4.11.3
power.h File Reference

Power Reduction Management. More...

#include <avr/io.h>
#include <stdint.h>
Include dependency graph for power.h:

Go to the source code of this file.

Detailed Description

Power Reduction Management.

Many AVRs contain a Power Reduction Register (PRR) or Registers (PRRx) that allow you to reduce power consumption by disabling or enabling various on-board peripherals as needed.

There are many macros in this header file that provide an easy interface to enable or disable on-board peripherals to reduce power. See the table below.

Note
Not all AVR devices have a Power Reduction Register (for example the ATmega128). On those devices without a Power Reduction Register, these macros are not available.
Not all AVR devices contain the same peripherals (for example, the LCD interface), or they will be named differently (for example, USART and USART0). Please consult your device's datasheet, or the header file, to find out which macros are applicable to your device.