The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
TARGET_NUCLEO_F303RE/TARGET_STM/PeripheralPins.h@141:794e51388b66, 2017-04-28 (annotated)
- Committer:
- Anna Bridge
- Date:
- Fri Apr 28 13:09:19 2017 +0100
- Revision:
- 141:794e51388b66
- Parent:
- 135:176b8275d35d
Release 141 of the mbed library
Ports for Upcoming Targets
Fixes and Changes
4008: [NUC472/M453] Support Bootloader and FlashIAP https://github.com/ARMmbed/mbed-os/pull/4008
4102: Add SCL and SDA defs for I2C[0-2]; redefine I2C_[SCL,SDA] to I2C2 https://github.com/ARMmbed/mbed-os/pull/4102
4118: STM32F4 Internal ADC channels rework https://github.com/ARMmbed/mbed-os/pull/4118
4126: STM32F4 : remove SERIAL_TX and SERIAL_RX from available pins https://github.com/ARMmbed/mbed-os/pull/4126
4148: Revert "STM32F4 Internal ADC channels rework" https://github.com/ARMmbed/mbed-os/pull/4148
4152: STM32F4 Internal ADC channels rework https://github.com/ARMmbed/mbed-os/pull/4152
4074: [Silicon Labs] Update pinout https://github.com/ARMmbed/mbed-os/pull/4074
4133: U-BLOX_C030: Default XTAL is now 12MHz onboard. Option to use Debug 8MHz https://github.com/ARMmbed/mbed-os/pull/4133
4142: EFM32: Fixed `pwmout_all_inactive` being inversed https://github.com/ARMmbed/mbed-os/pull/4142
4016: [NRF5]: fix rtc overflow-while-set-timestamp issue https://github.com/ARMmbed/mbed-os/pull/4016
4031: STM32 increase IAR heap size for big RAM targets https://github.com/ARMmbed/mbed-os/pull/4031
4137: MCUXpresso: Update ARM linker files to eliminate reserving RAM for stack & heap https://github.com/ARMmbed/mbed-os/pull/4137
4176: STM32L4 Internal ADC channels rework https://github.com/ARMmbed/mbed-os/pull/4176
4154: STM32F7 Internal ADC channels rework https://github.com/ARMmbed/mbed-os/pull/4154
4174: [NRF52840]: fix rtc overflow-while-set-timestamp issue https://github.com/ARMmbed/mbed-os/pull/4174
4180: [UBLOX_C030] create target hierarchy for the specific versions of the C030 board https://github.com/ARMmbed/mbed-os/pull/4180
4153: STM32F2: Internal ADC channels rework https://github.com/ARMmbed/mbed-os/pull/4153
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
<> | 135:176b8275d35d | 1 | /* mbed Microcontroller Library |
<> | 135:176b8275d35d | 2 | ******************************************************************************* |
<> | 135:176b8275d35d | 3 | * Copyright (c) 2014, STMicroelectronics |
<> | 135:176b8275d35d | 4 | * All rights reserved. |
<> | 135:176b8275d35d | 5 | * |
<> | 135:176b8275d35d | 6 | * Redistribution and use in source and binary forms, with or without |
<> | 135:176b8275d35d | 7 | * modification, are permitted provided that the following conditions are met: |
<> | 135:176b8275d35d | 8 | * |
<> | 135:176b8275d35d | 9 | * 1. Redistributions of source code must retain the above copyright notice, |
<> | 135:176b8275d35d | 10 | * this list of conditions and the following disclaimer. |
<> | 135:176b8275d35d | 11 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
<> | 135:176b8275d35d | 12 | * this list of conditions and the following disclaimer in the documentation |
<> | 135:176b8275d35d | 13 | * and/or other materials provided with the distribution. |
<> | 135:176b8275d35d | 14 | * 3. Neither the name of STMicroelectronics nor the names of its contributors |
<> | 135:176b8275d35d | 15 | * may be used to endorse or promote products derived from this software |
<> | 135:176b8275d35d | 16 | * without specific prior written permission. |
<> | 135:176b8275d35d | 17 | * |
<> | 135:176b8275d35d | 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
<> | 135:176b8275d35d | 19 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
<> | 135:176b8275d35d | 20 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
<> | 135:176b8275d35d | 21 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
<> | 135:176b8275d35d | 22 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
<> | 135:176b8275d35d | 23 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
<> | 135:176b8275d35d | 24 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
<> | 135:176b8275d35d | 25 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
<> | 135:176b8275d35d | 26 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
<> | 135:176b8275d35d | 27 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
<> | 135:176b8275d35d | 28 | ******************************************************************************* |
<> | 135:176b8275d35d | 29 | */ |
<> | 135:176b8275d35d | 30 | |
<> | 135:176b8275d35d | 31 | #ifndef MBED_PERIPHERALPINS_H |
<> | 135:176b8275d35d | 32 | #define MBED_PERIPHERALPINS_H |
<> | 135:176b8275d35d | 33 | |
<> | 135:176b8275d35d | 34 | #include "pinmap.h" |
<> | 135:176b8275d35d | 35 | #include "PeripheralNames.h" |
<> | 135:176b8275d35d | 36 | |
<> | 135:176b8275d35d | 37 | //*** ADC *** |
<> | 135:176b8275d35d | 38 | #ifdef DEVICE_ANALOGIN |
<> | 135:176b8275d35d | 39 | extern const PinMap PinMap_ADC[]; |
Anna Bridge |
141:794e51388b66 | 40 | extern const PinMap PinMap_ADC_Internal[]; |
<> | 135:176b8275d35d | 41 | #endif |
<> | 135:176b8275d35d | 42 | |
<> | 135:176b8275d35d | 43 | //*** DAC *** |
<> | 135:176b8275d35d | 44 | #ifdef DEVICE_ANALOGOUT |
<> | 135:176b8275d35d | 45 | extern const PinMap PinMap_DAC[]; |
<> | 135:176b8275d35d | 46 | #endif |
<> | 135:176b8275d35d | 47 | |
<> | 135:176b8275d35d | 48 | //*** I2C *** |
<> | 135:176b8275d35d | 49 | #if DEVICE_I2C |
<> | 135:176b8275d35d | 50 | extern const PinMap PinMap_I2C_SDA[]; |
<> | 135:176b8275d35d | 51 | extern const PinMap PinMap_I2C_SCL[]; |
<> | 135:176b8275d35d | 52 | #endif |
<> | 135:176b8275d35d | 53 | |
<> | 135:176b8275d35d | 54 | //*** PWM *** |
<> | 135:176b8275d35d | 55 | #if DEVICE_PWMOUT |
<> | 135:176b8275d35d | 56 | extern const PinMap PinMap_PWM[]; |
<> | 135:176b8275d35d | 57 | #endif |
<> | 135:176b8275d35d | 58 | |
<> | 135:176b8275d35d | 59 | //*** SERIAL *** |
<> | 135:176b8275d35d | 60 | #ifdef DEVICE_SERIAL |
<> | 135:176b8275d35d | 61 | extern const PinMap PinMap_UART_TX[]; |
<> | 135:176b8275d35d | 62 | extern const PinMap PinMap_UART_RX[]; |
<> | 135:176b8275d35d | 63 | #ifdef DEVICE_SERIAL_FC |
<> | 135:176b8275d35d | 64 | extern const PinMap PinMap_UART_RTS[]; |
<> | 135:176b8275d35d | 65 | extern const PinMap PinMap_UART_CTS[]; |
<> | 135:176b8275d35d | 66 | #endif |
<> | 135:176b8275d35d | 67 | #endif |
<> | 135:176b8275d35d | 68 | |
<> | 135:176b8275d35d | 69 | //*** SPI *** |
<> | 135:176b8275d35d | 70 | #ifdef DEVICE_SPI |
<> | 135:176b8275d35d | 71 | extern const PinMap PinMap_SPI_MOSI[]; |
<> | 135:176b8275d35d | 72 | extern const PinMap PinMap_SPI_MISO[]; |
<> | 135:176b8275d35d | 73 | extern const PinMap PinMap_SPI_SCLK[]; |
<> | 135:176b8275d35d | 74 | extern const PinMap PinMap_SPI_SSEL[]; |
<> | 135:176b8275d35d | 75 | #endif |
<> | 135:176b8275d35d | 76 | |
<> | 135:176b8275d35d | 77 | //*** CAN *** |
<> | 135:176b8275d35d | 78 | #ifdef DEVICE_CAN |
<> | 135:176b8275d35d | 79 | extern const PinMap PinMap_CAN_RD[]; |
<> | 135:176b8275d35d | 80 | extern const PinMap PinMap_CAN_TD[]; |
<> | 135:176b8275d35d | 81 | #endif |
<> | 135:176b8275d35d | 82 | |
<> | 135:176b8275d35d | 83 | #endif |