#include <Power.hh>
Power Management and Sleep modes.
Definition at line 31 of file Power.hh.
static void Power::adc_disable |
( |
| ) |
|
|
inlinestatic |
static void Power::adc_enable |
( |
| ) |
|
|
inlinestatic |
static void Power::all_disable |
( |
| ) |
|
|
inlinestatic |
static void Power::all_enable |
( |
| ) |
|
|
inlinestatic |
static uint8_t Power::set |
( |
uint8_t |
mode | ) |
|
|
inlinestatic |
Set the default sleep mode: SLEEP_MODE_IDLE, SLEEP_MODE_ADC, SLEEP_MODE_PWR_DOWN, SLEEP_MODE_PWR_SAVE, SLEEP_MODE_STANDBY, and SLEEP_MODE_EXT_STANDBY.
- Parameters
-
[in] | mode | sleep mode, see <avr/sleep.h> |
- Returns
- previous mode.
Definition at line 40 of file Power.hh.
void Power::sleep |
( |
uint8_t |
mode = POWER_SLEEP_MODE | ) |
|
|
static |
Put the processor in the given sleep mode and wait for an interrupt to wake up.
- Parameters
-
[in] | mode | sleep mode, see <avr/sleep.h> |
Definition at line 30 of file Power.cpp.
static void Power::timer0_disable |
( |
| ) |
|
|
inlinestatic |
static void Power::timer0_enable |
( |
| ) |
|
|
inlinestatic |
static void Power::timer1_disable |
( |
| ) |
|
|
inlinestatic |
static void Power::timer1_enable |
( |
| ) |
|
|
inlinestatic |
The documentation for this class was generated from the following files: