34 #ifndef DSP0401_PARAM_SDI_PIN
35 #define DSP0401_PARAM_SDI_PIN GPIO_PIN(0, 10)
37 #ifndef DSP0401_PARAM_CLK_PIN
38 #define DSP0401_PARAM_CLK_PIN GPIO_PIN(1, 3)
40 #ifndef DSP0401_PARAM_LAT_PIN
41 #define DSP0401_PARAM_LAT_PIN GPIO_PIN(1, 5)
43 #ifndef DSP0401_PARAM_PWM_DEV
44 #define DSP0401_PARAM_PWM_DEV PWM_DEV(1)
46 #ifndef DSP0401_PARAM_PWM_CHAN
47 #define DSP0401_PARAM_PWM_CHAN (0U)
49 #ifndef DSP0401_PARAM_BRIGHTNESS
50 #define DSP0401_PARAM_BRIGHTNESS (255U)
52 #ifndef DSP0401_PARAM_MODULE_COUNT
53 #define DSP0401_PARAM_MODULE_COUNT (1U)
56 #ifndef DSP0401_PARAMS
57 #define DSP0401_PARAMS { .sdi = DSP0401_PARAM_SDI_PIN, \
58 .clk = DSP0401_PARAM_CLK_PIN, \
59 .lat = DSP0401_PARAM_LAT_PIN, \
60 .pwm = DSP0401_PARAM_PWM_DEV, \
61 .pwm_channel = DSP0401_PARAM_PWM_CHAN, \
62 .brightness = DSP0401_PARAM_BRIGHTNESS, \
63 .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.