oveRTOS C++ API
C++20 RAII wrappers for the oveRTOS C API
Loading...
Searching...
No Matches
Namespaces | Functions
led.hpp File Reference

On-board LED control functions. More...

#include <ove/led.h>
#include <ove/types.hpp>
Include dependency graph for led.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ove
 Top-level namespace for all oveRTOS C++ abstractions.
 
namespace  ove::led
 Thin C++ wrappers around the oveRTOS LED control API.
 

Functions

void ove::led::set (unsigned int led, int on)
 Turns a LED on or off.
 
void ove::led::toggle (unsigned int led)
 Toggles the state of a LED.
 
unsigned int ove::led::count ()
 Returns the total number of LEDs available on this board.
 

Detailed Description

On-board LED control functions.