summaryrefslogtreecommitdiff
path: root/firmware/export/si4700.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/si4700.h')
-rw-r--r--firmware/export/si4700.h14
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);
39int si4700_set(int setting, int value); 39int si4700_set(int setting, int value);
40int si4700_get(int setting); 40int si4700_get(int setting);
41void si4700_dbg_info(struct si4700_dbg_info *nfo); 41void si4700_dbg_info(struct si4700_dbg_info *nfo);
42/* For interrupt-based mono/stereo indicator */
43bool si4700_st(void);
44
45/** RDS support **/
46void si4700_rds_init(void);
47/* Read raw RDS info for processing */
48bool si4700_rds_read_raw(uint16_t data[4]);
49/* Radio is fully powered up or about to be powered down */
50void si4700_rds_powerup(bool on);
51/* Obtain specified string */
52char* si4700_get_rds_info(int setting);
53/* Set the event flag */
54void 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_ */