#include <FLED.hpp>
|
enum Leosac::Hardware::FLED::State:: { ... } | st |
| Internal state of the LED. More...
|
|
int64_t | duration |
| Set only if st is BLINKING , it represents the total duration of blinking. More...
|
|
int64_t | speed |
| Set only if st is BLINKING , it represents the speed of blinking. More...
|
|
bool | value |
| Set only if st is BLINKING : value of the LED (true if ON, false otherwise). More...
|
|
Definition at line 47 of file FLED.hpp.
◆ anonymous enum
Internal state of the LED.
Enumerator |
---|
ON | |
OFF | |
BLINKING | |
UNKNOWN | |
Definition at line 60 of file FLED.hpp.
◆ State()
Leosac::Hardware::FLED::State::State |
( |
| ) |
|
|
inline |
◆ duration
int64_t Leosac::Hardware::FLED::State::duration |
Set only if st
is BLINKING
, it represents the total duration of blinking.
Definition at line 72 of file FLED.hpp.
◆ speed
int64_t Leosac::Hardware::FLED::State::speed |
Set only if st
is BLINKING
, it represents the speed of blinking.
Definition at line 77 of file FLED.hpp.
◆ st
enum { ... } Leosac::Hardware::FLED::State::st |
Internal state of the LED.
◆ value
bool Leosac::Hardware::FLED::State::value |
Set only if st
is BLINKING
: value of the LED (true if ON, false otherwise).
Definition at line 83 of file FLED.hpp.
The documentation for this struct was generated from the following file: