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