Yoshiyuki Uehara / Mbed 2 deprecated Maple

Dependencies:   mbed

Committer:
uehara00
Date:
Sun Sep 25 11:37:21 2011 +0000
Revision:
0:0be38b583cf7
Child:
1:aefa1992ce0f
Preliminary. Alarm functions are not yet implimented.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
uehara00 0:0be38b583cf7 1 // MAPLE board[MARM01-BASE]
uehara00 0:0be38b583cf7 2 // LCD(TC1602E-25A) driver
uehara00 0:0be38b583cf7 3 //
uehara00 0:0be38b583cf7 4 #ifndef MAPLE_LCD_H_
uehara00 0:0be38b583cf7 5 #define MAPLE_LCD_H_
uehara00 0:0be38b583cf7 6
uehara00 0:0be38b583cf7 7 //constants
uehara00 0:0be38b583cf7 8 #define LCD_CURSOR_ON 1
uehara00 0:0be38b583cf7 9 #define LCD_CURSOR_OFF 0
uehara00 0:0be38b583cf7 10
uehara00 0:0be38b583cf7 11 // prototypes
uehara00 0:0be38b583cf7 12 void LCD_clear_display();
uehara00 0:0be38b583cf7 13 void LCD_return_home();
uehara00 0:0be38b583cf7 14 void LCD_entry_mode_set(int id, int s);
uehara00 0:0be38b583cf7 15 void LCD_display_on_off_control(int d, int c, int b);
uehara00 0:0be38b583cf7 16 void LCD_cursor_or_display_shift(int sc, int rl);
uehara00 0:0be38b583cf7 17 void LCD_function_set(int n, int f);
uehara00 0:0be38b583cf7 18 void LCD_set_CGRAM_address(int a);
uehara00 0:0be38b583cf7 19 void LCD_set_DDRAM_address(int a);
uehara00 0:0be38b583cf7 20 char LCD_read_busy_flag_and_address();
uehara00 0:0be38b583cf7 21 void LCD_write_data_to_CG_or_DDRAM(char d);
uehara00 0:0be38b583cf7 22 char LCD_read_data_from_CG_or_DDRAM();
uehara00 0:0be38b583cf7 23 void LCD_CGRAM_customize();
uehara00 0:0be38b583cf7 24
uehara00 0:0be38b583cf7 25 void LCD_initialize();
uehara00 0:0be38b583cf7 26 void LCD_print_char(char c);
uehara00 0:0be38b583cf7 27 void LCD_print_string(char s[]);
uehara00 0:0be38b583cf7 28 void LCD_print_hex(char c);
uehara00 0:0be38b583cf7 29 void LCD_locate(int row, int column);
uehara00 0:0be38b583cf7 30 void LCD_cursor(int c);
uehara00 0:0be38b583cf7 31
uehara00 0:0be38b583cf7 32 #endif