ihsm-strain-gage-controller-fw/include/lcd.h
2023-05-03 17:51:01 +02:00

21 lines
328 B
C

#ifndef __LCD_H__
#define __LCD_H__
void lcd_init(void);
void lcd_write_dma(const char **buf);
#ifndef LCD_PEX_ADDR
#define LCD_PEX_ADDR 0x4E
#endif
struct lcd_state {
uint8_t buf[512];
uint32_t cr2_buf;
bool led;
bool has_lcd;
ErrorCode error;
};
extern struct lcd_state st_lcd;
#endif /* __LCD_H__ */