Go to the documentation of this file.
18 #ifndef GROVE_LEDBAR_PARAMS_H
19 #define GROVE_LEDBAR_PARAMS_H
36 #ifndef GROVE_LEDBAR_CLK
37 #define GROVE_LEDBAR_CLK (GPIO_PIN(0,1))
43 #ifndef GROVE_LEDBAR_DAT
44 #define GROVE_LEDBAR_DAT (GPIO_PIN(0,2))
50 #ifndef GROVE_LEDBAR_DIR
51 #define GROVE_LEDBAR_DIR GROVE_LEDBAR_G2R
57 #ifndef GROVE_LEDBAR_PARAMS
58 #define GROVE_LEDBAR_PARAMS { .leds = 10, \
59 .dir = GROVE_LEDBAR_DIR, \
60 .clk = GROVE_LEDBAR_CLK, \
61 .dat = GROVE_LEDBAR_DAT }
67 #define GROVE_LEDBAR_SAUL_INFO { .name = "Grove LED bar" }
#define GROVE_LEDBAR_SAUL_INFO
SAUL info.
Additional data to collect for each entry.
Interface for the Grove ledbar driver.
static const grove_ledbar_params_t grove_ledbar_params[]
Grove LED bar configuration.
static const saul_reg_info_t grove_ledbar_saul_info[]
Additional meta information to keep in the SAUL registry.
SAUL registry interface definition.
Low-level GPIO peripheral driver interface definitions.
Interface for the MY9221 LED controller driver.
#define GROVE_LEDBAR_PARAMS
Default parameter settings.
Parameters needed for device initialization.