1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
10 * Copyright (c) 2008 by Michael Sevakis
12 * Gigabeat S mc13783 event descriptions
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License
16 * as published by the Free Software Foundation; either version 2
17 * of the License, or (at your option) any later version.
19 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
20 * KIND, either express or implied.
22 ****************************************************************************/
23 #ifndef MC13783_TARGET_H
24 #define MC13783_TARGET_H
26 /* Declare event indexes in priority order in a packed array */
27 enum mc13783_event_ids
29 MC13783_ADCDONE_EVENT
= 0, /* ADC conversion complete */
30 MC13783_ONOFD1_EVENT
, /* Power button */
31 #ifdef HAVE_HEADPHONE_DETECTION
32 MC13783_ONOFD2_EVENT
, /* Headphone jack */
34 MC13783_SE1_EVENT
, /* Main charger detection */
35 MC13783_USB_EVENT
, /* USB insertion */
38 #endif /* MC13783_TARGET_H */