summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx31/gigabeat-s/mc13783-target.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx31/gigabeat-s/mc13783-target.h')
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/mc13783-target.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/mc13783-target.h b/firmware/target/arm/imx31/gigabeat-s/mc13783-target.h
new file mode 100644
index 0000000000..a74a229f04
--- /dev/null
+++ b/firmware/target/arm/imx31/gigabeat-s/mc13783-target.h
@@ -0,0 +1,36 @@
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 mc13783 event descriptions
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 MC13783_TARGET_H
22#define MC13783_TARGET_H
23
24/* Declare event indexes in priority order in a packed array */
25enum mc13783_event_ids
26{
27 MC13783_ADCDONE_EVENT = 0, /* ADC conversion complete */
28 MC13783_ONOFD1_EVENT, /* Power button */
29#ifdef HAVE_HEADPHONE_DETECTION
30 MC13783_ONOFD2_EVENT, /* Headphone jack */
31#endif
32 MC13783_CHGDET_EVENT, /* Charger detection */
33 MC13783_USB4V4_EVENT, /* USB insertion */
34};
35
36#endif /* MC13783_TARGET_H */