a

Fork of mbed by -deleted-

Revision:
5:62573be585e9
Parent:
4:5d1359a283bc
--- a/LPC2300_MAP.h	Thu Nov 27 16:23:24 2008 +0000
+++ b/LPC2300_MAP.h	Thu Jan 22 18:32:40 2009 +0000
@@ -35,7 +35,8 @@
 
 #elif TARGET_PHAT40
 
-enum {
+enum {  
+  NC = 0,   // Not Connected 
 	LED1 = 32,
 	LED2 = 33,
 	LED3 = 34,
@@ -65,8 +66,10 @@
 	unsigned char function;	// Pin function
 };
 
+/* returns NOT_AVAILABLE if no port matches the pin */
 int pin_to_port(int pin);
 
+/* returns NULL if no map matches the pin */
 const PortMap* get_port_map(const PortMap* map, int pin);
 
 extern const PortMap ADC_PORTMAP[];