Egor Rumjantsev / mbed

Fork of mbed by mbed official

Committer:
Mikchel
Date:
Sun May 03 16:04:42 2015 +0000
Revision:
99:7f6c6de930c0
Parent:
93:e188a91d3eaa
12

Who changed what in which revision?

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