REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches
platform::LUCIDACFrontPanel::LEDs Class Reference

#include <front_panel.h>

Public Member Functions

 LEDs ()
 
bool set (const uint8_t led, bool on)
 Sets specified front led to the specified value.
 
void set_all (const uint8_t states)
 Sets all eight front leds at once.
 
void reset ()
 Disables all eight front leds.
 
uint8_t get_all () const
 Returns the current state of the front leds.
 
utils::status write_to_hardware () const
 

Detailed Description

Definition at line 80 of file front_panel.h.

Constructor & Destructor Documentation

◆ LEDs()

FLASHMEM platform::LUCIDACFrontPanel::LEDs::LEDs ( )

Definition at line 31 of file front_panel.cpp.

Member Function Documentation

◆ get_all()

FLASHMEM uint8_t platform::LUCIDACFrontPanel::LEDs::get_all ( ) const

Returns the current state of the front leds.

Definition at line 55 of file front_panel.cpp.

◆ reset()

FLASHMEM void platform::LUCIDACFrontPanel::LEDs::reset ( )

Disables all eight front leds.

Definition at line 50 of file front_panel.cpp.

◆ set()

FLASHMEM bool platform::LUCIDACFrontPanel::LEDs::set ( const uint8_t led,
bool on )

Sets specified front led to the specified value.

Definition at line 36 of file front_panel.cpp.

◆ set_all()

FLASHMEM void platform::LUCIDACFrontPanel::LEDs::set_all ( const uint8_t states)

Sets all eight front leds at once.

Definition at line 48 of file front_panel.cpp.

◆ write_to_hardware()

FLASHMEM utils::status platform::LUCIDACFrontPanel::LEDs::write_to_hardware ( ) const

Definition at line 57 of file front_panel.cpp.


The documentation for this class was generated from the following files: