mbed
Fork of mbed-dev by
targets/TARGET_Silicon_Labs/TARGET_EFM32/PeripheralPins.h@182:57724642e740, 2018-02-16 (annotated)
- Committer:
- AnnaBridge
- Date:
- Fri Feb 16 16:09:33 2018 +0000
- Revision:
- 182:57724642e740
mbed-dev library. Release version 159.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AnnaBridge | 182:57724642e740 | 1 | /***************************************************************************//** |
AnnaBridge | 182:57724642e740 | 2 | * @file PeripheralPins.h |
AnnaBridge | 182:57724642e740 | 3 | ******************************************************************************* |
AnnaBridge | 182:57724642e740 | 4 | * @section License |
AnnaBridge | 182:57724642e740 | 5 | * <b>(C) Copyright 2015 Silicon Labs, http://www.silabs.com</b> |
AnnaBridge | 182:57724642e740 | 6 | ******************************************************************************* |
AnnaBridge | 182:57724642e740 | 7 | * |
AnnaBridge | 182:57724642e740 | 8 | * SPDX-License-Identifier: Apache-2.0 |
AnnaBridge | 182:57724642e740 | 9 | * |
AnnaBridge | 182:57724642e740 | 10 | * Licensed under the Apache License, Version 2.0 (the "License"); you may |
AnnaBridge | 182:57724642e740 | 11 | * not use this file except in compliance with the License. |
AnnaBridge | 182:57724642e740 | 12 | * You may obtain a copy of the License at |
AnnaBridge | 182:57724642e740 | 13 | * |
AnnaBridge | 182:57724642e740 | 14 | * http://www.apache.org/licenses/LICENSE-2.0 |
AnnaBridge | 182:57724642e740 | 15 | * |
AnnaBridge | 182:57724642e740 | 16 | * Unless required by applicable law or agreed to in writing, software |
AnnaBridge | 182:57724642e740 | 17 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
AnnaBridge | 182:57724642e740 | 18 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
AnnaBridge | 182:57724642e740 | 19 | * See the License for the specific language governing permissions and |
AnnaBridge | 182:57724642e740 | 20 | * limitations under the License. |
AnnaBridge | 182:57724642e740 | 21 | * |
AnnaBridge | 182:57724642e740 | 22 | ******************************************************************************/ |
AnnaBridge | 182:57724642e740 | 23 | |
AnnaBridge | 182:57724642e740 | 24 | #ifndef MBED_PERIPHERALPINS_H |
AnnaBridge | 182:57724642e740 | 25 | #define MBED_PERIPHERALPINS_H |
AnnaBridge | 182:57724642e740 | 26 | |
AnnaBridge | 182:57724642e740 | 27 | #include "pinmap.h" |
AnnaBridge | 182:57724642e740 | 28 | #include "PeripheralNames.h" |
AnnaBridge | 182:57724642e740 | 29 | |
AnnaBridge | 182:57724642e740 | 30 | #if DEVICE_ANALOGIN |
AnnaBridge | 182:57724642e740 | 31 | /************ADC***************/ |
AnnaBridge | 182:57724642e740 | 32 | extern const PinMap PinMap_ADC[]; |
AnnaBridge | 182:57724642e740 | 33 | #endif |
AnnaBridge | 182:57724642e740 | 34 | |
AnnaBridge | 182:57724642e740 | 35 | #if DEVICE_ANALOGOUT |
AnnaBridge | 182:57724642e740 | 36 | /************DAC***************/ |
AnnaBridge | 182:57724642e740 | 37 | extern const PinMap PinMap_DAC[]; |
AnnaBridge | 182:57724642e740 | 38 | #endif |
AnnaBridge | 182:57724642e740 | 39 | |
AnnaBridge | 182:57724642e740 | 40 | #if DEVICE_I2C |
AnnaBridge | 182:57724642e740 | 41 | /************I2C***************/ |
AnnaBridge | 182:57724642e740 | 42 | extern const PinMap PinMap_I2C_SCL[]; |
AnnaBridge | 182:57724642e740 | 43 | extern const PinMap PinMap_I2C_SDA[]; |
AnnaBridge | 182:57724642e740 | 44 | #endif |
AnnaBridge | 182:57724642e740 | 45 | |
AnnaBridge | 182:57724642e740 | 46 | #if DEVICE_PWMOUT |
AnnaBridge | 182:57724642e740 | 47 | /************PWM***************/ |
AnnaBridge | 182:57724642e740 | 48 | extern const PinMap PinMap_PWM[]; |
AnnaBridge | 182:57724642e740 | 49 | #endif |
AnnaBridge | 182:57724642e740 | 50 | |
AnnaBridge | 182:57724642e740 | 51 | #if DEVICE_SPI |
AnnaBridge | 182:57724642e740 | 52 | /************SPI***************/ |
AnnaBridge | 182:57724642e740 | 53 | extern const PinMap PinMap_SPI_MOSI[]; |
AnnaBridge | 182:57724642e740 | 54 | extern const PinMap PinMap_SPI_MISO[]; |
AnnaBridge | 182:57724642e740 | 55 | extern const PinMap PinMap_SPI_CLK[]; |
AnnaBridge | 182:57724642e740 | 56 | extern const PinMap PinMap_SPI_CS[]; |
AnnaBridge | 182:57724642e740 | 57 | #endif |
AnnaBridge | 182:57724642e740 | 58 | |
AnnaBridge | 182:57724642e740 | 59 | #if DEVICE_SERIAL |
AnnaBridge | 182:57724642e740 | 60 | /************UART**************/ |
AnnaBridge | 182:57724642e740 | 61 | extern const PinMap PinMap_UART_TX[]; |
AnnaBridge | 182:57724642e740 | 62 | extern const PinMap PinMap_UART_RX[]; |
AnnaBridge | 182:57724642e740 | 63 | #endif |
AnnaBridge | 182:57724642e740 | 64 | |
AnnaBridge | 182:57724642e740 | 65 | #endif |
AnnaBridge | 182:57724642e740 | 66 |