Lab 1 Program C
Fork of mbed by
Diff: PortNames.h
- Revision:
- 18:b3c9f16cbb96
- Child:
- 27:7110ebee3484
diff -r 49a220cc26e0 -r b3c9f16cbb96 PortNames.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PortNames.h Mon May 17 14:18:54 2010 +0000 @@ -0,0 +1,26 @@ +/* mbed Microcontroller Library - PortName + * Copyright (c) 2010 ARM Limited. All rights reserved. + * jward + */ + +#ifndef MBED_PORTNAMES_H +#define MBED_PORTNAMES_H + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum PortName PortName; +enum PortName { + Port0 = 0 + , Port1 = 1 + , Port2 = 2 + , Port3 = 3 + , Port4 = 4 +}; + +#ifdef __cplusplus +} +#endif +#endif +