From 8c19dcd598144d028ff1647d850d3a17483e6b9c Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Sat, 17 Dec 2011 20:24:19 +0000 Subject: 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 --- firmware/target/arm/imx31/gigabeat-s/gpio-target.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'firmware/target/arm/imx31/gigabeat-s/gpio-target.h') 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 */ -- cgit v1.2.3