mbed library sources. Supersedes mbed-src.

Fork of mbed-dev by mbed official

Committer:
mbed_official
Date:
Fri Jan 15 07:45:16 2016 +0000
Revision:
50:a417edff4437
Child:
144:ef7eb2e8f9f7
Synchronized with git revision 6010f32619bfcbb01cc73747d4ff9040863482d9

Full URL: https://github.com/mbedmicro/mbed/commit/6010f32619bfcbb01cc73747d4ff9040863482d9/

Remove doubling of buffer size in realiseEndpoint()

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 50:a417edff4437 1 /***************************************************************************//**
mbed_official 50:a417edff4437 2 * @file PortNames.h
mbed_official 50:a417edff4437 3 *******************************************************************************
mbed_official 50:a417edff4437 4 * @section License
mbed_official 50:a417edff4437 5 * <b>(C) Copyright 2015 Silicon Labs, http://www.silabs.com</b>
mbed_official 50:a417edff4437 6 *******************************************************************************
mbed_official 50:a417edff4437 7 *
mbed_official 50:a417edff4437 8 * Permission is granted to anyone to use this software for any purpose,
mbed_official 50:a417edff4437 9 * including commercial applications, and to alter it and redistribute it
mbed_official 50:a417edff4437 10 * freely, subject to the following restrictions:
mbed_official 50:a417edff4437 11 *
mbed_official 50:a417edff4437 12 * 1. The origin of this software must not be misrepresented; you must not
mbed_official 50:a417edff4437 13 * claim that you wrote the original software.
mbed_official 50:a417edff4437 14 * 2. Altered source versions must be plainly marked as such, and must not be
mbed_official 50:a417edff4437 15 * misrepresented as being the original software.
mbed_official 50:a417edff4437 16 * 3. This notice may not be removed or altered from any source distribution.
mbed_official 50:a417edff4437 17 *
mbed_official 50:a417edff4437 18 * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Labs has no
mbed_official 50:a417edff4437 19 * obligation to support this Software. Silicon Labs is providing the
mbed_official 50:a417edff4437 20 * Software "AS IS", with no express or implied warranties of any kind,
mbed_official 50:a417edff4437 21 * including, but not limited to, any implied warranties of merchantability
mbed_official 50:a417edff4437 22 * or fitness for any particular purpose or warranties against infringement
mbed_official 50:a417edff4437 23 * of any proprietary rights of a third party.
mbed_official 50:a417edff4437 24 *
mbed_official 50:a417edff4437 25 * Silicon Labs will not be liable for any consequential, incidental, or
mbed_official 50:a417edff4437 26 * special damages, or any other relief, or for any claim by any third party,
mbed_official 50:a417edff4437 27 * arising from your use of this Software.
mbed_official 50:a417edff4437 28 *
mbed_official 50:a417edff4437 29 ******************************************************************************/
mbed_official 50:a417edff4437 30 #ifndef MBED_PORTNAMES_H
mbed_official 50:a417edff4437 31 #define MBED_PORTNAMES_H
mbed_official 50:a417edff4437 32
mbed_official 50:a417edff4437 33 #include "em_gpio.h"
mbed_official 50:a417edff4437 34
mbed_official 50:a417edff4437 35 #ifdef __cplusplus
mbed_official 50:a417edff4437 36 extern "C" {
mbed_official 50:a417edff4437 37 #endif
mbed_official 50:a417edff4437 38
mbed_official 50:a417edff4437 39 typedef enum {
mbed_official 50:a417edff4437 40 PortA = gpioPortA, /**< Port A */
mbed_official 50:a417edff4437 41 PortB = gpioPortB, /**< Port B */
mbed_official 50:a417edff4437 42 PortC = gpioPortC, /**< Port C */
mbed_official 50:a417edff4437 43 PortD = gpioPortD, /**< Port D */
mbed_official 50:a417edff4437 44 PortF = gpioPortF /**< Port F */
mbed_official 50:a417edff4437 45 } PortName;
mbed_official 50:a417edff4437 46
mbed_official 50:a417edff4437 47 #ifdef __cplusplus
mbed_official 50:a417edff4437 48 }
mbed_official 50:a417edff4437 49 #endif
mbed_official 50:a417edff4437 50 #endif