Fork of the official mbed C/C++ SDK provides the software platform and libraries to build your applications. The fork has the documentation converted to Doxygen format

Dependents:   NervousPuppySprintOne NervousPuppySprint2602 Robot WarehouseBot1 ... more

Fork of mbed by mbed official

Committer:
screamer
Date:
Wed Oct 24 10:44:49 2012 +0000
Revision:
43:aff670d0d510
Parent:
27:7110ebee3484
Conversion of the classes documentation to Doxygen format

Who changed what in which revision?

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