NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
system_calls_leds Struct Reference

#include <system_calls.h>

Data Fields

void(* on )(const struct system_calls_leds *self, uint8_t led, bool on)
 
void(* toggle )(const struct system_calls_leds *self, uint8_t led)
 

Detailed Description

System calls for interacting with leds.

Field Documentation

void(* system_calls_leds::on)(const struct system_calls_leds *self, uint8_t led, bool on)

Turns a led on or off. If led is out of range then this function should ignore the command.

void(* system_calls_leds::toggle)(const struct system_calls_leds *self, uint8_t led)

Toggles a led. If led id is out of range then this function should ignore the command.


The documentation for this struct was generated from the following file: