lol

Dependencies:   MMA8451Q

Fork of Application by Mateusz Kowalik

Committer:
danix
Date:
Sun Jan 21 22:28:30 2018 +0000
Revision:
12:3a30cdffa27c
Parent:
10:41552d038a69
Working acelerometer and mouse

Who changed what in which revision?

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