Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: 1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB
Fork of mbed by
PortNames.h
- Committer:
- emilmont
- Date:
- 2012-10-26
- Revision:
- 43:e2ed12d17f06
- Parent:
- 27:7110ebee3484
File content as of revision 43:e2ed12d17f06:
/* mbed Microcontroller Library - PortName
* Copyright (c) 2010-2011 ARM Limited. All rights reserved.
*/
#ifndef MBED_PORTNAMES_H
#define MBED_PORTNAMES_H
#ifdef __cplusplus
extern "C" {
#endif
#if defined(TARGET_LPC1768) || defined(TARGET_LPC2368)
enum PortName {
Port0 = 0
, Port1 = 1
, Port2 = 2
, Port3 = 3
, Port4 = 4
};
typedef enum PortName PortName;
#elif defined(TARGET_LPC11U24)
enum PortName {
Port0 = 0
, Port1 = 1
};
typedef enum PortName PortName;
#endif
#ifdef __cplusplus
}
#endif
#endif
