BlinkenArea - GitList
Repositories
Blog
Wiki
mips_sys
Code
Commits
Branches
Tags
Search
Tree:
df6d296
Branches
Tags
master
mips_sys
fw
lcd.h
implemented LCD peripheral
Stefan Schuermans
commited
df6d296
at 2012-02-12 15:31:45
lcd.h
Blame
History
Raw
#ifndef LCD_H #define LCD_H /** * @brief set data to LCD * @param[in] data data to LCD */ void lcd_set_data(unsigned char data); /** * @brief set enable signal to LCD * @param[in] state state for enable signal (0 or 1) */ void lcd_set_e(unsigned char state); /** * @brief set register select signal to LCD * @param[in] state state for register select signal (0 or 1) */ void lcd_set_rs(unsigned char state); /** * @brief set read/write signal to LCD * @param[in] state state for read/write signal (0 or 1) */ void lcd_set_rw(unsigned char state); /** set LCD to 4 bit mode */ void lcd_set4bit(void); /** * @brief output a byte to LCD * @param[in] data if the byte is a data byte (command otherwise) * @param[in] byte byte to write */ void lcd_byte(unsigned char data, unsigned char byte); /** initialize LCD */ void lcd_init(void); #endif /* #ifndef LCD_H */