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 08 11:45:42 2018 +0000
Revision:
171:3a7713b1edbc
Parent:
TARGET_NUMAKER_PFM_M453/TARGET_NUVOTON/TARGET_M451/PortNames.h@170:e95d10626187
mbed library. Release version 164

Who changed what in which revision?

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