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:
Thu Nov 09 11:14:10 2017 +0000
Revision:
157:e7ca05fa8600
Parent:
92:4fc01daae5a5
Release 155 of the mbed library.

Who changed what in which revision?

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