mbed library sources. Supersedes mbed-src.

Fork of mbed-dev by mbed official

Committer:
<>
Date:
Fri Oct 28 11:17:30 2016 +0100
Revision:
149:156823d33999
Parent:
targets/hal/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32PG_STK3401/PortNames.h@144:ef7eb2e8f9f7
This updates the lib to the mbed lib v128

NOTE: This release includes a restructuring of the file and directory locations and thus some
include paths in your code may need updating accordingly.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 50:a417edff4437 1 /***************************************************************************//**
mbed_official 50:a417edff4437 2 * @file PortNames.h
mbed_official 50:a417edff4437 3 *******************************************************************************
mbed_official 50:a417edff4437 4 * @section License
mbed_official 50:a417edff4437 5 * <b>(C) Copyright 2015 Silicon Labs, http://www.silabs.com</b>
mbed_official 50:a417edff4437 6 *******************************************************************************
mbed_official 50:a417edff4437 7 *
<> 144:ef7eb2e8f9f7 8 * SPDX-License-Identifier: Apache-2.0
mbed_official 50:a417edff4437 9 *
<> 144:ef7eb2e8f9f7 10 * Licensed under the Apache License, Version 2.0 (the "License"); you may
<> 144:ef7eb2e8f9f7 11 * not use this file except in compliance with the License.
<> 144:ef7eb2e8f9f7 12 * You may obtain a copy of the License at
mbed_official 50:a417edff4437 13 *
<> 144:ef7eb2e8f9f7 14 * http://www.apache.org/licenses/LICENSE-2.0
mbed_official 50:a417edff4437 15 *
<> 144:ef7eb2e8f9f7 16 * Unless required by applicable law or agreed to in writing, software
<> 144:ef7eb2e8f9f7 17 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
<> 144:ef7eb2e8f9f7 18 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
<> 144:ef7eb2e8f9f7 19 * See the License for the specific language governing permissions and
<> 144:ef7eb2e8f9f7 20 * limitations under the License.
mbed_official 50:a417edff4437 21 *
mbed_official 50:a417edff4437 22 ******************************************************************************/
mbed_official 50:a417edff4437 23 #ifndef MBED_PORTNAMES_H
mbed_official 50:a417edff4437 24 #define MBED_PORTNAMES_H
mbed_official 50:a417edff4437 25
mbed_official 50:a417edff4437 26 #include "em_gpio.h"
mbed_official 50:a417edff4437 27
mbed_official 50:a417edff4437 28 #ifdef __cplusplus
mbed_official 50:a417edff4437 29 extern "C" {
mbed_official 50:a417edff4437 30 #endif
mbed_official 50:a417edff4437 31
mbed_official 50:a417edff4437 32 typedef enum {
mbed_official 50:a417edff4437 33 PortA = gpioPortA, /**< Port A */
mbed_official 50:a417edff4437 34 PortB = gpioPortB, /**< Port B */
mbed_official 50:a417edff4437 35 PortC = gpioPortC, /**< Port C */
mbed_official 50:a417edff4437 36 PortD = gpioPortD, /**< Port D */
mbed_official 50:a417edff4437 37 PortF = gpioPortF /**< Port F */
mbed_official 50:a417edff4437 38 } PortName;
mbed_official 50:a417edff4437 39
mbed_official 50:a417edff4437 40 #ifdef __cplusplus
mbed_official 50:a417edff4437 41 }
mbed_official 50:a417edff4437 42 #endif
mbed_official 50:a417edff4437 43 #endif