Library

Dependents:   OSCTest_2

Fork of mbed by gokmen ascioglu

Committer:
itotaka
Date:
Fri Oct 04 12:17:02 2013 +0000
Revision:
1:b749145a7bb1
Parent:
0:a8fa94490a0a
changed Max_Arg to 80

Who changed what in which revision?

UserRevisionLine numberNew contents of line
gokmenascioglu 0:a8fa94490a0a 1 /* mbed Microcontroller Library - PortName
gokmenascioglu 0:a8fa94490a0a 2 * Copyright (c) 2010-2011 ARM Limited. All rights reserved.
gokmenascioglu 0:a8fa94490a0a 3 */
gokmenascioglu 0:a8fa94490a0a 4
gokmenascioglu 0:a8fa94490a0a 5 #ifndef MBED_PORTNAMES_H
gokmenascioglu 0:a8fa94490a0a 6 #define MBED_PORTNAMES_H
gokmenascioglu 0:a8fa94490a0a 7
gokmenascioglu 0:a8fa94490a0a 8 #ifdef __cplusplus
gokmenascioglu 0:a8fa94490a0a 9 extern "C" {
gokmenascioglu 0:a8fa94490a0a 10 #endif
gokmenascioglu 0:a8fa94490a0a 11
gokmenascioglu 0:a8fa94490a0a 12 #if defined(TARGET_LPC1768) || defined(TARGET_LPC2368)
gokmenascioglu 0:a8fa94490a0a 13
gokmenascioglu 0:a8fa94490a0a 14 enum PortName {
gokmenascioglu 0:a8fa94490a0a 15 Port0 = 0
gokmenascioglu 0:a8fa94490a0a 16 , Port1 = 1
gokmenascioglu 0:a8fa94490a0a 17 , Port2 = 2
gokmenascioglu 0:a8fa94490a0a 18 , Port3 = 3
gokmenascioglu 0:a8fa94490a0a 19 , Port4 = 4
gokmenascioglu 0:a8fa94490a0a 20 };
gokmenascioglu 0:a8fa94490a0a 21 typedef enum PortName PortName;
gokmenascioglu 0:a8fa94490a0a 22
gokmenascioglu 0:a8fa94490a0a 23 #elif defined(TARGET_LPC11U24)
gokmenascioglu 0:a8fa94490a0a 24
gokmenascioglu 0:a8fa94490a0a 25 enum PortName {
gokmenascioglu 0:a8fa94490a0a 26 Port0 = 0
gokmenascioglu 0:a8fa94490a0a 27 , Port1 = 1
gokmenascioglu 0:a8fa94490a0a 28 };
gokmenascioglu 0:a8fa94490a0a 29 typedef enum PortName PortName;
gokmenascioglu 0:a8fa94490a0a 30
gokmenascioglu 0:a8fa94490a0a 31
gokmenascioglu 0:a8fa94490a0a 32 #endif
gokmenascioglu 0:a8fa94490a0a 33
gokmenascioglu 0:a8fa94490a0a 34 #ifdef __cplusplus
gokmenascioglu 0:a8fa94490a0a 35 }
gokmenascioglu 0:a8fa94490a0a 36 #endif
gokmenascioglu 0:a8fa94490a0a 37 #endif
gokmenascioglu 0:a8fa94490a0a 38