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