NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ledstrip.h File Reference
#include <stddef.h>
#include "../config/ledstrip.h"
Include dependency graph for ledstrip.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ledstrip
 

Functions

void ledstrip_init (struct ledstrip *self, const struct config *config, const struct system_calls *system, struct rx *rx, struct failsafe *failsafe)
 
bool ledstrip_set_led_config (struct ledstrip *self, int ledIndex, const char *config)
 
void ledstrip_update (struct ledstrip *self)
 
void ledstrip_update_ring (struct ledstrip *self)
 
void ledstrip_set_default_config (struct ledstrip *self)
 
void ledstrip_genconfig (struct ledstrip *self, int ledIndex, char *ledConfigBuffer, size_t bufferSize)
 
void applyDefaultColors (void)
 
void ledstrip_enable (struct ledstrip *self)
 
void ledstrip_disable (struct ledstrip *self)
 
void ledstrip_reload_config (struct ledstrip *self)
 Currently reloads config from the global store TODO: pass config to init! More...
 

Function Documentation

void applyDefaultColors ( void  )
void ledstrip_disable ( struct ledstrip self)

Here is the call graph for this function:

void ledstrip_enable ( struct ledstrip self)

Here is the call graph for this function:

void ledstrip_genconfig ( struct ledstrip self,
int  ledIndex,
char *  ledConfigBuffer,
size_t  bufferSize 
)
void ledstrip_init ( struct ledstrip self,
const struct config config,
const struct system_calls system,
struct rx rx,
struct failsafe failsafe 
)
void ledstrip_reload_config ( struct ledstrip self)

Currently reloads config from the global store TODO: pass config to init!

void ledstrip_set_default_config ( struct ledstrip self)
bool ledstrip_set_led_config ( struct ledstrip self,
int  ledIndex,
const char *  config 
)
void ledstrip_update ( struct ledstrip self)

Here is the call graph for this function:

void ledstrip_update_ring ( struct ledstrip self)