sim_sleep.h File Reference

yasimavr: sim_sleep.h File Reference
yasimavr
Loading...
Searching...
No Matches
sim_sleep.h File Reference
#include "sim_peripheral.h"
#include "sim_signal.h"
#include "sim_types.h"

Go to the source code of this file.

Classes

struct  SleepConfig
 Configuration structure for a generic sleep mode controller. More...
 
struct  SleepConfig::mode_config_t
 Configuration structure for each supported sleep mode. More...
 
class  SleepController
 Generic sleep mode controller. More...
 

Enumerations

enum class  SleepMode {
  Invalid , Active , Pseudo , Idle ,
  ADC , Standby , ExtStandby , PowerDown ,
  PowerSave
}
 

Functions

const char * SleepModeName (SleepMode mode) AVR_CORE_PUBLIC_API
 

Enumeration Type Documentation

◆ SleepMode

enum class SleepMode
strong

Definition of generic sleep modes

Enumerator
Invalid 
Active 
Pseudo 
Idle 
ADC 
Standby 
ExtStandby 
PowerDown 
PowerSave 

Function Documentation

◆ SleepModeName()

const char * SleepModeName ( SleepMode  mode)