blob: 0989f075be249f0eb7b35b628291c5ddc76a7850 [file] [log] [blame]
Michael Sevakisa7af9e42008-04-12 16:56:45 +00001/***************************************************************************
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 *
Daniel Stenberg2acc0ac2008-06-28 18:10:04 +000014 * 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.
Michael Sevakisa7af9e42008-04-12 16:56:45 +000018 *
19 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
20 * KIND, either express or implied.
21 *
22 ****************************************************************************/
23#ifndef GPIO_TARGET_H
24#define GPIO_TARGET_H
25
Michael Sevakisa9c20f52008-05-21 08:42:11 +000026/* MC13783 GPIO pin info for this target */
Michael Sevakisa7af9e42008-04-12 16:56:45 +000027#define MC13783_GPIO_NUM GPIO1_NUM
28#define MC13783_GPIO_ISR GPIO1_ISR
29#define MC13783_GPIO_LINE 31
Michael Sevakisa9c20f52008-05-21 08:42:11 +000030
31/* Declare event indexes in priority order in a packed array */
32enum gpio_event_ids
33{
34 /* GPIO1 event IDs */
35 MC13783_EVENT_ID = GPIO1_EVENT_FIRST,
36 /* GPIO2 event IDs */
37 /* none defined */
38 /* GPIO3 event IDs */
39 /* none defined */
40};
41
42void mc13783_event(void);
Michael Sevakisa7af9e42008-04-12 16:56:45 +000043
44#endif /* GPIO_TARGET_H */