diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2011-12-17 20:24:19 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2011-12-17 20:24:19 +0000 |
commit | 8c19dcd598144d028ff1647d850d3a17483e6b9c (patch) | |
tree | b1baea8ffcf26bedf0dea800c62ad33df9fa18f0 /firmware/export/si4700.h | |
parent | 17ed3253fc98bcca59d70531a4d81b3be75dc7ea (diff) | |
download | rockbox-8c19dcd598144d028ff1647d850d3a17483e6b9c.tar.gz rockbox-8c19dcd598144d028ff1647d850d3a17483e6b9c.zip |
FS#12370: Initial RDS support for Si4701/Si4703 tuner (beast and clip zip)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31346 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/si4700.h')
-rw-r--r-- | firmware/export/si4700.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/firmware/export/si4700.h b/firmware/export/si4700.h index 06a87c484f..761ad1ca24 100644 --- a/firmware/export/si4700.h +++ b/firmware/export/si4700.h | |||
@@ -39,10 +39,24 @@ void si4700_init(void); | |||
39 | int si4700_set(int setting, int value); | 39 | int si4700_set(int setting, int value); |
40 | int si4700_get(int setting); | 40 | int si4700_get(int setting); |
41 | void si4700_dbg_info(struct si4700_dbg_info *nfo); | 41 | void si4700_dbg_info(struct si4700_dbg_info *nfo); |
42 | /* For interrupt-based mono/stereo indicator */ | ||
43 | bool si4700_st(void); | ||
44 | |||
45 | /** RDS support **/ | ||
46 | void si4700_rds_init(void); | ||
47 | /* Read raw RDS info for processing */ | ||
48 | bool si4700_rds_read_raw(uint16_t data[4]); | ||
49 | /* Radio is fully powered up or about to be powered down */ | ||
50 | void si4700_rds_powerup(bool on); | ||
51 | /* Obtain specified string */ | ||
52 | char* si4700_get_rds_info(int setting); | ||
53 | /* Set the event flag */ | ||
54 | void si4700_rds_set_event(void); | ||
42 | 55 | ||
43 | #ifndef CONFIG_TUNER_MULTI | 56 | #ifndef CONFIG_TUNER_MULTI |
44 | #define tuner_set si4700_set | 57 | #define tuner_set si4700_set |
45 | #define tuner_get si4700_get | 58 | #define tuner_get si4700_get |
59 | #define tuner_get_rds_info si4700_get_rds_info | ||
46 | #endif | 60 | #endif |
47 | 61 | ||
48 | #endif /* _SI4700_H_ */ | 62 | #endif /* _SI4700_H_ */ |