SD card interface

Committer:
lharoon
Date:
Mon Oct 08 11:14:07 2012 +0000
Revision:
0:22612ae617a0
1st edition

Who changed what in which revision?

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