summaryrefslogtreecommitdiff
path: root/firmware/timer.c
AgeCommit message (Collapse)Author
2007-09-22Fix empty commit: Add grayscale support for ARM in vertical packing format.Tomasz Malesinski
Enable grayscale for Iriver ifp. Fix timer_unregister for PNX0101. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14825 a1c6a512-1295-4272-9138-f99709370657
2007-09-22A few minor cleanups for the Gigabeat SWill Robertson
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14812 a1c6a512-1295-4272-9138-f99709370657
2007-09-20Beginning of an M:Robe 500i port. Currently only in the bootloader stage. ↵Karl Kurbjun
Needs another piece of code to start the boot process - will be in the wiki. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14763 a1c6a512-1295-4272-9138-f99709370657
2007-07-06Gigabeat: Add timer functionality. Rework tick timer setup to be exactly ↵Michael Sevakis
100Hz. Metronome should work now but some pcm changes are needed to have faster tocks work correctly (in the works). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13806 a1c6a512-1295-4272-9138-f99709370657
2007-03-24PNX0101 changes:Tomasz Malesinski
Make PNX0101-specific system.c and crt0.S. Add new register names from LPC2880 user manual. Add support for timer. Enable CPU frequency changing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12904 a1c6a512-1295-4272-9138-f99709370657
2006-11-22Change if CONFIG_CPU==PP50XX to ifdef CPU_PP where appropriateDaniel Ankers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11569 a1c6a512-1295-4272-9138-f99709370657
2006-10-23reduce the number of gigabeat warningsMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11316 a1c6a512-1295-4272-9138-f99709370657
2006-09-01Make backlight fading work again on PP targets. The PP timer cannot handle a ↵Jens Arnold
(real) cycle count of 1, the minimum is 2. This is now checked in timer_register() and timer_set_period(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10849 a1c6a512-1295-4272-9138-f99709370657
2006-09-01Fixed an off-by-one error in the portalplayer timer handling.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10837 a1c6a512-1295-4272-9138-f99709370657
2006-08-28Fix broken backlight fading on ipod. The timer period setting must not be ↵Jens Arnold
delayed if timer_set_period() is called from within the isr. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10779 a1c6a512-1295-4272-9138-f99709370657
2006-08-27PP: Make on-the-fly timer period changes glitch-free. Stop timer when not in ↵Jens Arnold
use. * #ifdef cleanup git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10776 a1c6a512-1295-4272-9138-f99709370657
2006-08-25Ooops. The TMR reset must only be done when starting the timer.Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10744 a1c6a512-1295-4272-9138-f99709370657
2006-08-25Fix the problem with the user timer on X5 by explicitly resetting the timer ↵Linus Nielsen Feltzing
before setting it git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10743 a1c6a512-1295-4272-9138-f99709370657
2006-04-04Simplification for user timer on coldfire. We define TIMER_FREQ separately ↵Jens Arnold
anyway. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9479 a1c6a512-1295-4272-9138-f99709370657
2006-03-17Add timer.c module support for ipods. Remove uneeded SIMULATOR check.Thom Johansen
Introduce TIMER_FREQ define. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9067 a1c6a512-1295-4272-9138-f99709370657
2006-02-05Further iPod 3G work from Seven Le MesleDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8583 a1c6a512-1295-4272-9138-f99709370657
2006-02-03Fixed warnings on iFP.Tomasz Malesinski
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8550 a1c6a512-1295-4272-9138-f99709370657
2005-11-11iPod: Code cleanup - the bootloader now compiles with zero warningsDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7812 a1c6a512-1295-4272-9138-f99709370657
2005-11-05Fixup of the MCF5249 memory mapped register definitions.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7755 a1c6a512-1295-4272-9138-f99709370657
2005-10-03Coldfire: New timer handling on CPU frequency change, adjusting the ↵Jens Arnold
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
2005-07-26Moved implementation of user timer to the firmware layer, implemented it for ↵Jens Arnold
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