From acce7d8e05ac38776d6340342f6a7868df4f7f28 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sun, 28 Nov 2021 23:53:05 +0100 Subject: lcd driver added; fixed startup code; --- fw/fe310/eos/lcd.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 fw/fe310/eos/lcd.h (limited to 'fw/fe310/eos/lcd.h') diff --git a/fw/fe310/eos/lcd.h b/fw/fe310/eos/lcd.h new file mode 100644 index 0000000..1bcb2cd --- /dev/null +++ b/fw/fe310/eos/lcd.h @@ -0,0 +1,12 @@ +#include + +int eos_lcd_init(uint8_t wakeup_cause); +int eos_lcd_select(void); +void eos_lcd_deselect(void); +void eos_lcd_cs_set(void); +void eos_lcd_cs_clear(void); +void eos_lcd_write(uint8_t dc, uint8_t data); +void eos_lcd_read(uint8_t *data); + +int eos_lcd_sleep(void); +int eos_lcd_wake(void); \ No newline at end of file -- cgit v1.2.3