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-gigabeat-s.c | |
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-gigabeat-s.c')
-rw-r--r-- | firmware/target/arm/imx31/gigabeat-s/gpio-gigabeat-s.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/gpio-gigabeat-s.c b/firmware/target/arm/imx31/gigabeat-s/gpio-gigabeat-s.c index f4402d5617..e6bbb2345d 100644 --- a/firmware/target/arm/imx31/gigabeat-s/gpio-gigabeat-s.c +++ b/firmware/target/arm/imx31/gigabeat-s/gpio-gigabeat-s.c | |||
@@ -39,5 +39,12 @@ const struct gpio_event gpio1_events[] = | |||
39 | .mask = 1 << MC13783_GPIO_LINE, | 39 | .mask = 1 << MC13783_GPIO_LINE, |
40 | .sense = GPIO_SENSE_HIGH_LEVEL, | 40 | .sense = GPIO_SENSE_HIGH_LEVEL, |
41 | .callback = mc13783_event, | 41 | .callback = mc13783_event, |
42 | } | 42 | }, |
43 | /* Generates a 5ms low pulse on the line - detect the falling edge */ | ||
44 | [SI4700_STC_RDS_EVENT_ID] = | ||
45 | { | ||
46 | .mask = 1 << SI4700_GPIO_STC_RDS_LINE, | ||
47 | .sense = GPIO_SENSE_FALLING, | ||
48 | .callback = si4700_stc_rds_event, | ||
49 | }, | ||
43 | }; | 50 | }; |