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
This commit is contained in:
Jens Arnold 2007-11-12 18:49:53 +00:00
parent 8537cbf091
commit ef12b3b5c6
47 changed files with 530 additions and 358 deletions

View file

@ -22,12 +22,12 @@
#include "backlight.h"
#include "lcd.h"
void __backlight_on(void)
void _backlight_on(void)
{
GPIO3_SET = 1;
}
void __backlight_off(void)
void _backlight_off(void)
{
GPIO3_CLR = 1;
}