19#ifndef DSP0401_PARAMS_H
20#define DSP0401_PARAMS_H
35#ifndef DSP0401_PARAM_SDI_PIN
36#define DSP0401_PARAM_SDI_PIN GPIO_PIN(0, 10)
38#ifndef DSP0401_PARAM_CLK_PIN
39#define DSP0401_PARAM_CLK_PIN GPIO_PIN(1, 3)
41#ifndef DSP0401_PARAM_LAT_PIN
42#define DSP0401_PARAM_LAT_PIN GPIO_PIN(1, 5)
44#ifndef DSP0401_PARAM_PWM_DEV
45#define DSP0401_PARAM_PWM_DEV PWM_DEV(1)
47#ifndef DSP0401_PARAM_PWM_CHAN
48#define DSP0401_PARAM_PWM_CHAN (0U)
50#ifndef DSP0401_PARAM_BRIGHTNESS
51#define DSP0401_PARAM_BRIGHTNESS (255U)
53#ifndef DSP0401_PARAM_MODULE_COUNT
54#define DSP0401_PARAM_MODULE_COUNT (1U)
58#define DSP0401_PARAMS { .sdi = DSP0401_PARAM_SDI_PIN, \
59 .clk = DSP0401_PARAM_CLK_PIN, \
60 .lat = DSP0401_PARAM_LAT_PIN, \
61 .pwm = DSP0401_PARAM_PWM_DEV, \
62 .pwm_channel = DSP0401_PARAM_PWM_CHAN, \
63 .brightness = DSP0401_PARAM_BRIGHTNESS, \
64 .module_count = DSP0401_PARAM_MODULE_COUNT }
Low-level GPIO peripheral driver interface definitions.
Device driver interface for the DSP0401 alphanumeric display.
static const dsp0401_params_t dsp0401_params[]
Configure DSP0401.
Low-level PWM peripheral driver interface definitions.
Device initialization parameters.