mbed library sources change for ST sensors and ST BLE

Fork of mbed-src by mbed official

Committer:
mbed_official
Date:
Thu Jan 08 12:00:08 2015 +0000
Revision:
442:d916d321e60f
Parent:
targets/hal/TARGET_STM/TARGET_DISCO_F429ZI/PeripheralPins.h@428:4ddf7f7eabbb
Synchronized with git revision 2acefb66eb35837a685ce640b2b15e068d4ccf5b

Full URL: https://github.com/mbedmicro/mbed/commit/2acefb66eb35837a685ce640b2b15e068d4ccf5b/

NUCLEO_F334R8 - Fix issue with multiple ADC initialization

Who changed what in which revision?

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