mbed library sources

Dependents:   Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more

Superseded

This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

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

Committer:
mbed_official
Date:
Fri Sep 04 09:30:10 2015 +0100
Revision:
619:034e698bc035
Child:
631:ff681937ffd8
Synchronized with git revision 92d1bfad30082571776c810a56fd471d30514ccf

Full URL: https://github.com/mbedmicro/mbed/commit/92d1bfad30082571776c810a56fd471d30514ccf/

Change directory structure and move files.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 619:034e698bc035 1 /* mbed Microcontroller Library
mbed_official 619:034e698bc035 2 *******************************************************************************
mbed_official 619:034e698bc035 3 * Copyright (c) 2015 WIZnet Co.,Ltd. All rights reserved.
mbed_official 619:034e698bc035 4 * All rights reserved.
mbed_official 619:034e698bc035 5 *
mbed_official 619:034e698bc035 6 * Redistribution and use in source and binary forms, with or without
mbed_official 619:034e698bc035 7 * modification, are permitted provided that the following conditions are met:
mbed_official 619:034e698bc035 8 *
mbed_official 619:034e698bc035 9 * 1. Redistributions of source code must retain the above copyright notice,
mbed_official 619:034e698bc035 10 * this list of conditions and the following disclaimer.
mbed_official 619:034e698bc035 11 * 2. Redistributions in binary form must reproduce the above copyright notice,
mbed_official 619:034e698bc035 12 * this list of conditions and the following disclaimer in the documentation
mbed_official 619:034e698bc035 13 * and/or other materials provided with the distribution.
mbed_official 619:034e698bc035 14 * 3. Neither the name of ARM Limited nor the names of its contributors
mbed_official 619:034e698bc035 15 * may be used to endorse or promote products derived from this software
mbed_official 619:034e698bc035 16 * without specific prior written permission.
mbed_official 619:034e698bc035 17 *
mbed_official 619:034e698bc035 18 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
mbed_official 619:034e698bc035 19 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
mbed_official 619:034e698bc035 20 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
mbed_official 619:034e698bc035 21 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
mbed_official 619:034e698bc035 22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
mbed_official 619:034e698bc035 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
mbed_official 619:034e698bc035 24 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
mbed_official 619:034e698bc035 25 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
mbed_official 619:034e698bc035 26 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
mbed_official 619:034e698bc035 27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
mbed_official 619:034e698bc035 28 *******************************************************************************
mbed_official 619:034e698bc035 29 */
mbed_official 619:034e698bc035 30
mbed_official 619:034e698bc035 31 #ifndef MBED_PERIPHERALNAMES_H
mbed_official 619:034e698bc035 32 #define MBED_PERIPHERALNAMES_H
mbed_official 619:034e698bc035 33
mbed_official 619:034e698bc035 34 #include "cmsis.h"
mbed_official 619:034e698bc035 35 #include "PinNames.h"
mbed_official 619:034e698bc035 36 #ifdef __cplusplus
mbed_official 619:034e698bc035 37 extern "C" {
mbed_official 619:034e698bc035 38 #endif
mbed_official 619:034e698bc035 39
mbed_official 619:034e698bc035 40 typedef enum {
mbed_official 619:034e698bc035 41 ADC_0 = (int)W7500x_ADC_BASE
mbed_official 619:034e698bc035 42 } ADCName;
mbed_official 619:034e698bc035 43
mbed_official 619:034e698bc035 44 typedef enum {
mbed_official 619:034e698bc035 45 UART_0 = (int)W7500x_UART0_BASE,
mbed_official 619:034e698bc035 46 UART_1 = (int)W7500x_UART1_BASE
mbed_official 619:034e698bc035 47 } UARTName;
mbed_official 619:034e698bc035 48
mbed_official 619:034e698bc035 49
mbed_official 619:034e698bc035 50 typedef enum {
mbed_official 619:034e698bc035 51 SPI_0 = (int)SSP0_BASE,
mbed_official 619:034e698bc035 52 SPI_1 = (int)SSP1_BASE
mbed_official 619:034e698bc035 53 } SPIName;
mbed_official 619:034e698bc035 54
mbed_official 619:034e698bc035 55 typedef enum {
mbed_official 619:034e698bc035 56 I2C_0 = (int)I2C0_BASE,
mbed_official 619:034e698bc035 57 I2C_1 = (int)I2C1_BASE
mbed_official 619:034e698bc035 58 } I2CName;
mbed_official 619:034e698bc035 59
mbed_official 619:034e698bc035 60 typedef enum {
mbed_official 619:034e698bc035 61 PWM_0 = (int)PWM_CH0_BASE,
mbed_official 619:034e698bc035 62 PWM_1 = (int)PWM_CH1_BASE,
mbed_official 619:034e698bc035 63 PWM_2 = (int)PWM_CH2_BASE,
mbed_official 619:034e698bc035 64 PWM_3 = (int)PWM_CH3_BASE,
mbed_official 619:034e698bc035 65 PWM_4 = (int)PWM_CH4_BASE,
mbed_official 619:034e698bc035 66 PWM_5 = (int)PWM_CH5_BASE,
mbed_official 619:034e698bc035 67 PWM_6 = (int)PWM_CH6_BASE,
mbed_official 619:034e698bc035 68 PWM_7 = (int)PWM_CH7_BASE
mbed_official 619:034e698bc035 69 } PWMName;
mbed_official 619:034e698bc035 70
mbed_official 619:034e698bc035 71 #ifdef __cplusplus
mbed_official 619:034e698bc035 72 }
mbed_official 619:034e698bc035 73 #endif
mbed_official 619:034e698bc035 74
mbed_official 619:034e698bc035 75 #endif