This is my quadcopter prototype software, still in development!

Committer:
Anaesthetix
Date:
Tue Jul 23 14:01:42 2013 +0000
Revision:
1:ac68f0368a77
Parent:
0:978110f7f027
Other accelerometer added

Who changed what in which revision?

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