diff options
Diffstat (limited to 'firmware/target/arm/imx31/gigabeat-s/gpio-target.h')
-rw-r--r-- | firmware/target/arm/imx31/gigabeat-s/gpio-target.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/gpio-target.h b/firmware/target/arm/imx31/gigabeat-s/gpio-target.h new file mode 100644 index 0000000000..46e43af28d --- /dev/null +++ b/firmware/target/arm/imx31/gigabeat-s/gpio-target.h | |||
@@ -0,0 +1,31 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (c) 2008 by Michael Sevakis | ||
11 | * | ||
12 | * Gigabeat S GPIO interrupt event descriptions header | ||
13 | * | ||
14 | * All files in this archive are subject to the GNU General Public License. | ||
15 | * See the file COPYING in the source tree root for full license agreement. | ||
16 | * | ||
17 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
18 | * KIND, either express or implied. | ||
19 | * | ||
20 | ****************************************************************************/ | ||
21 | #ifndef GPIO_TARGET_H | ||
22 | #define GPIO_TARGET_H | ||
23 | |||
24 | #define GPIO_EVENT_MASK (USE_GPIO1_EVENTS) | ||
25 | |||
26 | #define MC13783_GPIO_NUM GPIO1_NUM | ||
27 | #define MC13783_GPIO_ISR GPIO1_ISR | ||
28 | #define MC13783_GPIO_LINE 31 | ||
29 | #define MC13783_EVENT_ID 0 | ||
30 | |||
31 | #endif /* GPIO_TARGET_H */ | ||