Firmware  0.5.1
Loading...
Searching...
No Matches
drv::led::Bug Struct Reference

RAII wrapper for bug LED.

#include <bug.hpp>

Collaboration diagram for drv::led::Bug:

Public Member Functions

 Bug (bool on=true)
 But LED ctor.
 ~Bug ()
 Bug LED dtor.
void on ()
 Turn bug LED on.
void off ()
 Turn bug LED off.

Constructor & Destructor Documentation

◆ Bug()

drv::led::Bug::Bug ( bool on = true)
Parameters
onLED state

◆ ~Bug()

drv::led::Bug::~Bug ( )

Member Function Documentation

◆ off()

void drv::led::Bug::off ( )

◆ on()

void drv::led::Bug::on ( )

The documentation for this struct was generated from the following files:
  • /home/runner/work/Firmware/Firmware/src/drv/led/bug.hpp
  • /home/runner/work/Firmware/Firmware/src/drv/led/bug.cpp