summaryrefslogtreecommitdiff
path: root/firmware/export/config
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2010-05-18 23:50:00 +0000
committerMichael Sevakis <jethead71@rockbox.org>2010-05-18 23:50:00 +0000
commit54c649697b3959d8f74888bd7ec9af0206f7670c (patch)
treef32061c0514b78d331eb7d9d4b623ae7cffea1f0 /firmware/export/config
parent4c6164feced84c7d4a55ec8a5ee3ff398ffc7c53 (diff)
downloadrockbox-54c649697b3959d8f74888bd7ec9af0206f7670c.tar.gz
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')
-rw-r--r--firmware/export/config/gigabeats.h17
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 @@
120 120
121#ifndef BOOTLOADER 121#ifndef BOOTLOADER
122 122
123/* define this if you can flip your LCD */
124#define HAVE_LCD_FLIP
125
126/* define this if you can invert the colours on your LCD */
127#define HAVE_LCD_INVERT
128
129/* Define this if your LCD can set contrast */
130#define HAVE_LCD_CONTRAST
131
132/* Main LCD contrast range and defaults */
133#define MIN_CONTRAST_SETTING 0
134#define MAX_CONTRAST_SETTING 63
135#define DEFAULT_CONTRAST_SETTING 47 /* Match boot contrast */
136
137/* Define this for LCD backlight brightness available */
123#define HAVE_BACKLIGHT_BRIGHTNESS 138#define HAVE_BACKLIGHT_BRIGHTNESS
124 139
125/* Main LCD backlight brightness range and defaults */ 140/* Main LCD backlight brightness range and defaults */
@@ -139,7 +154,7 @@
139#define CONFIG_I2C I2C_IMX31L 154#define CONFIG_I2C I2C_IMX31L
140 155
141/* Define the bitmask of modules used */ 156/* Define the bitmask of modules used */
142#define SPI_MODULE_MASK (USE_CSPI2_MODULE) 157#define SPI_MODULE_MASK (USE_CSPI2_MODULE | USE_CSPI3_MODULE)
143#define I2C_MODULE_MASK (USE_I2C1_MODULE | USE_I2C2_MODULE) 158#define I2C_MODULE_MASK (USE_I2C1_MODULE | USE_I2C2_MODULE)
144#define GPIO_EVENT_MASK (USE_GPIO1_EVENTS) 159#define GPIO_EVENT_MASK (USE_GPIO1_EVENTS)
145 160