Device driver interface for the DSP0401 alphanumeric display. More...
Device driver interface for the DSP0401 alphanumeric display.
Definition in file dsp0401.h.
Go to the source code of this file.
Data Structures | |
struct | dsp0401_params_t |
Device initialization parameters. More... | |
struct | dsp0401_t |
Device descriptor for the DSP0401. More... | |
Enumerations | |
enum | { DSP0401_OK = 0, DSP0401_ERR_CLK_GPIO, DSP0401_ERR_SDI_GPIO, DSP0401_ERR_LAT_GPIO, DSP0401_ERR_PWM } |
Return codes. More... | |
Functions | |
int | dsp0401_init (dsp0401_t *dev, const dsp0401_params_t *params) |
Initialize the given DSP0401. More... | |
void | dsp0401_display_text (const dsp0401_t *dev, char *text) |
Display the given text on the DSP0401. More... | |
void | dsp0401_clear_text (const dsp0401_t *dev) |
Clear the text displayed on the DSP0401. More... | |
void | dsp0401_scroll_text (const dsp0401_t *dev, char *text, uint16_t delay) |
Scroll the given text on the DSP0401. More... | |