]> rtime.felk.cvut.cz Git - sysless.git/blobdiff - arch/arm/mach-lpc21xx/defines/lpc21xx.h
Added new can feature - can_baud.c - CAN init with autobaudrate calculation
[sysless.git] / arch / arm / mach-lpc21xx / defines / lpc21xx.h
index c84f6e459189f176303fa816f939d70b074a021a..6281d19c7a6146d5ccfbf4849c8ab331b8d6381b 100644 (file)
 #define WDFEED         (*((volatile unsigned char *) 0xE0000008))\r
 #define WDTV           (*((volatile unsigned long *) 0xE000000C))\r
 \r
+\r
+//------------------------- added by Jiri Kubias DCE CVUT -----------------------\r
+\r
+// GPIO selection, mask for PINSEL\r
+       #define GPIO_SEL_0      0x0l\r
+       #define GPIO_SEL_1      0x1l\r
+       #define GPIO_SEL_2      0x2l\r
+       #define GPIO_SEL_3      0x3l\r
+\r
+\r
+\r
 #ifdef __GNUC__\r
 /* For Keil compatibility */\r
 #define __irq __attribute__((interrupt))\r