AVR MEGA Sleep manager implementation.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
Enumerations | |
enum | sleepmgr_mode { SLEEPMGR_ACTIVE = 0, SLEEPMGR_IDLE, SLEEPMGR_ADC_NOISE_REDUCTION, SLEEPMGR_ESTDBY, SLEEPMGR_PSAVE, SLEEPMGR_STDBY, SLEEPMGR_PDOWN, SLEEPMGR_NR_OF_MODES } |
Sleep mode locks. More... | |
Internal arrays | |
uint8_t | sleepmgr_locks [] |
enum SLEEP_SMODE_enum | sleepmgr_configs [] |
Look-up table with sleep mode configurations. More... | |
static void | sleepmgr_sleep (const enum sleepmgr_mode sleep_mode) |
Enter the sleep with interrupt enabled. More... | |