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_SAMD21G18A/TARGET_Atmel/TARGET_SAM_CortexM0P/PortNames.h@147:a97add6d7e64, 2017-07-19 (annotated)
- Committer:
- Kojto
- Date:
- Wed Jul 19 16:46:19 2017 +0100
- Revision:
- 147:a97add6d7e64
- Parent:
- 111:4336505e4b1c
Release 147 of the mbed library.
Who changed what in which revision?
User | Revision | Line number | New 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 |