Random
This commit is contained in:
21
include/systems/lcd_writer.h
Normal file
21
include/systems/lcd_writer.h
Normal file
@ -0,0 +1,21 @@
|
||||
//lcd_writer.h - Defines interface for buffered, async LCD display writting
|
||||
|
||||
#ifndef DISPLAY_WRITER_H_
|
||||
#define DISPLAY_WRITER_H_
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#include <drivers/display.h>
|
||||
|
||||
typedef struct lcd_writer_t lcd_writer_t;
|
||||
|
||||
lcd_writer_t *lcd_writer_init(display_t *display, bool bypass);
|
||||
void lcd_writer_destroy(lcd_writer_t *lcdw);
|
||||
|
||||
void lcd_writer_clr(lcd_writer_t *lcdw);
|
||||
void lcd_writer_clr_line(lcd_writer_t *lcdw, int lin);
|
||||
void lcd_writer_chr(lcd_writer_t *lcdw, char ch, int lin, int col);
|
||||
void lcd_writer_str(lcd_writer_t *lcdw, char *str, int lin, int col);
|
||||
void lcd_writer_flush(lcd_writer_t *lcdw);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user