OSDN Git Service

Changed the implementation with lib.
[kozos-expbrd/kozos_expbrd.git] / firm / sample / simple_mp3_player / os / ipc_display.h
1
2 #ifndef IPC_DISPLAY_H
3 #define IPC_DISPLAY_H
4
5 #define DISPLAY_CMD_LCD_CLEAR       'c' /* LCD\e$B$N>C5n\e(B */
6 #define DISPLAY_CMD_LCD_DRAW_BOX    'b' /* BOX\e$BIA2h%3%^%s%I\e(B */
7 #define DISPLAY_CMD_LCD_DRAW_LOGO   'l' /* LOGO\e$BIA2h%3%^%s%I\e(B */
8 #define DISPLAY_CMD_LCD_DRAW_TEXT   't' /* TEXT\e$BIA2h%3%^%s%I\e(B */
9 #define DISPLAY_CMD_LCD_DRAW_PBAR   'p' /* PBAR\e$BIA2h%3%^%s%I\e(B */
10 #define DISPLAY_CMD_LED_ON          '1' /* LED\e$B$NE@Et\e(B */
11 #define DISPLAY_CMD_LED_OFF         '0' /* LED\e$B$N>CEt\e(B */
12 #define DISPLAY_CMD_LED_TOGGLE      'a' /* LED\e$B$N%H%0%k\e(B */
13
14 void ipc_display_led_write(int target, int state);
15 void ipc_display_led_toggle(int target);
16 void ipc_display_clear(void);
17 void ipc_display_draw_box(int x1, int y1, int x2, int y2, int on);
18 void ipc_display_draw_logo(int x, int y, int size);
19 void ipc_display_draw_text(int x, int y, char *str);
20 void ipc_display_draw_progressbar(
21         int x1, int y1, int x2, int y2,
22         int min, int max, int value);
23
24 #endif
25