summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/ipod_remote_tuner.h13
-rw-r--r--firmware/export/lv24020lp.h2
-rw-r--r--firmware/export/rda5802.h8
-rw-r--r--firmware/export/si4700.h9
-rw-r--r--firmware/export/tea5760.h8
-rw-r--r--firmware/export/tea5767.h8
-rw-r--r--firmware/export/tuner.h1
7 files changed, 1 insertions, 48 deletions
diff --git a/firmware/export/ipod_remote_tuner.h b/firmware/export/ipod_remote_tuner.h
index 28fcfe1e93..2c866ad3d2 100644
--- a/firmware/export/ipod_remote_tuner.h
+++ b/firmware/export/ipod_remote_tuner.h
@@ -48,19 +48,6 @@ extern void rmt_tuner_signal_power(unsigned char value);
48 48
49extern void rmt_tuner_rds_data(void); 49extern void rmt_tuner_rds_data(void);
50 50
51struct rmt_tuner_region_data
52{
53 /* 0: 50us, 1: 75us */
54 unsigned char deemphasis;
55 /* 0: europe, 1: japan (BL in TEA spec)*/
56 unsigned char band;
57 /* 0: us/australia (200kHz), 1: europe/japan (100kHz), 2: (50kHz) */
58 unsigned char spacing;
59} __attribute__((packed));
60
61extern const struct rmt_tuner_region_data
62 rmt_tuner_region_data[TUNER_NUM_REGIONS];
63
64int ipod_rmt_tuner_set(int setting, int value); 51int ipod_rmt_tuner_set(int setting, int value);
65int ipod_rmt_tuner_get(int setting); 52int ipod_rmt_tuner_get(int setting);
66char* ipod_get_rds_info(int setting); 53char* ipod_get_rds_info(int setting);
diff --git a/firmware/export/lv24020lp.h b/firmware/export/lv24020lp.h
index 16a8856a3f..753949f361 100644
--- a/firmware/export/lv24020lp.h
+++ b/firmware/export/lv24020lp.h
@@ -37,8 +37,6 @@
37#define LV24020LP_DEBUG_FIRST LV24020LP_CTRL_STAT 37#define LV24020LP_DEBUG_FIRST LV24020LP_CTRL_STAT
38#define LV24020LP_DEBUG_LAST LV24020LP_SD_SET 38#define LV24020LP_DEBUG_LAST LV24020LP_SD_SET
39 39
40const unsigned char lv24020lp_region_data[TUNER_NUM_REGIONS];
41
42int lv24020lp_set(int setting, int value); 40int lv24020lp_set(int setting, int value);
43int lv24020lp_get(int setting); 41int lv24020lp_get(int setting);
44void lv24020lp_power(bool status); 42void lv24020lp_power(bool status);
diff --git a/firmware/export/rda5802.h b/firmware/export/rda5802.h
index e61ecb40ae..87707966fd 100644
--- a/firmware/export/rda5802.h
+++ b/firmware/export/rda5802.h
@@ -27,14 +27,6 @@
27 27
28#define HAVE_RADIO_REGION 28#define HAVE_RADIO_REGION
29 29
30struct rda5802_region_data
31{
32 unsigned char deemphasis; /* 0: 75us, 1: 50us */
33 unsigned char band; /* 0: us/europe, 1: japan */
34} __attribute__((packed));
35
36extern const struct rda5802_region_data rda5802_region_data[TUNER_NUM_REGIONS];
37
38struct rda5802_dbg_info 30struct rda5802_dbg_info
39{ 31{
40 uint16_t regs[16]; /* Read registers */ 32 uint16_t regs[16]; /* Read registers */
diff --git a/firmware/export/si4700.h b/firmware/export/si4700.h
index d6c4e73b6e..c4aff6ff30 100644
--- a/firmware/export/si4700.h
+++ b/firmware/export/si4700.h
@@ -27,15 +27,6 @@
27 27
28#define HAVE_RADIO_REGION 28#define HAVE_RADIO_REGION
29 29
30struct si4700_region_data
31{
32 unsigned char deemphasis; /* 0: 75us, 1: 50us */
33 unsigned char band; /* 0: us/europe, 1: japan */
34 unsigned char spacing; /* 0: us/australia (200kHz), 1: europe/japan (100kHz), 2: (50kHz) */
35} __attribute__((packed));
36
37extern const struct si4700_region_data si4700_region_data[TUNER_NUM_REGIONS];
38
39struct si4700_dbg_info 30struct si4700_dbg_info
40{ 31{
41 uint16_t regs[16]; /* Read registers */ 32 uint16_t regs[16]; /* Read registers */
diff --git a/firmware/export/tea5760.h b/firmware/export/tea5760.h
index 8fa54dfa78..ea857dec3e 100644
--- a/firmware/export/tea5760.h
+++ b/firmware/export/tea5760.h
@@ -28,14 +28,6 @@
28 28
29#define HAVE_RADIO_REGION 29#define HAVE_RADIO_REGION
30 30
31struct tea5760_region_data
32{
33 unsigned char deemphasis; /* 1: 50us, 0: 75us */
34 unsigned char band; /* 0: europe, 1: japan (BL in TEA spec)*/
35} __attribute__((packed));
36
37extern const struct tea5760_region_data tea5760_region_data[TUNER_NUM_REGIONS];
38
39struct tea5760_dbg_info 31struct tea5760_dbg_info
40{ 32{
41 unsigned char read_regs[16]; 33 unsigned char read_regs[16];
diff --git a/firmware/export/tea5767.h b/firmware/export/tea5767.h
index dceb0f4168..eee469d1ea 100644
--- a/firmware/export/tea5767.h
+++ b/firmware/export/tea5767.h
@@ -26,14 +26,6 @@
26#define HAVE_RADIO_REGION 26#define HAVE_RADIO_REGION
27#define HAVE_RADIO_MUTE_TIMEOUT 27#define HAVE_RADIO_MUTE_TIMEOUT
28 28
29struct tea5767_region_data
30{
31 unsigned char deemphasis; /* 0: 50us, 1: 75us */
32 unsigned char band; /* 0: europe, 1: japan (BL in TEA spec)*/
33} __attribute__((packed));
34
35extern const struct tea5767_region_data tea5767_region_data[TUNER_NUM_REGIONS];
36
37struct tea5767_dbg_info 29struct tea5767_dbg_info
38{ 30{
39 unsigned char read_regs[5]; 31 unsigned char read_regs[5];
diff --git a/firmware/export/tuner.h b/firmware/export/tuner.h
index 461c9a3fcb..9263c08d90 100644
--- a/firmware/export/tuner.h
+++ b/firmware/export/tuner.h
@@ -84,6 +84,7 @@ struct fm_region_data
84 int freq_min; 84 int freq_min;
85 int freq_max; 85 int freq_max;
86 int freq_step; 86 int freq_step;
87 int deemphasis; /* in microseconds, usually 50 or 75 */
87}; 88};
88 89
89extern const struct fm_region_data fm_region_data[TUNER_NUM_REGIONS]; 90extern const struct fm_region_data fm_region_data[TUNER_NUM_REGIONS];