#ifndef _GPIO_GLOBAL_INCLUDED_
#define _GPIO_GLOBAL_INCLUDED_

//macros for the general purpose io
#define _PF0		((unsigned long)0x00000001)
#define _PF1		((unsigned long)0x00000002)
#define _PF2		((unsigned long)0x00000004)
#define _PF3		((unsigned long)0x00000008)
#define _PF4		((unsigned long)0x00000010)
#define _PF5		((unsigned long)0x00000020)
#define _PF6		((unsigned long)0x00000040)
#define _PF7		((unsigned long)0x00000080)
#define _PF8		((unsigned long)0x00000100)
#define _PF9		((unsigned long)0x00000200)
#define _PF10		((unsigned long)0x00000400)
#define _PF11		((unsigned long)0x00000800)
#define _PF12		((unsigned long)0x00001000)
#define _PF13		((unsigned long)0x00002000)
#define _PF14		((unsigned long)0x00004000)
#define _PF15		((unsigned long)0x00008000)

#define _PG0		((unsigned long)0x00010001)
#define _PG1		((unsigned long)0x00010002)
#define _PG2		((unsigned long)0x00010004)
#define _PG3		((unsigned long)0x00010008)
#define _PG4		((unsigned long)0x00010010)
#define _PG5		((unsigned long)0x00010020)
#define _PG6		((unsigned long)0x00010040)
#define _PG7		((unsigned long)0x00010080)
#define _PG8		((unsigned long)0x00010100)
#define _PG9		((unsigned long)0x00010200)
#define _PG10		((unsigned long)0x00010400)
#define _PG11		((unsigned long)0x00010800)
#define _PG12		((unsigned long)0x00011000)
#define _PG13		((unsigned long)0x00012000)
#define _PG14		((unsigned long)0x00014000)
#define _PG15		((unsigned long)0x00018000)

#define _PH0		((unsigned long)0x00020001)
#define _PH1		((unsigned long)0x00020002)
#define _PH2		((unsigned long)0x00020004)
#define _PH3		((unsigned long)0x00020008)
#define _PH4		((unsigned long)0x00020010)
#define _PH5		((unsigned long)0x00020020)
#define _PH6		((unsigned long)0x00020040)
#define _PH7		((unsigned long)0x00020080)
#define _PH8		((unsigned long)0x00020100)
#define _PH9		((unsigned long)0x00020200)
#define _PH10		((unsigned long)0x00020400)
#define _PH11		((unsigned long)0x00020800)
#define _PH12		((unsigned long)0x00021000)
#define _PH13		((unsigned long)0x00022000)
#define _PH14		((unsigned long)0x00024000)
#define _PH15		((unsigned long)0x00028000)

#endif

