#include <leds.h>
|
| TeensyLEDs () |
|
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 9 of file leds.h.
◆ TeensyLEDs()
FLASHMEM platform::TeensyLEDs::TeensyLEDs |
( |
| ) |
|
◆ get_all()
FLASHMEM uint8_t platform::TeensyLEDs::get_all |
( |
| ) |
const |
|
override |
Returns the current state of the front leds.
Definition at line 28 of file leds.cpp.
◆ reset()
FLASHMEM void platform::TeensyLEDs::reset |
( |
| ) |
|
|
override |
Disables all eight front leds.
Definition at line 23 of file leds.cpp.
◆ set()
FLASHMEM bool platform::TeensyLEDs::set |
( |
const uint8_t | led, |
|
|
bool | on ) |
|
override |
Sets specified front led to the specified value.
Definition at line 9 of file leds.cpp.
◆ set_all()
FLASHMEM void platform::TeensyLEDs::set_all |
( |
const uint8_t | states | ) |
|
|
override |
Sets all eight front leds at once.
Definition at line 21 of file leds.cpp.
◆ write_to_hardware()
FLASHMEM utils::status platform::TeensyLEDs::write_to_hardware |
( |
| ) |
const |
|
override |
The documentation for this class was generated from the following files:
- lib/hardware/src/lucidac/teensy/leds.h
- lib/hardware/src/lucidac/leds.cpp