OSDN Git Service

Added bare-metal test codes.
[bluetank/bluetank.git] / firm / bare_metal / lcd.h
1 #ifndef _LCD_H_
2 #define _LCD_H_
3
4 #include <stdbool.h>
5 #include <inttypes.h>
6
7 typedef enum {
8     Left,
9     Right
10 } Direction;
11
12 void lcd_init(void);
13 void lcd_clear(void);
14 void lcd_cursor_at_home(void);
15 void lcd_entry_mode_set(bool increment, bool shifted);
16 void lcd_display(bool display, bool cursor, bool blink);
17 void lcd_cursor_shift(Direction dir);
18 void lcd_display_shift(Direction dir);
19 void lcd_goto(uint8_t x, uint8_t y);
20 void lcd_putc(char c);
21 void lcd_puts(char *str);
22
23 #endif
24