diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2010-05-18 23:50:00 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2010-05-18 23:50:00 +0000 |
commit | 54c649697b3959d8f74888bd7ec9af0206f7670c (patch) | |
tree | f32061c0514b78d331eb7d9d4b623ae7cffea1f0 /firmware/export/config/gigabeats.h | |
parent | 4c6164feced84c7d4a55ec8a5ee3ff398ffc7c53 (diff) | |
download | rockbox-54c649697b3959d8f74888bd7ec9af0206f7670c.tar.gz rockbox-54c649697b3959d8f74888bd7ec9af0206f7670c.tar.bz2 rockbox-54c649697b3959d8f74888bd7ec9af0206f7670c.zip |
Gigabeat S: Implement LCD contrast, invert and flip modes. Enhance LCD power management. Include init data but it's not needed yet (identical to Gigabeat F).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26154 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config/gigabeats.h')
-rw-r--r-- | firmware/export/config/gigabeats.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/firmware/export/config/gigabeats.h b/firmware/export/config/gigabeats.h index b3e7dc31bd..f096fb07d6 100644 --- a/firmware/export/config/gigabeats.h +++ b/firmware/export/config/gigabeats.h @@ -120,6 +120,21 @@ #ifndef BOOTLOADER +/* define this if you can flip your LCD */ +#define HAVE_LCD_FLIP + +/* define this if you can invert the colours on your LCD */ +#define HAVE_LCD_INVERT + +/* Define this if your LCD can set contrast */ +#define HAVE_LCD_CONTRAST + +/* Main LCD contrast range and defaults */ +#define MIN_CONTRAST_SETTING 0 +#define MAX_CONTRAST_SETTING 63 +#define DEFAULT_CONTRAST_SETTING 47 /* Match boot contrast */ + +/* Define this for LCD backlight brightness available */ #define HAVE_BACKLIGHT_BRIGHTNESS /* Main LCD backlight brightness range and defaults */ @@ -139,7 +154,7 @@ #define CONFIG_I2C I2C_IMX31L /* Define the bitmask of modules used */ -#define SPI_MODULE_MASK (USE_CSPI2_MODULE) +#define SPI_MODULE_MASK (USE_CSPI2_MODULE | USE_CSPI3_MODULE) #define I2C_MODULE_MASK (USE_I2C1_MODULE | USE_I2C2_MODULE) #define GPIO_EVENT_MASK (USE_GPIO1_EVENTS) |