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/target/arm/imx31/gigabeat-s/gpio-target.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/target/arm/imx31/gigabeat-s/gpio-target.h')
-rw-r--r-- | firmware/target/arm/imx31/gigabeat-s/gpio-target.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/gpio-target.h b/firmware/target/arm/imx31/gigabeat-s/gpio-target.h index 2eea27c3be..4903d0f631 100644 --- a/firmware/target/arm/imx31/gigabeat-s/gpio-target.h +++ b/firmware/target/arm/imx31/gigabeat-s/gpio-target.h | |||
@@ -29,6 +29,12 @@ | |||
29 | #define MC13783_GPIO_ISR GPIO1_ISR | 29 | #define MC13783_GPIO_ISR GPIO1_ISR |
30 | #define MC13783_GPIO_LINE 31 | 30 | #define MC13783_GPIO_LINE 31 |
31 | 31 | ||
32 | /* SI4700 GPIO STC/RDS pin info for this target */ | ||
33 | #define SI4700_GPIO_STC_RDS_IMR GPIO1_IMR | ||
34 | #define SI4700_GPIO_STC_RDS_NUM GPIO1_NUM | ||
35 | #define SI4700_GPIO_STC_RDS_ISR GPIO1_ISR | ||
36 | #define SI4700_GPIO_STC_RDS_LINE 27 | ||
37 | |||
32 | #define GPIO1_INT_PRIO INT_PRIO_DEFAULT | 38 | #define GPIO1_INT_PRIO INT_PRIO_DEFAULT |
33 | 39 | ||
34 | /* Declare event indexes in priority order in a packed array */ | 40 | /* Declare event indexes in priority order in a packed array */ |
@@ -36,7 +42,8 @@ enum gpio_event_ids | |||
36 | { | 42 | { |
37 | /* GPIO1 event IDs */ | 43 | /* GPIO1 event IDs */ |
38 | MC13783_EVENT_ID = GPIO1_EVENT_FIRST, | 44 | MC13783_EVENT_ID = GPIO1_EVENT_FIRST, |
39 | GPIO1_NUM_EVENTS = 1, | 45 | SI4700_STC_RDS_EVENT_ID, |
46 | GPIO1_NUM_EVENTS = 2, | ||
40 | /* GPIO2 event IDs */ | 47 | /* GPIO2 event IDs */ |
41 | /* none defined */ | 48 | /* none defined */ |
42 | /* GPIO3 event IDs */ | 49 | /* GPIO3 event IDs */ |
@@ -44,5 +51,6 @@ enum gpio_event_ids | |||
44 | }; | 51 | }; |
45 | 52 | ||
46 | void mc13783_event(void); | 53 | void mc13783_event(void); |
54 | void si4700_stc_rds_event(void); | ||
47 | 55 | ||
48 | #endif /* GPIO_TARGET_H */ | 56 | #endif /* GPIO_TARGET_H */ |