ads1115 only

Fork of mbed by mbed official

Committer:
kaoshen
Date:
Tue Jan 17 23:27:32 2017 +0000
Revision:
135:fce8a9387ed1
Parent:
125:2e9cc70d1897
333 ADS1115 ADC1

Who changed what in which revision?

UserRevisionLine numberNew contents of line
AnnaBridge 125:2e9cc70d1897 1 /*******************************************************************************
AnnaBridge 125:2e9cc70d1897 2 * Copyright (C) 2016 Maxim Integrated Products, Inc., All Rights Reserved.
AnnaBridge 125:2e9cc70d1897 3 *
AnnaBridge 125:2e9cc70d1897 4 * Permission is hereby granted, free of charge, to any person obtaining a
AnnaBridge 125:2e9cc70d1897 5 * copy of this software and associated documentation files (the "Software"),
AnnaBridge 125:2e9cc70d1897 6 * to deal in the Software without restriction, including without limitation
AnnaBridge 125:2e9cc70d1897 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
AnnaBridge 125:2e9cc70d1897 8 * and/or sell copies of the Software, and to permit persons to whom the
AnnaBridge 125:2e9cc70d1897 9 * Software is furnished to do so, subject to the following conditions:
AnnaBridge 125:2e9cc70d1897 10 *
AnnaBridge 125:2e9cc70d1897 11 * The above copyright notice and this permission notice shall be included
AnnaBridge 125:2e9cc70d1897 12 * in all copies or substantial portions of the Software.
AnnaBridge 125:2e9cc70d1897 13 *
AnnaBridge 125:2e9cc70d1897 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
AnnaBridge 125:2e9cc70d1897 15 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
AnnaBridge 125:2e9cc70d1897 16 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
AnnaBridge 125:2e9cc70d1897 17 * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES
AnnaBridge 125:2e9cc70d1897 18 * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
AnnaBridge 125:2e9cc70d1897 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
AnnaBridge 125:2e9cc70d1897 20 * OTHER DEALINGS IN THE SOFTWARE.
AnnaBridge 125:2e9cc70d1897 21 *
AnnaBridge 125:2e9cc70d1897 22 * Except as contained in this notice, the name of Maxim Integrated
AnnaBridge 125:2e9cc70d1897 23 * Products, Inc. shall not be used except as stated in the Maxim Integrated
AnnaBridge 125:2e9cc70d1897 24 * Products, Inc. Branding Policy.
AnnaBridge 125:2e9cc70d1897 25 *
AnnaBridge 125:2e9cc70d1897 26 * The mere transfer of this software does not imply any licenses
AnnaBridge 125:2e9cc70d1897 27 * of trade secrets, proprietary technology, copyrights, patents,
AnnaBridge 125:2e9cc70d1897 28 * trademarks, maskwork rights, or any other form of intellectual
AnnaBridge 125:2e9cc70d1897 29 * property whatsoever. Maxim Integrated Products, Inc. retains all
AnnaBridge 125:2e9cc70d1897 30 * ownership rights.
AnnaBridge 125:2e9cc70d1897 31 *******************************************************************************
AnnaBridge 125:2e9cc70d1897 32 */
AnnaBridge 125:2e9cc70d1897 33
AnnaBridge 125:2e9cc70d1897 34 #ifndef MBED_PERIPHERALPINS_H
AnnaBridge 125:2e9cc70d1897 35 #define MBED_PERIPHERALPINS_H
AnnaBridge 125:2e9cc70d1897 36
AnnaBridge 125:2e9cc70d1897 37 #include "pinmap.h"
AnnaBridge 125:2e9cc70d1897 38 #include "PeripheralNames.h"
AnnaBridge 125:2e9cc70d1897 39
AnnaBridge 125:2e9cc70d1897 40 /************I2C***************/
AnnaBridge 125:2e9cc70d1897 41 extern const PinMap PinMap_I2C_SDA[];
AnnaBridge 125:2e9cc70d1897 42 extern const PinMap PinMap_I2C_SCL[];
AnnaBridge 125:2e9cc70d1897 43
AnnaBridge 125:2e9cc70d1897 44 /************UART***************/
AnnaBridge 125:2e9cc70d1897 45 extern const PinMap PinMap_UART_TX[];
AnnaBridge 125:2e9cc70d1897 46 extern const PinMap PinMap_UART_RX[];
AnnaBridge 125:2e9cc70d1897 47 extern const PinMap PinMap_UART_CTS[];
AnnaBridge 125:2e9cc70d1897 48 extern const PinMap PinMap_UART_RTS[];
AnnaBridge 125:2e9cc70d1897 49
AnnaBridge 125:2e9cc70d1897 50 /************SPI***************/
AnnaBridge 125:2e9cc70d1897 51 extern const PinMap PinMap_SPI_SCLK[];
AnnaBridge 125:2e9cc70d1897 52 extern const PinMap PinMap_SPI_MOSI[];
AnnaBridge 125:2e9cc70d1897 53 extern const PinMap PinMap_SPI_MISO[];
AnnaBridge 125:2e9cc70d1897 54 extern const PinMap PinMap_SPI_SSEL[];
AnnaBridge 125:2e9cc70d1897 55 extern const PinMap PinMap_SPI_QUAD[];
AnnaBridge 125:2e9cc70d1897 56
AnnaBridge 125:2e9cc70d1897 57 /************PWM***************/
AnnaBridge 125:2e9cc70d1897 58 extern const PinMap PinMap_PWM[];
AnnaBridge 125:2e9cc70d1897 59
AnnaBridge 125:2e9cc70d1897 60 /************ADC***************/
AnnaBridge 125:2e9cc70d1897 61 extern const PinMap PinMap_ADC[];
AnnaBridge 125:2e9cc70d1897 62
AnnaBridge 125:2e9cc70d1897 63 #endif