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" }
Low-level GPIO peripheral driver interface definitions.
Interface for the Grove ledbar driver.
static const saul_reg_info_t grove_ledbar_saul_info[]
Additional meta information to keep in the SAUL registry.
static const grove_ledbar_params_t grove_ledbar_params[]
Grove LED bar configuration.
#define GROVE_LEDBAR_PARAMS
Default parameter settings.
#define GROVE_LEDBAR_SAUL_INFO
SAUL info.
Interface for the MY9221 LED controller driver.
SAUL registry interface definition.
Parameters needed for device initialization.
Additional data to collect for each entry.