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) |
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 @@ #define MC13783_GPIO_ISR GPIO1_ISR #define MC13783_GPIO_LINE 31 +/* SI4700 GPIO STC/RDS pin info for this target */ +#define SI4700_GPIO_STC_RDS_IMR GPIO1_IMR +#define SI4700_GPIO_STC_RDS_NUM GPIO1_NUM +#define SI4700_GPIO_STC_RDS_ISR GPIO1_ISR +#define SI4700_GPIO_STC_RDS_LINE 27 + #define GPIO1_INT_PRIO INT_PRIO_DEFAULT /* Declare event indexes in priority order in a packed array */ @@ -36,7 +42,8 @@ enum gpio_event_ids { /* GPIO1 event IDs */ MC13783_EVENT_ID = GPIO1_EVENT_FIRST, - GPIO1_NUM_EVENTS = 1, + SI4700_STC_RDS_EVENT_ID, + GPIO1_NUM_EVENTS = 2, /* GPIO2 event IDs */ /* none defined */ /* GPIO3 event IDs */ @@ -44,5 +51,6 @@ enum gpio_event_ids }; void mc13783_event(void); +void si4700_stc_rds_event(void); #endif /* GPIO_TARGET_H */ |