diff options
Diffstat (limited to 'firmware/export/si4700.h')
-rw-r--r-- | firmware/export/si4700.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/firmware/export/si4700.h b/firmware/export/si4700.h index 761ad1ca24..fe55dd3853 100644 --- a/firmware/export/si4700.h +++ b/firmware/export/si4700.h | |||
@@ -44,10 +44,18 @@ bool si4700_st(void); | |||
44 | 44 | ||
45 | /** RDS support **/ | 45 | /** RDS support **/ |
46 | void si4700_rds_init(void); | 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 */ | 47 | /* Radio is fully powered up or about to be powered down */ |
50 | void si4700_rds_powerup(bool on); | 48 | void si4700_rds_powerup(bool on); |
49 | #ifdef SI4700_RDS_ASYNC | ||
50 | /* Read raw RDS info for processing - asynchronously */ | ||
51 | void si4700_read_raw_async(int count); | ||
52 | void si4700_rds_read_raw_async(void); | ||
53 | void si4700_rds_read_raw_async_complete(unsigned char *regbuf, | ||
54 | uint16_t data[4]); | ||
55 | #else | ||
56 | /* Read raw RDS info for processing */ | ||
57 | bool si4700_rds_read_raw(uint16_t data[4]); | ||
58 | #endif | ||
51 | /* Obtain specified string */ | 59 | /* Obtain specified string */ |
52 | char* si4700_get_rds_info(int setting); | 60 | char* si4700_get_rds_info(int setting); |
53 | /* Set the event flag */ | 61 | /* Set the event flag */ |