31#ifndef DSP0401_PARAM_SDI_PIN
32#define DSP0401_PARAM_SDI_PIN GPIO_PIN(0, 10)
34#ifndef DSP0401_PARAM_CLK_PIN
35#define DSP0401_PARAM_CLK_PIN GPIO_PIN(1, 3)
37#ifndef DSP0401_PARAM_LAT_PIN
38#define DSP0401_PARAM_LAT_PIN GPIO_PIN(1, 5)
40#ifndef DSP0401_PARAM_PWM_DEV
41#define DSP0401_PARAM_PWM_DEV PWM_DEV(1)
43#ifndef DSP0401_PARAM_PWM_CHAN
44#define DSP0401_PARAM_PWM_CHAN (0U)
46#ifndef DSP0401_PARAM_BRIGHTNESS
47#define DSP0401_PARAM_BRIGHTNESS (255U)
49#ifndef DSP0401_PARAM_MODULE_COUNT
50#define DSP0401_PARAM_MODULE_COUNT (1U)
54#define DSP0401_PARAMS { .sdi = DSP0401_PARAM_SDI_PIN, \
55 .clk = DSP0401_PARAM_CLK_PIN, \
56 .lat = DSP0401_PARAM_LAT_PIN, \
57 .pwm = DSP0401_PARAM_PWM_DEV, \
58 .pwm_channel = DSP0401_PARAM_PWM_CHAN, \
59 .brightness = DSP0401_PARAM_BRIGHTNESS, \
60 .module_count = DSP0401_PARAM_MODULE_COUNT }
Device driver interface for the DSP0401 alphanumeric display.
static const dsp0401_params_t dsp0401_params[]
Configure DSP0401.
Low-level GPIO peripheral driver interface definitions.
Low-level PWM peripheral driver interface definitions.
Device initialization parameters.