2011-10-17 10:32:19 +00:00
|
|
|
#ifndef _LCDIF_RK27XX_H
|
|
|
|
#define _LCDIF_RK27XX_H
|
|
|
|
|
2012-02-28 16:53:52 +00:00
|
|
|
enum lcdif_mode_t {
|
|
|
|
LCDIF_16BIT,
|
|
|
|
LCDIF_18BIT
|
|
|
|
};
|
|
|
|
|
2011-10-17 10:32:19 +00:00
|
|
|
unsigned int lcd_data_transform(unsigned int data);
|
|
|
|
|
|
|
|
void lcd_cmd(unsigned int cmd);
|
|
|
|
void lcd_data(unsigned int data);
|
|
|
|
void lcd_write_reg(unsigned int reg, unsigned int val);
|
2012-02-28 16:53:52 +00:00
|
|
|
void lcdif_init(enum lcdif_mode_t mode);
|
2011-10-17 10:32:19 +00:00
|
|
|
|
|
|
|
#endif /* _LCDIF_RK27XX_H */
|