Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Classes | Enumerations | Variables
lampda::modes::hardware Namespace Reference

Provide interface to the physical hardware and other facilities. More...

Classes

struct  LampTy
 Main interface between the user and the hardware of the lamp. More...
 

Enumerations

enum class  LampTypes : uint8_t { simple , cct , indexable }
 Enumeration to write code working with all lamp types. More...
 

Variables

static constexpr LampTypes _lampType = LampTypes::simple
 
static constexpr LampTypes lampType = _lampType
 Currently implemented lamp type, defined at compile-time by the user.
 

Detailed Description

Provide interface to the physical hardware and other facilities.

Enumeration Type Documentation

◆ LampTypes

enum class lampda::modes::hardware::LampTypes : uint8_t
strong

Enumeration to write code working with all lamp types.

See LampTy::flavor and its usage

Enumerator
simple 

Equivalent to LMBD_LAMP_TYPE__SIMPLE.

cct 

Equivalent to LMBD_LAMP_TYPE__CCT.

indexable 

Equivalent to LMBD_LAMP_TYPE__INDEXABLE.