Merge pull request #59 from adamgreen/gcc-20120316
[clinton/Smoothieware.git] / gcc4mbed / external / mbed / PortNames.h
1 /* mbed Microcontroller Library - PortName
2 * Copyright (c) 2010-2011 ARM Limited. All rights reserved.
3 */
4
5 #ifndef MBED_PORTNAMES_H
6 #define MBED_PORTNAMES_H
7
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11
12 #if defined(TARGET_LPC1768) || defined(TARGET_LPC2368)
13
14 enum PortName {
15 Port0 = 0
16 , Port1 = 1
17 , Port2 = 2
18 , Port3 = 3
19 , Port4 = 4
20 };
21 typedef enum PortName PortName;
22
23 #elif defined(TARGET_LPC11U24)
24
25 enum PortName {
26 Port0 = 0
27 , Port1 = 1
28 };
29 typedef enum PortName PortName;
30
31
32 #endif
33
34 #ifdef __cplusplus
35 }
36 #endif
37 #endif
38