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_SAMR21G18A/TARGET_Atmel/TARGET_SAM_CortexM0P/PortNames.h@111:4336505e4b1c
mbed library. Release version 164

Who changed what in which revision?

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