ihsm-strain-gage-controller-fw/include/lcd.h
2023-05-08 23:26:51 +02:00

23 lines
387 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;
void lcd_dma_interrupt(uint32_t channel, uint32_t flags);
#endif /* __LCD_H__ */