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:
Fri May 26 12:30:20 2017 +0100
Revision:
143:86740a56073b
Parent:
104:b9ad9a133dc7
Release 143 of the mbed library.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Kojto 104:b9ad9a133dc7 1 /* mbed Microcontroller Library
Kojto 104:b9ad9a133dc7 2 * Copyright (c) 2013 Nordic Semiconductor
Kojto 104:b9ad9a133dc7 3 *
Kojto 104:b9ad9a133dc7 4 * Licensed under the Apache License, Version 2.0 (the "License");
Kojto 104:b9ad9a133dc7 5 * you may not use this file except in compliance with the License.
Kojto 104:b9ad9a133dc7 6 * You may obtain a copy of the License at
Kojto 104:b9ad9a133dc7 7 *
Kojto 104:b9ad9a133dc7 8 * http://www.apache.org/licenses/LICENSE-2.0
Kojto 104:b9ad9a133dc7 9 *
Kojto 104:b9ad9a133dc7 10 * Unless required by applicable law or agreed to in writing, software
Kojto 104:b9ad9a133dc7 11 * distributed under the License is distributed on an "AS IS" BASIS,
Kojto 104:b9ad9a133dc7 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Kojto 104:b9ad9a133dc7 13 * See the License for the specific language governing permissions and
Kojto 104:b9ad9a133dc7 14 * limitations under the License.
Kojto 104:b9ad9a133dc7 15 */
Kojto 104:b9ad9a133dc7 16 #ifndef MBED_PORTNAMES_H
Kojto 104:b9ad9a133dc7 17 #define MBED_PORTNAMES_H
Kojto 104:b9ad9a133dc7 18
Kojto 104:b9ad9a133dc7 19 #ifdef __cplusplus
Kojto 104:b9ad9a133dc7 20 extern "C" {
Kojto 104:b9ad9a133dc7 21 #endif
Kojto 104:b9ad9a133dc7 22
Kojto 104:b9ad9a133dc7 23 typedef enum {
Kojto 104:b9ad9a133dc7 24 Port0 = 0 //GPIO pins 0-31
Kojto 104:b9ad9a133dc7 25 } PortName;
Kojto 104:b9ad9a133dc7 26
Kojto 104:b9ad9a133dc7 27 #ifdef __cplusplus
Kojto 104:b9ad9a133dc7 28 }
Kojto 104:b9ad9a133dc7 29 #endif
Kojto 104:b9ad9a133dc7 30 #endif