summaryrefslogtreecommitdiffstats
path: root/firmware/tuner.c
AgeCommit message (Collapse)AuthorFilesLines
2020-07-24[1/4] Remove SH support and all archos targetsSolomon Peachy1-5/+0
This removes all code specific to SH targets Change-Id: I7980523785d2596e65c06430f4638eec74a06061
2017-02-11Improve radio RDS driver and frameworkMichael Sevakis1-0/+23
* Remove unused bits like the radio event and simplify basic radio interface. It can be more self-contained with rds.h only required by radio and tuner code. * Add post-processing to text a-la Silicon Labs AN243. The chip's error correction can only do so much; additional checks are highly recommended. Simply testing for two identical messages in a row is extremely effective and I've never seen corrupted text since doing that, even with mediocre reception. Groups segments must arrive in order, not randomly; logic change only accepts them in order, starting at 0. Time readout was made a bit better but really we'd need to use verbose mode and ensure that no errors were seen during receiving of time and more checks would be need to have a stable PI. The text is the important bit anyway. * Time out of stale text. * Text is no longer updated until a complete group has been received, as is specified in the standard. Perhaps go back to scrolling text lines in the radio screen? * Add proper character conversion to UTF-8. Only the default G0 table for the moment. The other two could be added in. * Add variants "RDS_CFG_PROCESS" and "RDS_CFG_PUSH" to allow the option for processed RDS data to be pushed to the driver and still do proper post-processing (only text conversion for now for the latter). Change-Id: I4d83f8b2e89a209a5096d15ec266477318c66925
2012-05-19Add stub STFM1000 tuner driverAmaury Pouly1-0/+6
Change-Id: I7f82f7b8971de75c92f84d12aaddccc50f3e47b1
2010-11-05Implement tea5767 tuner detection - FS#11714 by meBertrik Sikken1-1/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28493 a1c6a512-1295-4272-9138-f99709370657
2010-07-26FM tuner region code cleanup - FS #11492 by me.Bertrik Sikken1-82/+6
This removes the tuner-specific region structs and makes each driver use the common one (which is now extended with a deemphasis field) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27579 a1c6a512-1295-4272-9138-f99709370657
2010-06-16The mystery FM chip in some Sansa Clip+ players has been identified as a ↵Bertrik Sikken1-8/+8
RDA5802, so rename files and functions. Also fix several bugs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26871 a1c6a512-1295-4272-9138-f99709370657
2010-06-15Support for mystery FM chip in some Sansa Clip+, FS #11403 by meBertrik Sikken1-0/+18
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26864 a1c6a512-1295-4272-9138-f99709370657
2009-12-01Add support for the ipod FM remote to the 4G, Color, 5G, nano 1G with RDSLaurent Gautier1-3/+16
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23805 a1c6a512-1295-4272-9138-f99709370657
2009-09-24FS#9824: Fix FM channel spacing for EuropeBertrik Sikken1-4/+14
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22822 a1c6a512-1295-4272-9138-f99709370657
2009-07-07Meizu: implement i2c for the meizu fmradio and update the tea5760 tuner driverBertrik Sikken1-0/+16
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21703 a1c6a512-1295-4272-9138-f99709370657
2008-12-27Make si4700 tuner driver more sane with bit and field defines and entirely ↵Michael Sevakis1-1/+1
hide strange i2c interface from code with write/set/clear/masked functionality. On Gigabeat S use by-the-book busmode selection and GPIO lines. Implement some primitive station detection, debug registers in screen, and misc. changes to tie things together. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19600 a1c6a512-1295-4272-9138-f99709370657
2008-12-23Fix inverted de-emphasis bit for si470x FM chip.Bertrik Sikken1-4/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19566 a1c6a512-1295-4272-9138-f99709370657
2008-12-09FS#9609 FM radio support for the Gigabeat S, seeking/scanning is not yet Nils Wallménius1-0/+16
implemented but manual tuning works nicely. Thanks to Rafaël Carré, Bertrik Sikken and Robert Menes for suggestions and debugging help. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19372 a1c6a512-1295-4272-9138-f99709370657
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg1-2/+4
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
2007-07-14e200: Tuner driver needs to yield alot and also be mutexed. FM debug screen ↵Michael Sevakis1-7/+7
got broken again and was ignoring cancellation and not drawing the lines. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13896 a1c6a512-1295-4272-9138-f99709370657
2007-07-14Fix all the red this time?Michael Sevakis1-16/+16
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13884 a1c6a512-1295-4272-9138-f99709370657
2007-07-14Oops. Forgot to add a file.Michael Sevakis1-0/+99
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13881 a1c6a512-1295-4272-9138-f99709370657