The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Committer:
AnnaBridge
Date:
Wed Feb 20 20:53:29 2019 +0000
Revision:
172:65be27845400
Parent:
171:3a7713b1edbc
mbed library release version 165

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Kojto 148:fd96258d940d 1 /* mbed Microcontroller Library
Kojto 148:fd96258d940d 2 * Copyright (c) 2006-2013 ARM Limited
Kojto 148:fd96258d940d 3 *
Kojto 148:fd96258d940d 4 * Licensed under the Apache License, Version 2.0 (the "License");
Kojto 148:fd96258d940d 5 * you may not use this file except in compliance with the License.
Kojto 148:fd96258d940d 6 * You may obtain a copy of the License at
Kojto 148:fd96258d940d 7 *
Kojto 148:fd96258d940d 8 * http://www.apache.org/licenses/LICENSE-2.0
Kojto 148:fd96258d940d 9 *
Kojto 148:fd96258d940d 10 * Unless required by applicable law or agreed to in writing, software
Kojto 148:fd96258d940d 11 * distributed under the License is distributed on an "AS IS" BASIS,
Kojto 148:fd96258d940d 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Kojto 148:fd96258d940d 13 * See the License for the specific language governing permissions and
Kojto 148:fd96258d940d 14 * limitations under the License.
Kojto 148:fd96258d940d 15 */
Kojto 148:fd96258d940d 16 #ifndef MBED_PORTNAMES_H
Kojto 148:fd96258d940d 17 #define MBED_PORTNAMES_H
Kojto 148:fd96258d940d 18
Kojto 148:fd96258d940d 19 #ifdef __cplusplus
Kojto 148:fd96258d940d 20 extern "C" {
Kojto 148:fd96258d940d 21 #endif
Kojto 148:fd96258d940d 22
Kojto 148:fd96258d940d 23 typedef enum {
Kojto 148:fd96258d940d 24 Port0 = 0,
Kojto 148:fd96258d940d 25 Port1 = 1
Kojto 148:fd96258d940d 26 } PortName;
Kojto 148:fd96258d940d 27
Kojto 148:fd96258d940d 28 typedef enum {
Kojto 148:fd96258d940d 29 Flexcomm0 = 0,
Kojto 148:fd96258d940d 30 Flexcomm1 = 1,
Kojto 148:fd96258d940d 31 Flexcomm2 = 2,
Kojto 148:fd96258d940d 32 Flexcomm3 = 3,
Kojto 148:fd96258d940d 33 Flexcomm4 = 4,
Kojto 148:fd96258d940d 34 Flexcomm5 = 5,
Kojto 148:fd96258d940d 35 Flexcomm6 = 6,
Kojto 148:fd96258d940d 36 Flexcomm7 = 7,
Kojto 148:fd96258d940d 37 Flexcomm8 = 8,
Kojto 148:fd96258d940d 38 Flexcomm9 = 9
Kojto 148:fd96258d940d 39 } FlexcommName;
Kojto 148:fd96258d940d 40
Kojto 148:fd96258d940d 41 #ifdef __cplusplus
Kojto 148:fd96258d940d 42 }
Kojto 148:fd96258d940d 43 #endif
Kojto 148:fd96258d940d 44
Kojto 148:fd96258d940d 45 #endif