Iftikhar Aziz / mbed-dev

Dependents:   LSS_Rev_1

Fork of mbed-dev by Umar Naeem

Committer:
<>
Date:
Thu Feb 02 17:01:33 2017 +0000
Revision:
157:ff67d9f36b67
This updates the lib to the mbed lib v135

Who changed what in which revision?

UserRevisionLine numberNew contents of line
<> 157:ff67d9f36b67 1 /*******************************************************************************
<> 157:ff67d9f36b67 2 * Copyright (C) 2016 Maxim Integrated Products, Inc., All Rights Reserved.
<> 157:ff67d9f36b67 3 *
<> 157:ff67d9f36b67 4 * Permission is hereby granted, free of charge, to any person obtaining a
<> 157:ff67d9f36b67 5 * copy of this software and associated documentation files (the "Software"),
<> 157:ff67d9f36b67 6 * to deal in the Software without restriction, including without limitation
<> 157:ff67d9f36b67 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
<> 157:ff67d9f36b67 8 * and/or sell copies of the Software, and to permit persons to whom the
<> 157:ff67d9f36b67 9 * Software is furnished to do so, subject to the following conditions:
<> 157:ff67d9f36b67 10 *
<> 157:ff67d9f36b67 11 * The above copyright notice and this permission notice shall be included
<> 157:ff67d9f36b67 12 * in all copies or substantial portions of the Software.
<> 157:ff67d9f36b67 13 *
<> 157:ff67d9f36b67 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
<> 157:ff67d9f36b67 15 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
<> 157:ff67d9f36b67 16 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
<> 157:ff67d9f36b67 17 * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES
<> 157:ff67d9f36b67 18 * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
<> 157:ff67d9f36b67 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
<> 157:ff67d9f36b67 20 * OTHER DEALINGS IN THE SOFTWARE.
<> 157:ff67d9f36b67 21 *
<> 157:ff67d9f36b67 22 * Except as contained in this notice, the name of Maxim Integrated
<> 157:ff67d9f36b67 23 * Products, Inc. shall not be used except as stated in the Maxim Integrated
<> 157:ff67d9f36b67 24 * Products, Inc. Branding Policy.
<> 157:ff67d9f36b67 25 *
<> 157:ff67d9f36b67 26 * The mere transfer of this software does not imply any licenses
<> 157:ff67d9f36b67 27 * of trade secrets, proprietary technology, copyrights, patents,
<> 157:ff67d9f36b67 28 * trademarks, maskwork rights, or any other form of intellectual
<> 157:ff67d9f36b67 29 * property whatsoever. Maxim Integrated Products, Inc. retains all
<> 157:ff67d9f36b67 30 * ownership rights.
<> 157:ff67d9f36b67 31 *******************************************************************************
<> 157:ff67d9f36b67 32 */
<> 157:ff67d9f36b67 33
<> 157:ff67d9f36b67 34 #ifndef MBED_PERIPHERALNAMES_H
<> 157:ff67d9f36b67 35 #define MBED_PERIPHERALNAMES_H
<> 157:ff67d9f36b67 36
<> 157:ff67d9f36b67 37 #include "cmsis.h"
<> 157:ff67d9f36b67 38
<> 157:ff67d9f36b67 39 #ifdef __cplusplus
<> 157:ff67d9f36b67 40 extern "C" {
<> 157:ff67d9f36b67 41 #endif
<> 157:ff67d9f36b67 42
<> 157:ff67d9f36b67 43 typedef enum {
<> 157:ff67d9f36b67 44 UART_0 = MXC_BASE_UART0,
<> 157:ff67d9f36b67 45 UART_1 = MXC_BASE_UART1,
<> 157:ff67d9f36b67 46 UART_2 = MXC_BASE_UART2,
<> 157:ff67d9f36b67 47 UART_3 = MXC_BASE_UART3,
<> 157:ff67d9f36b67 48 STDIO_UART = UART_1
<> 157:ff67d9f36b67 49 } UARTName;
<> 157:ff67d9f36b67 50
<> 157:ff67d9f36b67 51 typedef enum {
<> 157:ff67d9f36b67 52 I2C_0 = MXC_BASE_I2CM0,
<> 157:ff67d9f36b67 53 I2C_1 = MXC_BASE_I2CM1,
<> 157:ff67d9f36b67 54 I2C_2 = MXC_BASE_I2CM2
<> 157:ff67d9f36b67 55 } I2CName;
<> 157:ff67d9f36b67 56
<> 157:ff67d9f36b67 57 typedef enum {
<> 157:ff67d9f36b67 58 SPI_0 = MXC_BASE_SPIM0,
<> 157:ff67d9f36b67 59 SPI_1 = MXC_BASE_SPIM1,
<> 157:ff67d9f36b67 60 SPI_2 = MXC_BASE_SPIM2
<> 157:ff67d9f36b67 61 } SPIName;
<> 157:ff67d9f36b67 62
<> 157:ff67d9f36b67 63 typedef enum {
<> 157:ff67d9f36b67 64 PWM_0 = MXC_BASE_PT0,
<> 157:ff67d9f36b67 65 PWM_1 = MXC_BASE_PT1,
<> 157:ff67d9f36b67 66 PWM_2 = MXC_BASE_PT2,
<> 157:ff67d9f36b67 67 PWM_3 = MXC_BASE_PT3,
<> 157:ff67d9f36b67 68 PWM_4 = MXC_BASE_PT4,
<> 157:ff67d9f36b67 69 PWM_5 = MXC_BASE_PT5,
<> 157:ff67d9f36b67 70 PWM_6 = MXC_BASE_PT6,
<> 157:ff67d9f36b67 71 PWM_7 = MXC_BASE_PT7,
<> 157:ff67d9f36b67 72 PWM_8 = MXC_BASE_PT8,
<> 157:ff67d9f36b67 73 PWM_9 = MXC_BASE_PT9,
<> 157:ff67d9f36b67 74 PWM_10 = MXC_BASE_PT10,
<> 157:ff67d9f36b67 75 PWM_11 = MXC_BASE_PT11,
<> 157:ff67d9f36b67 76 PWM_12 = MXC_BASE_PT12,
<> 157:ff67d9f36b67 77 PWM_13 = MXC_BASE_PT13,
<> 157:ff67d9f36b67 78 PWM_14 = MXC_BASE_PT14,
<> 157:ff67d9f36b67 79 PWM_15 = MXC_BASE_PT15
<> 157:ff67d9f36b67 80 } PWMName;
<> 157:ff67d9f36b67 81
<> 157:ff67d9f36b67 82 typedef enum {
<> 157:ff67d9f36b67 83 ADC = MXC_BASE_ADC
<> 157:ff67d9f36b67 84 } ADCName;
<> 157:ff67d9f36b67 85
<> 157:ff67d9f36b67 86 #ifdef __cplusplus
<> 157:ff67d9f36b67 87 }
<> 157:ff67d9f36b67 88 #endif
<> 157:ff67d9f36b67 89
<> 157:ff67d9f36b67 90 #endif