2006-08-01 22:28:14 +00:00
|
|
|
#ifndef __PP5024_H__
|
|
|
|
#define __PP5024_H__
|
|
|
|
/***************************************************************************
|
|
|
|
* __________ __ ___.
|
|
|
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
* \/ \/ \/ \/ \/
|
|
|
|
* $Id$
|
|
|
|
*
|
|
|
|
* Copyright (C) 2006 by Daniel Stenberg
|
|
|
|
*
|
|
|
|
* All files in this archive are subject to the GNU General Public License.
|
|
|
|
* See the file COPYING in the source tree root for full license agreement.
|
|
|
|
*
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
/* We believe is this quite similar to the 5020 and for how we just use that
|
2007-06-03 14:31:42 +00:00
|
|
|
completely and redifine any minor differences */
|
2006-08-01 22:28:14 +00:00
|
|
|
#include "pp5020.h"
|
|
|
|
|
2007-05-11 08:09:49 +00:00
|
|
|
#undef GPIO_IRQ
|
2007-06-30 02:08:27 +00:00
|
|
|
/* Ports A, B, ?? */
|
2007-06-17 00:07:23 +00:00
|
|
|
#define GPIO0_IRQ (32+0)
|
|
|
|
/* Ports F, H, ?? */
|
|
|
|
#define GPIO1_IRQ (32+1)
|
2007-05-11 08:09:49 +00:00
|
|
|
|
|
|
|
#undef GPIO_MASK
|
2007-06-17 00:07:23 +00:00
|
|
|
#define GPIO0_MASK (1 << (GPIO0_IRQ-32))
|
|
|
|
#define GPIO1_MASK (1 << (GPIO1_IRQ-32))
|
2007-05-11 08:09:49 +00:00
|
|
|
|
2006-08-01 22:28:14 +00:00
|
|
|
#endif
|