fio.h

00001 /*****************************************************************************
00002  *   fio.h:  Header file for NXP LPC23xx/24xx Family Microprocessors
00003  *
00004  *   Copyright(C) 2006, NXP Semiconductor
00005  *   All rights reserved.
00006  *
00007  *   History
00008  *   2006.09.01  ver 1.00    Prelimnary version, first Release
00009  *
00010  ******************************************************************************/
00011 
00012 /* extended version with "mask"-parameter to init */
00013 
00014 #ifndef __FIO_H 
00015 #define __FIO_H
00016 
00017 /* see master definition file lpc230x.h for more details */
00018 #define REGULAR_PORT_DIR_BASE          GPIO_BASE_ADDR + 0x08
00019 #define REGULAR_PORT_DIR_INDEX         0x10
00020 
00021 #define HS_PORT_DIR_BASE               FIO_BASE_ADDR + 0x00
00022 #define HS_PORT_DIR_INDEX              0x20
00023 
00024 #define FAST_PORT          0x01
00025 #define REGULAR_PORT       0x02
00026 
00027 #define DIR_OUT            0x01
00028 #define DIR_IN             0x02
00029 
00030 #ifdef __cplusplus
00031 extern "C"{
00032 #endif
00033 
00034 extern void GPIOInit( u32 PortNum, u32 PortType, u32 PortDir, u32 Mask);
00035 
00036 #ifdef __cplusplus
00037 } /* extern "C" */
00038 #endif
00039 
00040 #endif /* end __FIO_H */
00041 /*****************************************************************************
00042 **                            End Of File
00043 ******************************************************************************/

Generated on Fri Apr 22 06:54:11 2011 for SFB by doxygen 1.5.9