summaryrefslogtreecommitdiff
path: root/firmware/export/si4700.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-12-29 14:55:49 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-12-29 14:55:49 +0000
commit2403f38c1fd8bc35d4d8e4b12047265366fbf1b7 (patch)
treeda021fed131c9c05512ea7632b059b19ff37b0a7 /firmware/export/si4700.h
parentea55ad07b700307b6f66960e08b52d96828ce789 (diff)
downloadrockbox-2403f38c1fd8bc35d4d8e4b12047265366fbf1b7.tar.gz
rockbox-2403f38c1fd8bc35d4d8e4b12047265366fbf1b7.zip
RDS: Use a define that doesn't imply any particular hardware dependency.
Theoretically, anything with the capability could implement the decoding action in an ISR on any radio chip supporting RDS. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31464 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/si4700.h')
-rw-r--r--firmware/export/si4700.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/export/si4700.h b/firmware/export/si4700.h
index fe55dd3853..6b7992c025 100644
--- a/firmware/export/si4700.h
+++ b/firmware/export/si4700.h
@@ -46,16 +46,16 @@ bool si4700_st(void);
46void si4700_rds_init(void); 46void si4700_rds_init(void);
47/* Radio is fully powered up or about to be powered down */ 47/* Radio is fully powered up or about to be powered down */
48void si4700_rds_powerup(bool on); 48void si4700_rds_powerup(bool on);
49#ifdef SI4700_RDS_ASYNC 49#ifdef RDS_ISR_PROCESSING
50/* Read raw RDS info for processing - asynchronously */ 50/* Read raw RDS info for processing - asynchronously */
51void si4700_read_raw_async(int count); 51void si4700_read_raw_async(int count); /* implemented by target */
52void si4700_rds_read_raw_async(void); 52void si4700_rds_read_raw_async(void);
53void si4700_rds_read_raw_async_complete(unsigned char *regbuf, 53void si4700_rds_read_raw_async_complete(unsigned char *regbuf,
54 uint16_t data[4]); 54 uint16_t data[4]);
55#else 55#else /* ndef RDS_ISR_PROCESSING */
56/* Read raw RDS info for processing */ 56/* Read raw RDS info for processing */
57bool si4700_rds_read_raw(uint16_t data[4]); 57bool si4700_rds_read_raw(uint16_t data[4]);
58#endif 58#endif /* RDS_ISR_PROCESSING */
59/* Obtain specified string */ 59/* Obtain specified string */
60char* si4700_get_rds_info(int setting); 60char* si4700_get_rds_info(int setting);
61/* Set the event flag */ 61/* Set the event flag */