Low-level GPIO peripheral driver interface definitions.
 
void dsp0401_clear_text(const dsp0401_t *dev)
Clear the text displayed on the DSP0401.
 
void dsp0401_scroll_text(const dsp0401_t *dev, char *text, uint16_t delay)
Scroll the given text on the DSP0401.
 
int dsp0401_init(dsp0401_t *dev, const dsp0401_params_t *params)
Initialize the given DSP0401.
 
void dsp0401_display_text(const dsp0401_t *dev, char *text)
Display the given text on the DSP0401.
 
@ DSP0401_ERR_CLK_GPIO
Something went wrong with CLK GPIO.
 
@ DSP0401_ERR_PWM
Something went wrong with PWM.
 
@ DSP0401_ERR_SDI_GPIO
Something went wrong with SDI GPIO.
 
@ DSP0401_ERR_LAT_GPIO
Something went wrong with LAT GPIO.
 
uint_fast8_t pwm_t
Default PWM type definition.
 
void delay(unsigned long msec)
Sleep for a given amount of time [milliseconds].
 
Adds include for missing inttype definitions.
 
Low-level PWM peripheral driver interface definitions.
 
Device initialization parameters.
 
uint8_t pwm_channel
PWM device channel.
 
uint8_t module_count
Number of connected modules.
 
gpio_t sdi
Data input pin.
 
uint8_t brightness
LED brightness.
 
Device descriptor for the DSP0401.
 
dsp0401_params_t params
Device parameters.