mbed-os/targets/TARGET_Silicon_Labs/TARGET_EFM32/common/PortNames.h

45 lines
1.4 KiB
C
Raw Normal View History

/***************************************************************************//**
* @file PortNames.h
*******************************************************************************
* @section License
* <b>(C) Copyright 2015 Silicon Labs, http://www.silabs.com</b>
*******************************************************************************
2015-04-27 18:11:02 +00:00
*
2016-06-13 22:23:58 +00:00
* SPDX-License-Identifier: Apache-2.0
2015-04-27 18:11:02 +00:00
*
2016-06-13 22:23:58 +00:00
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
2015-04-27 18:11:02 +00:00
*
2016-06-13 22:23:58 +00:00
* http://www.apache.org/licenses/LICENSE-2.0
*
2016-06-13 22:23:58 +00:00
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
******************************************************************************/
2015-04-27 18:11:02 +00:00
#ifndef MBED_PORTNAMES_H
#define MBED_PORTNAMES_H
#include "em_gpio.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef enum {
PortA = gpioPortA, /**< Port A */
PortB = gpioPortB, /**< Port B */
PortC = gpioPortC, /**< Port C */
PortD = gpioPortD, /**< Port D */
PortE = gpioPortE, /**< Port E */
PortF = gpioPortF /**< Port F */
} PortName;
#ifdef __cplusplus
}
#endif
#endif