summaryrefslogtreecommitdiff
path: root/firmware/export/config-ipodvideo.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-11-12 18:49:53 +0000
committerJens Arnold <amiconn@rockbox.org>2007-11-12 18:49:53 +0000
commitef12b3b5c678e4fa44d60061b0c1bc312e589ba1 (patch)
tree4c2572d7bf3d995be16b33fa2e46ccccad34f4ee /firmware/export/config-ipodvideo.h
parent8537cbf091634efa57768dccff39049afdf6d288 (diff)
downloadrockbox-ef12b3b5c678e4fa44d60061b0c1bc312e589ba1.tar.gz
rockbox-ef12b3b5c678e4fa44d60061b0c1bc312e589ba1.zip
Hardware controlled backlight brightness for iPod Video and Nano, retaining the software PWM fade in/ fade out. * Backlight handling cleanup, getting rid of one layer of 'lowlevelness'. * Use atomic GPIO bit manipulation for PP502x backlight handling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15599 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-ipodvideo.h')
-rw-r--r--firmware/export/config-ipodvideo.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/export/config-ipodvideo.h b/firmware/export/config-ipodvideo.h
index eecb65c809..60a5dd8f6f 100644
--- a/firmware/export/config-ipodvideo.h
+++ b/firmware/export/config-ipodvideo.h
@@ -72,6 +72,12 @@
72 72
73/* Define this for LCD backlight available */ 73/* Define this for LCD backlight available */
74#define HAVE_BACKLIGHT 74#define HAVE_BACKLIGHT
75#define HAVE_BACKLIGHT_BRIGHTNESS
76
77/* Main LCD backlight brightness range and defaults */
78#define MIN_BRIGHTNESS_SETTING 1
79#define MAX_BRIGHTNESS_SETTING 32
80#define DEFAULT_BRIGHTNESS_SETTING 16
75 81
76/* We can fade the backlight by using PWM */ 82/* We can fade the backlight by using PWM */
77#define HAVE_BACKLIGHT_PWM_FADING 83#define HAVE_BACKLIGHT_PWM_FADING