X-Git-Url: https://hackdaworld.org/gitweb/?p=my-code%2Farm.git;a=blobdiff_plain;f=betty%2Flpc2xxx.h;h=cd71ee3e4a9b4f1d61aec90f1fd253b30b9730b3;hp=4dd46adc4754301f8bada60535c6c212a994461a;hb=202c5cb4442b81aa5d0f7389b6dca62b2c121ac1;hpb=3b5dc3e19300dbe45f9c1d320b2387878c2de232 diff --git a/betty/lpc2xxx.h b/betty/lpc2xxx.h index 4dd46ad..cd71ee3 100644 --- a/betty/lpc2xxx.h +++ b/betty/lpc2xxx.h @@ -62,6 +62,7 @@ #define PINSEL0 (*((volatile unsigned long *) 0xE002C000)) #define PINSEL1 (*((volatile unsigned long *) 0xE002C004)) #define PINSEL2 (*((volatile unsigned long *) 0xE002C014)) +#define P2MASK 0x0FF3E9FC /* General Purpose Input/Output (GPIO) */ #define IOPIN (*((volatile unsigned long *) 0xE0028000))