diff options
Diffstat (limited to 'firmware/target/arm/rk27xx/lcdif-rk27xx.h')
-rw-r--r-- | firmware/target/arm/rk27xx/lcdif-rk27xx.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/firmware/target/arm/rk27xx/lcdif-rk27xx.h b/firmware/target/arm/rk27xx/lcdif-rk27xx.h index caf97c8e94..1d7b810fa2 100644 --- a/firmware/target/arm/rk27xx/lcdif-rk27xx.h +++ b/firmware/target/arm/rk27xx/lcdif-rk27xx.h | |||
@@ -1,11 +1,16 @@ | |||
1 | #ifndef _LCDIF_RK27XX_H | 1 | #ifndef _LCDIF_RK27XX_H |
2 | #define _LCDIF_RK27XX_H | 2 | #define _LCDIF_RK27XX_H |
3 | 3 | ||
4 | enum lcdif_mode_t { | ||
5 | LCDIF_16BIT, | ||
6 | LCDIF_18BIT | ||
7 | }; | ||
8 | |||
4 | unsigned int lcd_data_transform(unsigned int data); | 9 | unsigned int lcd_data_transform(unsigned int data); |
5 | 10 | ||
6 | void lcd_cmd(unsigned int cmd); | 11 | void lcd_cmd(unsigned int cmd); |
7 | void lcd_data(unsigned int data); | 12 | void lcd_data(unsigned int data); |
8 | void lcd_write_reg(unsigned int reg, unsigned int val); | 13 | void lcd_write_reg(unsigned int reg, unsigned int val); |
9 | void lcd_display_init(void); | 14 | void lcdif_init(enum lcdif_mode_t mode); |
10 | 15 | ||
11 | #endif /* _LCDIF_RK27XX_H */ | 16 | #endif /* _LCDIF_RK27XX_H */ |