summaryrefslogtreecommitdiff
path: root/firmware/export/adc.h (follow)
Commit message (Collapse)AuthorAge
* adc-target.h: cleanupRafaël Carré2012-01-08
| | | | | | | | move adc_close() prototype to adc.h don't duplicate prototypes of adc.h remove license header and guards for a single include of another file or for empty content git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31623 a1c6a512-1295-4272-9138-f99709370657
* FS#10756 - Free unused init codeThomas Martitz2010-03-03
| | | | | | | Introduce a new .init section for initialisation code, so that it can be copied to an area which is later overwritten before calling. The stack/bss can then overwrite that code, effectively freeing the code size that the initialisation routines need. Gives a few kB ram usage back. Only implemented for PP and as3525 so far. More targets could be added, as well as more functions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25013 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
* Various coldfire fixes: (1) iAudio Bootloader: Check the status of main & ↵Jens Arnold2008-03-17
| | | | | | remote power button vs. the respective hold switch, and shut down when on hold. On X5/M5 this check is not strictly necessary for the main unit, but left there to keep things uniform. (2) M3: Stop reading the ADC properly before leaving the bootloader, on RoLo, and on reboot, to make it work reliably after those transitions. (3) Disable all interrupt sources on system init to avoid premature ISR calls after enabling interrupts in general. (4) iAudios: Proper implementation of ide_powered(), avoiding nasty HDD clicks in the bootloader when powering down, e.g. because of Hold. (5) Slight optimisations. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16689 a1c6a512-1295-4272-9138-f99709370657
* Moved SH1 ADC to target tree.Jens Arnold2007-04-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13174 a1c6a512-1295-4272-9138-f99709370657
* Target tree support for Iriver iFP.Tomasz Malesinski2006-11-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11485 a1c6a512-1295-4272-9138-f99709370657
* move the iriver h1x0/h3x0 targets to the target treeJonathan Gordon2006-10-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11392 a1c6a512-1295-4272-9138-f99709370657
* Put a couple x5-specific function declarations in adc-target.h where they ↵Michael Sevakis2006-10-27
| | | | | | should be. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11358 a1c6a512-1295-4272-9138-f99709370657
* Stop reading buttons if one is not down. Don't read remote keys if not ↵Michael Sevakis2006-10-27
| | | | | | plugged. Good for another few points of boost and 4fps full-screen unboosted. The button scan enabling seems stable and I've been using it without any difficulties but if the interrupts hiccup it could leave them unresponsive. Clearing the GPI0 interrupts before enabling them seems to prevent any difficulties. If there's problems there I'll just leave the remote reading bypass only and 50% of the benefits will still be realized. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11357 a1c6a512-1295-4272-9138-f99709370657
* Move all iPod targets into the target tree. FS#5890Barry Wardell2006-10-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11129 a1c6a512-1295-4272-9138-f99709370657
* Move X5 ADC code to target tree. Fix power button detection on H10. New ADCBarry Wardell2006-08-22
| | | | | | | driver for H10. Thanks to Laurent Baum for all his help with this code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10701 a1c6a512-1295-4272-9138-f99709370657
* Iriver: Properly working remote type detection regardless of hold switch ↵Jens Arnold2006-03-17
| | | | | | positions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9079 a1c6a512-1295-4272-9138-f99709370657
* Make the ipod ADC driver more generic, preparing to share code between it ↵Brandon Low2006-03-06
| | | | | | and the iRiver git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8934 a1c6a512-1295-4272-9138-f99709370657
* Basic battery monitoring for ipod 5g, should work on other ipods as well, ↵Brandon Low2006-03-05
| | | | | | but needs testing and stuff. Also improved the RTC driver and moved it to where it belongs, and interrupt protected a bunch of possibly broken i2c. Also start preparing code for ipod charge monitoring. Note: on the 5g, this takes up enough processor time to increase skippiness noticeably in WPS. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8911 a1c6a512-1295-4272-9138-f99709370657
* Button driver for iAudio X5Linus Nielsen Feltzing2006-02-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8828 a1c6a512-1295-4272-9138-f99709370657
* ADC driver for iAudio X5Linus Nielsen Feltzing2006-02-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8811 a1c6a512-1295-4272-9138-f99709370657
* Remote type autodetection on iriver, remote_type() returns ↵Linus Nielsen Feltzing2006-02-17
| | | | | | REMOTETYPE_H100_LCD, REMOTETYPE_H300_LCD or REMOTETYPE_H300_NONLCD git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8721 a1c6a512-1295-4272-9138-f99709370657
* Work-in-progress iriver iFP-7xx port by Tomasz MalesinskiDave Chapman2006-01-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
* Added adc_scan() prototype for H300Linus Nielsen Feltzing2005-11-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7907 a1c6a512-1295-4272-9138-f99709370657
* H300: ADC driverLinus Nielsen Feltzing2005-11-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7906 a1c6a512-1295-4272-9138-f99709370657
* ADC is the same on all H1x0 modelsLinus Nielsen Feltzing2005-07-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7067 a1c6a512-1295-4272-9138-f99709370657
* Renamed the iriver h120 defines and configs to "h120"! Added initial supportDaniel Stenberg2005-07-08
| | | | | | | | | for the h100 series. Please re-run configure. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7062 a1c6a512-1295-4272-9138-f99709370657
* More aggressive Recorder V1 charging (patch #1116884 from Jerry Van Baren)Jörg Hohensohn2005-03-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6105 a1c6a512-1295-4272-9138-f99709370657
* Ondio: disk activity indication in USB mode, tooJörg Hohensohn2005-02-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6020 a1c6a512-1295-4272-9138-f99709370657
* OoopsLinus Nielsen Feltzing2005-01-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5672 a1c6a512-1295-4272-9138-f99709370657
* Exported adc_scan() on the iRiverLinus Nielsen Feltzing2005-01-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5671 a1c6a512-1295-4272-9138-f99709370657
* Button driver overhaul: (1) Unified the button driver functions as much as ↵Jens Arnold2004-12-01
| | | | | | possible (2) Proper #defines for FM recorder button ADC channels (3) Got rid of old port B #defines only valid for recorder (4) button filtering for all models (5) RoLo with ON after panic should now work for FM/V2 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5472 a1c6a512-1295-4272-9138-f99709370657
* Added ADC_UNREG_POWER for the iRiver, for compatibilityLinus Nielsen Feltzing2004-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5436 a1c6a512-1295-4272-9138-f99709370657
* Added iRiver ADC channel infoLinus Nielsen Feltzing2004-11-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5429 a1c6a512-1295-4272-9138-f99709370657
* prepared Ondio USB passthrough (but doesn't work yet)Jörg Hohensohn2004-09-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5066 a1c6a512-1295-4272-9138-f99709370657
* different ADC channels for OndioJörg Hohensohn2004-09-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5062 a1c6a512-1295-4272-9138-f99709370657
* Move publicly (from apps) accessed files from drivers/ to export/.Daniel Stenberg2003-02-07
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3219 a1c6a512-1295-4272-9138-f99709370657