CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
ISleepController.h File Reference
#include "cdc_core/IService.h"
#include <cstdint>

Go to the source code of this file.

Classes

struct  cdc::hal::SleepCallbackEntry
class  cdc::hal::ISleepController

Namespaces

namespace  cdc
namespace  cdc::hal

Typedefs

using cdc::hal::SleepCallback = void (*)(void* context)

Enumerations

enum class  cdc::hal::SleepMode : uint8_t { cdc::hal::NONE , cdc::hal::LIGHT_SLEEP , cdc::hal::DEEP_SLEEP }
enum class  cdc::hal::WakeupSource : uint8_t {
  cdc::hal::UNKNOWN , cdc::hal::TIMER , cdc::hal::GPIO , cdc::hal::TOUCHPAD ,
  cdc::hal::EXT0 , cdc::hal::EXT1
}

Functions

ISleepControllercdc::hal::getSleepControllerInstance ()
 Returns the singleton sleep controller service instance.