mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-14 07:32:35 -05:00
Collect some of the memory frame LCD C code.
For this commit: Sansa e200v1, Gigabeat F, Gigabeat S and Mini2440 are changed over. Quite a number of other targets probably can be as well. General LCD code is moved out of the target drivers into drivers/lcd-memframe.c. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31311 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f53b8ff959
commit
62facd1ff2
9 changed files with 246 additions and 443 deletions
|
|
@ -18,8 +18,10 @@
|
|||
* KIND, either express or implied.
|
||||
*
|
||||
****************************************************************************/
|
||||
#ifndef LCD_TARGET_H
|
||||
#define LCD_TARGET_H
|
||||
|
||||
extern void lcd_enable(bool state);
|
||||
#define LCD_FRAMEBUF_ADDR(col, row) ((fb_data *)FRAME + (row)*LCD_WIDTH + (col))
|
||||
|
||||
/* Setup for Mini2440, 3.5" TFT LCD Touchscreen */
|
||||
|
||||
|
|
@ -41,3 +43,5 @@ extern void lcd_enable(bool state);
|
|||
|
||||
/* Config values for LCDCON4 */
|
||||
#define LCD_HSYNC_LEN 4
|
||||
|
||||
#endif /* LCD_TARGET_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue