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

Go to the source code of this file.

Classes

class  cdc::ui::LockScreenView

Namespaces

namespace  cdc
namespace  cdc::hal
namespace  cdc::ui
 Centralized key-code constants for cdc_views.

Enumerations

enum class  cdc::ui::StatusIcon : uint16_t {
  cdc::ui::NONE = 0 , cdc::ui::LOCK = (1 << 0) , cdc::ui::DEEP_SLEEP = (1 << 1) , cdc::ui::LIGHT_SLEEP = (1 << 2) ,
  cdc::ui::BACKLIGHT = (1 << 3) , cdc::ui::USB = (1 << 4) , cdc::ui::BLE = (1 << 5) , cdc::ui::WIFI = (1 << 6) ,
  cdc::ui::SAO = (1 << 7) , cdc::ui::CHARGING = (1 << 8) , cdc::ui::NO_BATTERY = (1 << 9) , cdc::ui::CAFFEINATED = (1 << 10) ,
  cdc::ui::BACKGROUND = (1 << 11)
}

Functions

StatusIcon cdc::ui::operator| (StatusIcon a, StatusIcon b)
StatusIcon cdc::ui::operator& (StatusIcon a, StatusIcon b)
StatusIconcdc::ui::operator|= (StatusIcon &a, StatusIcon b)

Variables

static constexpr uint32_t cdc::ui::DEEP_SLEEP_HOLD_MS = 5000