33#ifndef GROVE_LEDBAR_CLK
34#define GROVE_LEDBAR_CLK (GPIO_PIN(0, 1))
40#ifndef GROVE_LEDBAR_DAT
41#define GROVE_LEDBAR_DAT (GPIO_PIN(0, 2))
47#ifndef GROVE_LEDBAR_DIR
48#define GROVE_LEDBAR_DIR GROVE_LEDBAR_G2R
54#ifndef GROVE_LEDBAR_PARAMS
55#define GROVE_LEDBAR_PARAMS { .leds = 10, \
56 .dir = GROVE_LEDBAR_DIR, \
57 .clk = GROVE_LEDBAR_CLK, \
58 .dat = GROVE_LEDBAR_DAT }
64#define GROVE_LEDBAR_SAUL_INFO { .name = "Grove LED bar" }
Low-level GPIO peripheral driver interface definitions.
my9221_params_t grove_ledbar_params_t
Parameters needed for device initialization.
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.
Additional data to collect for each entry.