#include <leds.h>
|
| | NativeLEDs () |
| |
| bool | set (const uint8_t led, bool on) override |
| | Sets specified front led to the specified value.
|
| |
| void | set_all (const uint8_t states) override |
| | Sets all eight front leds at once.
|
| |
| void | reset () override |
| | Disables all eight front leds.
|
| |
| uint8_t | get_all () const override |
| | Returns the current state of the front leds.
|
| |
| utils::status | write_to_hardware () const override |
| |
Definition at line 8 of file leds.h.
◆ NativeLEDs()
| platform::NativeLEDs::NativeLEDs |
( |
| ) |
|
◆ get_all()
| uint8_t platform::NativeLEDs::get_all |
( |
| ) |
const |
|
override |
Returns the current state of the front leds.
Definition at line 22 of file leds.cpp.
◆ reset()
| void platform::NativeLEDs::reset |
( |
| ) |
|
|
override |
Disables all eight front leds.
Definition at line 20 of file leds.cpp.
◆ set()
| bool platform::NativeLEDs::set |
( |
const uint8_t | led, |
|
|
bool | on ) |
|
override |
Sets specified front led to the specified value.
Definition at line 6 of file leds.cpp.
◆ set_all()
| void platform::NativeLEDs::set_all |
( |
const uint8_t | states | ) |
|
|
override |
Sets all eight front leds at once.
Definition at line 18 of file leds.cpp.
◆ write_to_hardware()
| utils::status platform::NativeLEDs::write_to_hardware |
( |
| ) |
const |
|
override |
The documentation for this class was generated from the following files: