BBR 1 Ebene

Committer:
borlanic
Date:
Mon May 14 11:29:06 2018 +0000
Revision:
0:fbdae7e6d805
BBR

Who changed what in which revision?

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