.
TARGET_NUCLEO_F072RB/TARGET_STM/TARGET_STM32F0/PeripheralPins.h@0:88e313c910d0, 2015-08-13 (annotated)
- Committer:
- jhon309
- Date:
- Thu Aug 13 00:20:09 2015 +0000
- Revision:
- 0:88e313c910d0
RTC Example
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jhon309 | 0:88e313c910d0 | 1 | /* mbed Microcontroller Library |
jhon309 | 0:88e313c910d0 | 2 | ******************************************************************************* |
jhon309 | 0:88e313c910d0 | 3 | * Copyright (c) 2014, STMicroelectronics |
jhon309 | 0:88e313c910d0 | 4 | * All rights reserved. |
jhon309 | 0:88e313c910d0 | 5 | * |
jhon309 | 0:88e313c910d0 | 6 | * Redistribution and use in source and binary forms, with or without |
jhon309 | 0:88e313c910d0 | 7 | * modification, are permitted provided that the following conditions are met: |
jhon309 | 0:88e313c910d0 | 8 | * |
jhon309 | 0:88e313c910d0 | 9 | * 1. Redistributions of source code must retain the above copyright notice, |
jhon309 | 0:88e313c910d0 | 10 | * this list of conditions and the following disclaimer. |
jhon309 | 0:88e313c910d0 | 11 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
jhon309 | 0:88e313c910d0 | 12 | * this list of conditions and the following disclaimer in the documentation |
jhon309 | 0:88e313c910d0 | 13 | * and/or other materials provided with the distribution. |
jhon309 | 0:88e313c910d0 | 14 | * 3. Neither the name of STMicroelectronics nor the names of its contributors |
jhon309 | 0:88e313c910d0 | 15 | * may be used to endorse or promote products derived from this software |
jhon309 | 0:88e313c910d0 | 16 | * without specific prior written permission. |
jhon309 | 0:88e313c910d0 | 17 | * |
jhon309 | 0:88e313c910d0 | 18 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
jhon309 | 0:88e313c910d0 | 19 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
jhon309 | 0:88e313c910d0 | 20 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
jhon309 | 0:88e313c910d0 | 21 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
jhon309 | 0:88e313c910d0 | 22 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
jhon309 | 0:88e313c910d0 | 23 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
jhon309 | 0:88e313c910d0 | 24 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
jhon309 | 0:88e313c910d0 | 25 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
jhon309 | 0:88e313c910d0 | 26 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
jhon309 | 0:88e313c910d0 | 27 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
jhon309 | 0:88e313c910d0 | 28 | ******************************************************************************* |
jhon309 | 0:88e313c910d0 | 29 | */ |
jhon309 | 0:88e313c910d0 | 30 | |
jhon309 | 0:88e313c910d0 | 31 | #ifndef MBED_PERIPHERALPINS_H |
jhon309 | 0:88e313c910d0 | 32 | #define MBED_PERIPHERALPINS_H |
jhon309 | 0:88e313c910d0 | 33 | |
jhon309 | 0:88e313c910d0 | 34 | #include "pinmap.h" |
jhon309 | 0:88e313c910d0 | 35 | #include "PeripheralNames.h" |
jhon309 | 0:88e313c910d0 | 36 | |
jhon309 | 0:88e313c910d0 | 37 | //*** ADC *** |
jhon309 | 0:88e313c910d0 | 38 | |
jhon309 | 0:88e313c910d0 | 39 | extern const PinMap PinMap_ADC[]; |
jhon309 | 0:88e313c910d0 | 40 | |
jhon309 | 0:88e313c910d0 | 41 | //*** DAC *** |
jhon309 | 0:88e313c910d0 | 42 | |
jhon309 | 0:88e313c910d0 | 43 | extern const PinMap PinMap_DAC[]; |
jhon309 | 0:88e313c910d0 | 44 | |
jhon309 | 0:88e313c910d0 | 45 | //*** I2C *** |
jhon309 | 0:88e313c910d0 | 46 | |
jhon309 | 0:88e313c910d0 | 47 | extern const PinMap PinMap_I2C_SDA[]; |
jhon309 | 0:88e313c910d0 | 48 | extern const PinMap PinMap_I2C_SCL[]; |
jhon309 | 0:88e313c910d0 | 49 | |
jhon309 | 0:88e313c910d0 | 50 | //*** PWM *** |
jhon309 | 0:88e313c910d0 | 51 | |
jhon309 | 0:88e313c910d0 | 52 | extern const PinMap PinMap_PWM[]; |
jhon309 | 0:88e313c910d0 | 53 | |
jhon309 | 0:88e313c910d0 | 54 | //*** SERIAL *** |
jhon309 | 0:88e313c910d0 | 55 | |
jhon309 | 0:88e313c910d0 | 56 | extern const PinMap PinMap_UART_TX[]; |
jhon309 | 0:88e313c910d0 | 57 | extern const PinMap PinMap_UART_RX[]; |
jhon309 | 0:88e313c910d0 | 58 | |
jhon309 | 0:88e313c910d0 | 59 | //*** SPI *** |
jhon309 | 0:88e313c910d0 | 60 | |
jhon309 | 0:88e313c910d0 | 61 | extern const PinMap PinMap_SPI_MOSI[]; |
jhon309 | 0:88e313c910d0 | 62 | extern const PinMap PinMap_SPI_MISO[]; |
jhon309 | 0:88e313c910d0 | 63 | extern const PinMap PinMap_SPI_SCLK[]; |
jhon309 | 0:88e313c910d0 | 64 | extern const PinMap PinMap_SPI_SSEL[]; |
jhon309 | 0:88e313c910d0 | 65 | |
jhon309 | 0:88e313c910d0 | 66 | #endif |