apa102.h File Reference

Interface for controlling APA102 LEDs. More...

Detailed Description

Interface for controlling APA102 LEDs.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file apa102.h.

#include "color.h"
#include "periph/gpio.h"
+ Include dependency graph for apa102.h:

Go to the source code of this file.

Data Structures

struct  apa102_params_t
 Configuration parameters for (chained) APA102 LEDs. More...
 

Typedefs

typedef apa102_params_t apa102_t
 Device descriptor definition for APA102 LEDs.
 

Functions

void apa102_init (apa102_t *dev, const apa102_params_t *params)
 Initialize (chained) APA102 LEDs. More...
 
void apa102_load_rgba (const apa102_t *dev, const color_rgba_t vals[])
 Apply the given color values to the connected LED(s) More...