summaryrefslogtreecommitdiff
path: root/firmware/backlight.c (follow)
Commit message (Collapse)AuthorAge
...
* patch #1385256 by Hristo Kovachev - Turn off H300 LCD while backlight is offLinus Nielsen Feltzing2005-12-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8268 a1c6a512-1295-4272-9138-f99709370657
* Replaced the booolean 'Backlight On When Plugged' setting with a complete ↵Jens Arnold2005-11-23
| | | | | | alternative 'Backlight When Plugged' timeout setting. * Yield during poweroff to make backlight_off() work. * Bumped config version, save your settings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8053 a1c6a512-1295-4272-9138-f99709370657
* Fix iriver bootloader builds.Jens Arnold2005-11-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8038 a1c6a512-1295-4272-9138-f99709370657
* Backlight handling: * Added 'Caption Backlight' and 'Backlight On When ↵Jens Arnold2005-11-21
| | | | | | Charging' for the iriver remote LCD. * Enabled the backlight code for the simulator, and prepared backlight simulation. It's only a stub atm, writing messages to the console window. * Added tick task handling to the simulators for this to work. * Code cleanup in backlight.c, less dead code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8034 a1c6a512-1295-4272-9138-f99709370657
* Always turn on the backlight in the H300 boot loaderLinus Nielsen Feltzing2005-11-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7919 a1c6a512-1295-4272-9138-f99709370657
* Reverted erroneous commitLinus Nielsen Feltzing2005-11-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7918 a1c6a512-1295-4272-9138-f99709370657
* Cleaned up bootloader linker control file and added the H300 targetLinus Nielsen Feltzing2005-11-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7916 a1c6a512-1295-4272-9138-f99709370657
* H300 backlightLinus Nielsen Feltzing2005-11-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7885 a1c6a512-1295-4272-9138-f99709370657
* iPod: Add backlight functions for NanoDave Chapman2005-11-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7853 a1c6a512-1295-4272-9138-f99709370657
* Initial commit of work-in-progress iPod portDave Chapman2005-11-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7781 a1c6a512-1295-4272-9138-f99709370657
* Coldfire: New timer handling on CPU frequency change, adjusting the ↵Jens Arnold2005-10-03
| | | | | | prescaler on the fly, for both tick and user timer. Precondition is that the higher frequencies are integer multiples of the base: now NORMAL is 45 MHz and MAX is 124 MHz. Removes the need for applications with longer timer periods (>= 10 ms) to boost the CPU all the time, e.g. the grayscale lib. Timer counts are now always based on the base frequency (CPU_FREQ). * Adjusted the RAM refresh timers to the new frequencies (all frequencies for H100) * All: Fixed the tick timer count being off by one. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7576 a1c6a512-1295-4272-9138-f99709370657
* iriver: Always turn on the backlight in backlight_init()Linus Nielsen Feltzing2005-08-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7330 a1c6a512-1295-4272-9138-f99709370657
* Backlight dimming: Don't unboost the CPU from within the isr.Jens Arnold2005-08-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7310 a1c6a512-1295-4272-9138-f99709370657
* Backlight dimming: Protect from extraneous calls with the same target value. ↵Jens Arnold2005-08-11
| | | | | | This led to very short boost/unboost sequences for every button event before, one trigger for the volume lag bug. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7309 a1c6a512-1295-4272-9138-f99709370657
* Moved implementation of user timer to the firmware layer, implemented it for ↵Jens Arnold2005-07-26
| | | | | | iriver, and made it shareable based on priorities. On iriver, the user timer is shared between the backlight fading and other use, so if a plugin registers the timer, the backlight will resort to simple on/off switching until the plugin releases the timer again. Sorted and bumped the plugin api. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7242 a1c6a512-1295-4272-9138-f99709370657
* Disable backlight in the bootloaderLinus Nielsen Feltzing2005-07-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7016 a1c6a512-1295-4272-9138-f99709370657
* Iriver: atomic I/O port manipulation macros, to avoid interference between ↵Jens Arnold2005-07-02
| | | | | | normal and interrupt code. Todo: all other places that do port manipulation on ports which may also be changed from an intterupt should use that as well. It even decreases binary size a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6985 a1c6a512-1295-4272-9138-f99709370657
* The last commit mixed up the arguments of cpu_boost(). Fixed that and ↵Jens Arnold2005-06-20
| | | | | | removed the #ifdefs again, added #define cpui_boost(on_off) for fixed frequency platforms instead. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6783 a1c6a512-1295-4272-9138-f99709370657
* Added few #ifdef HAVE_ADJUSTABLE_CPU_FREQ.Miika Pekkarinen2005-06-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6782 a1c6a512-1295-4272-9138-f99709370657
* Backlight dimming is now flicker free on all situations.Miika Pekkarinen2005-06-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6781 a1c6a512-1295-4272-9138-f99709370657
* Iriver: Backlight fading is now configurable. Added a function to stop the ↵Jens Arnold2005-06-20
| | | | | | backlight from using timer1, freeing it for usage in plugins. Grouped together some related settings functions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6779 a1c6a512-1295-4272-9138-f99709370657
* Only stop backlight pwm timer if display is fully dimmed eitherMiika Pekkarinen2005-06-19
| | | | | | | on or off. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6765 a1c6a512-1295-4272-9138-f99709370657
* Initial support for iriver backlight dimming. Unfortunately dimmingMiika Pekkarinen2005-06-18
| | | | | | | remote control's EL-backlight is not possible. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6747 a1c6a512-1295-4272-9138-f99709370657
* Added dummy function and simulator stub.Jens Arnold2005-05-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6537 a1c6a512-1295-4272-9138-f99709370657
* Remote LCD: added own backlight timeout stuffChristian Gmeiner2005-05-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6533 a1c6a512-1295-4272-9138-f99709370657
* More dead code...Jens Arnold2005-05-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6428 a1c6a512-1295-4272-9138-f99709370657
* typo (ok, my commits get trivial)Jörg Hohensohn2005-04-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6330 a1c6a512-1295-4272-9138-f99709370657
* iRiver: Independent backlight timers for the main and remote LCDLinus Nielsen Feltzing2005-04-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6303 a1c6a512-1295-4272-9138-f99709370657
* IRiver: added remote backlight handling into backlight threadChristian Gmeiner2005-04-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6299 a1c6a512-1295-4272-9138-f99709370657
* Aligned thread stackLinus Nielsen Feltzing2005-02-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5805 a1c6a512-1295-4272-9138-f99709370657
* backlight driver for GminiJean-Philippe Bernardy2005-02-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5795 a1c6a512-1295-4272-9138-f99709370657
* multiple choice configuration CONFIG_BACKLIGHT instead of HAVE_BACKLIGHT, ↵Jörg Hohensohn2004-12-18
| | | | | | allows better control of how to do this per model git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5491 a1c6a512-1295-4272-9138-f99709370657
* Player: initialize backlight control pin (for coldstart)Jens Arnold2004-11-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5444 a1c6a512-1295-4272-9138-f99709370657
* Correct polarity for the iRiver backlight pinLinus Nielsen Feltzing2004-11-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5432 a1c6a512-1295-4272-9138-f99709370657
* Removed backlight handling remains for platforms with no backlight (Ondio)Jens Arnold2004-10-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5236 a1c6a512-1295-4272-9138-f99709370657
* Ported to iRiver H100Linus Nielsen Feltzing2004-10-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5209 a1c6a512-1295-4272-9138-f99709370657
* no backlight for OndioJörg Hohensohn2004-09-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5061 a1c6a512-1295-4272-9138-f99709370657
* More const policeing step 3Jens Arnold2004-08-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4982 a1c6a512-1295-4272-9138-f99709370657
* It turns out that the backlight port pin on the player can be set to an ↵Linus Nielsen Feltzing2004-07-22
| | | | | | input (and pulled up externally) to shut off the backlight. That may save us a few picoamps :-) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4918 a1c6a512-1295-4272-9138-f99709370657
* hope I killed that warning nowJörg Hohensohn2004-01-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4288 a1c6a512-1295-4272-9138-f99709370657
* inconsistent argument type for backlight_set_timeout() fixedJörg Hohensohn2004-01-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4287 a1c6a512-1295-4272-9138-f99709370657
* The code police strikes backLinus Nielsen Feltzing2003-11-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4024 a1c6a512-1295-4272-9138-f99709370657
* set/clear port bits with atomic instructions instead of read-modify-write, ↵Jörg Hohensohn2003-11-06
| | | | | | saves time+space, allows port usage in ISR git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4022 a1c6a512-1295-4272-9138-f99709370657
* TP Diffenbach pointed out the risk here. Added a check for bad input valuesDaniel Stenberg2003-07-28
| | | | | | | | here, and I also made the argument named 'index' and made it unsigned to better match what it actually is used for. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3899 a1c6a512-1295-4272-9138-f99709370657
* Added caption backlight: Turns on backlight briefly at the start and end of ↵Björn Stenberg2003-04-23
| | | | | | each track. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3585 a1c6a512-1295-4272-9138-f99709370657
* Remove use of rockbox-mode.el in local variables list.Mats Lidell2003-01-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3157 a1c6a512-1295-4272-9138-f99709370657
* added backlight_get_timeout and backlight_get_on_when_chargingUwe Freese2002-12-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2994 a1c6a512-1295-4272-9138-f99709370657
* Now backlight really stays on when the charger is connectedLinus Nielsen Feltzing2002-10-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2500 a1c6a512-1295-4272-9138-f99709370657
* fixed for player, removed dependency on CHARGER_CTRLDaniel Stenberg2002-10-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2465 a1c6a512-1295-4272-9138-f99709370657
* Mark A. Hillebrand's patch that offers a new setting that if enabled, keepsDaniel Stenberg2002-10-01
| | | | | | | the backlight on all the time while the charger is connected. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2464 a1c6a512-1295-4272-9138-f99709370657