Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
mbed-os/targets/TARGET_STM/PeripheralPins.h@0:fb8047b156bb, 2020-01-15 (annotated)
- Committer:
- rahul_dahiya
- Date:
- Wed Jan 15 15:57:15 2020 +0530
- Revision:
- 0:fb8047b156bb
STM32F7 LWIP
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
rahul_dahiya |
0:fb8047b156bb | 1 | /* mbed Microcontroller Library |
rahul_dahiya |
0:fb8047b156bb | 2 | ******************************************************************************* |
rahul_dahiya |
0:fb8047b156bb | 3 | * Copyright (c) 2014, STMicroelectronics |
rahul_dahiya |
0:fb8047b156bb | 4 | * All rights reserved. |
rahul_dahiya |
0:fb8047b156bb | 5 | * |
rahul_dahiya |
0:fb8047b156bb | 6 | * Redistribution and use in source and binary forms, with or without |
rahul_dahiya |
0:fb8047b156bb | 7 | * modification, are permitted provided that the following conditions are met: |
rahul_dahiya |
0:fb8047b156bb | 8 | * |
rahul_dahiya |
0:fb8047b156bb | 9 | * 1. Redistributions of source code must retain the above copyright notice, |
rahul_dahiya |
0:fb8047b156bb | 10 | * this list of conditions and the following disclaimer. |
rahul_dahiya |
0:fb8047b156bb | 11 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
rahul_dahiya |
0:fb8047b156bb | 12 | * this list of conditions and the following disclaimer in the documentation |
rahul_dahiya |
0:fb8047b156bb | 13 | * and/or other materials provided with the distribution. |
rahul_dahiya |
0:fb8047b156bb | 14 | * 3. Neither the name of STMicroelectronics nor the names of its contributors |
rahul_dahiya |
0:fb8047b156bb | 15 | * may be used to endorse or promote products derived from this software |
rahul_dahiya |
0:fb8047b156bb | 16 | * without specific prior written permission. |
rahul_dahiya |
0:fb8047b156bb | 17 | * |
rahul_dahiya |
0:fb8047b156bb | 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
rahul_dahiya |
0:fb8047b156bb | 19 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
rahul_dahiya |
0:fb8047b156bb | 20 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
rahul_dahiya |
0:fb8047b156bb | 21 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
rahul_dahiya |
0:fb8047b156bb | 22 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
rahul_dahiya |
0:fb8047b156bb | 23 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
rahul_dahiya |
0:fb8047b156bb | 24 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
rahul_dahiya |
0:fb8047b156bb | 25 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
rahul_dahiya |
0:fb8047b156bb | 26 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
rahul_dahiya |
0:fb8047b156bb | 27 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
rahul_dahiya |
0:fb8047b156bb | 28 | ******************************************************************************* |
rahul_dahiya |
0:fb8047b156bb | 29 | */ |
rahul_dahiya |
0:fb8047b156bb | 30 | |
rahul_dahiya |
0:fb8047b156bb | 31 | #ifndef MBED_PERIPHERALPINS_H |
rahul_dahiya |
0:fb8047b156bb | 32 | #define MBED_PERIPHERALPINS_H |
rahul_dahiya |
0:fb8047b156bb | 33 | |
rahul_dahiya |
0:fb8047b156bb | 34 | #include "pinmap.h" |
rahul_dahiya |
0:fb8047b156bb | 35 | #include "PeripheralNames.h" |
rahul_dahiya |
0:fb8047b156bb | 36 | |
rahul_dahiya |
0:fb8047b156bb | 37 | //*** ADC *** |
rahul_dahiya |
0:fb8047b156bb | 38 | #ifdef DEVICE_ANALOGIN |
rahul_dahiya |
0:fb8047b156bb | 39 | extern const PinMap PinMap_ADC[]; |
rahul_dahiya |
0:fb8047b156bb | 40 | extern const PinMap PinMap_ADC_Internal[]; |
rahul_dahiya |
0:fb8047b156bb | 41 | #endif |
rahul_dahiya |
0:fb8047b156bb | 42 | |
rahul_dahiya |
0:fb8047b156bb | 43 | //*** DAC *** |
rahul_dahiya |
0:fb8047b156bb | 44 | #ifdef DEVICE_ANALOGOUT |
rahul_dahiya |
0:fb8047b156bb | 45 | extern const PinMap PinMap_DAC[]; |
rahul_dahiya |
0:fb8047b156bb | 46 | #endif |
rahul_dahiya |
0:fb8047b156bb | 47 | |
rahul_dahiya |
0:fb8047b156bb | 48 | //*** I2C *** |
rahul_dahiya |
0:fb8047b156bb | 49 | #if DEVICE_I2C |
rahul_dahiya |
0:fb8047b156bb | 50 | extern const PinMap PinMap_I2C_SDA[]; |
rahul_dahiya |
0:fb8047b156bb | 51 | extern const PinMap PinMap_I2C_SCL[]; |
rahul_dahiya |
0:fb8047b156bb | 52 | #endif |
rahul_dahiya |
0:fb8047b156bb | 53 | |
rahul_dahiya |
0:fb8047b156bb | 54 | //*** PWM *** |
rahul_dahiya |
0:fb8047b156bb | 55 | #if DEVICE_PWMOUT |
rahul_dahiya |
0:fb8047b156bb | 56 | extern const PinMap PinMap_PWM[]; |
rahul_dahiya |
0:fb8047b156bb | 57 | #endif |
rahul_dahiya |
0:fb8047b156bb | 58 | |
rahul_dahiya |
0:fb8047b156bb | 59 | //*** SERIAL *** |
rahul_dahiya |
0:fb8047b156bb | 60 | #ifdef DEVICE_SERIAL |
rahul_dahiya |
0:fb8047b156bb | 61 | extern const PinMap PinMap_UART_TX[]; |
rahul_dahiya |
0:fb8047b156bb | 62 | extern const PinMap PinMap_UART_RX[]; |
rahul_dahiya |
0:fb8047b156bb | 63 | #ifdef DEVICE_SERIAL_FC |
rahul_dahiya |
0:fb8047b156bb | 64 | extern const PinMap PinMap_UART_RTS[]; |
rahul_dahiya |
0:fb8047b156bb | 65 | extern const PinMap PinMap_UART_CTS[]; |
rahul_dahiya |
0:fb8047b156bb | 66 | #endif |
rahul_dahiya |
0:fb8047b156bb | 67 | #endif |
rahul_dahiya |
0:fb8047b156bb | 68 | |
rahul_dahiya |
0:fb8047b156bb | 69 | //*** SPI *** |
rahul_dahiya |
0:fb8047b156bb | 70 | #ifdef DEVICE_SPI |
rahul_dahiya |
0:fb8047b156bb | 71 | extern const PinMap PinMap_SPI_MOSI[]; |
rahul_dahiya |
0:fb8047b156bb | 72 | extern const PinMap PinMap_SPI_MISO[]; |
rahul_dahiya |
0:fb8047b156bb | 73 | extern const PinMap PinMap_SPI_SCLK[]; |
rahul_dahiya |
0:fb8047b156bb | 74 | extern const PinMap PinMap_SPI_SSEL[]; |
rahul_dahiya |
0:fb8047b156bb | 75 | #endif |
rahul_dahiya |
0:fb8047b156bb | 76 | |
rahul_dahiya |
0:fb8047b156bb | 77 | //*** CAN *** |
rahul_dahiya |
0:fb8047b156bb | 78 | #ifdef DEVICE_CAN |
rahul_dahiya |
0:fb8047b156bb | 79 | extern const PinMap PinMap_CAN_RD[]; |
rahul_dahiya |
0:fb8047b156bb | 80 | extern const PinMap PinMap_CAN_TD[]; |
rahul_dahiya |
0:fb8047b156bb | 81 | #endif |
rahul_dahiya |
0:fb8047b156bb | 82 | |
rahul_dahiya |
0:fb8047b156bb | 83 | #endif |