The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Committer:
AnnaBridge
Date:
Fri May 26 12:30:20 2017 +0100
Revision:
143:86740a56073b
Parent:
129:0ab6a29f35bf
Release 143 of the mbed library.

Who changed what in which revision?

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