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.
TARGET_ARM_MPS2_M0/TOOLCHAIN_ARM_STD/PortNames.h@172:65be27845400, 2019-02-20 (annotated)
- 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?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kojto | 102:da0ca467f8b5 | 1 | /* mbed Microcontroller Library |
Kojto | 102:da0ca467f8b5 | 2 | * Copyright (c) 2006-2015 ARM Limited |
Kojto | 102:da0ca467f8b5 | 3 | * |
Kojto | 102:da0ca467f8b5 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
Kojto | 102:da0ca467f8b5 | 5 | * you may not use this file except in compliance with the License. |
Kojto | 102:da0ca467f8b5 | 6 | * You may obtain a copy of the License at |
Kojto | 102:da0ca467f8b5 | 7 | * |
Kojto | 102:da0ca467f8b5 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
Kojto | 102:da0ca467f8b5 | 9 | * |
Kojto | 102:da0ca467f8b5 | 10 | * Unless required by applicable law or agreed to in writing, software |
Kojto | 102:da0ca467f8b5 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
Kojto | 102:da0ca467f8b5 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
Kojto | 102:da0ca467f8b5 | 13 | * See the License for the specific language governing permissions and |
Kojto | 102:da0ca467f8b5 | 14 | * limitations under the License. |
Kojto | 102:da0ca467f8b5 | 15 | */ |
Kojto | 102:da0ca467f8b5 | 16 | #ifndef MBED_PORTNAMES_H |
Kojto | 102:da0ca467f8b5 | 17 | #define MBED_PORTNAMES_H |
Kojto | 102:da0ca467f8b5 | 18 | |
Kojto | 102:da0ca467f8b5 | 19 | #ifdef __cplusplus |
Kojto | 102:da0ca467f8b5 | 20 | extern "C" { |
Kojto | 102:da0ca467f8b5 | 21 | #endif |
Kojto | 102:da0ca467f8b5 | 22 | |
Kojto | 102:da0ca467f8b5 | 23 | typedef enum { |
Kojto | 102:da0ca467f8b5 | 24 | Port0 = 0, |
Kojto | 102:da0ca467f8b5 | 25 | Port1 = 1 |
Kojto | 102:da0ca467f8b5 | 26 | } PortName; |
Kojto | 102:da0ca467f8b5 | 27 | |
Kojto | 102:da0ca467f8b5 | 28 | #ifdef __cplusplus |
Kojto | 102:da0ca467f8b5 | 29 | } |
Kojto | 102:da0ca467f8b5 | 30 | #endif |
Kojto | 102:da0ca467f8b5 | 31 | #endif |