b luo / mbed-dev

Fork of mbed-dev by mbed official

Committer:
mbed_official
Date:
Fri Jan 15 07:45:16 2016 +0000
Revision:
50:a417edff4437
Parent:
0:9b334a45a8ff
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
bogdanm 0:9b334a45a8ff 1 /**************************************************************************//**
bogdanm 0:9b334a45a8ff 2 * @file efm32gg_usb_doep.h
bogdanm 0:9b334a45a8ff 3 * @brief EFM32GG_USB_DOEP register and bit field definitions
mbed_official 50:a417edff4437 4 * @version 4.2.0
bogdanm 0:9b334a45a8ff 5 ******************************************************************************
bogdanm 0:9b334a45a8ff 6 * @section License
mbed_official 50:a417edff4437 7 * <b>Copyright 2015 Silicon Laboratories, Inc. http://www.silabs.com</b>
bogdanm 0:9b334a45a8ff 8 ******************************************************************************
bogdanm 0:9b334a45a8ff 9 *
bogdanm 0:9b334a45a8ff 10 * Permission is granted to anyone to use this software for any purpose,
bogdanm 0:9b334a45a8ff 11 * including commercial applications, and to alter it and redistribute it
bogdanm 0:9b334a45a8ff 12 * freely, subject to the following restrictions:
bogdanm 0:9b334a45a8ff 13 *
bogdanm 0:9b334a45a8ff 14 * 1. The origin of this software must not be misrepresented; you must not
bogdanm 0:9b334a45a8ff 15 * claim that you wrote the original software.@n
bogdanm 0:9b334a45a8ff 16 * 2. Altered source versions must be plainly marked as such, and must not be
bogdanm 0:9b334a45a8ff 17 * misrepresented as being the original software.@n
bogdanm 0:9b334a45a8ff 18 * 3. This notice may not be removed or altered from any source distribution.
bogdanm 0:9b334a45a8ff 19 *
bogdanm 0:9b334a45a8ff 20 * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc.
bogdanm 0:9b334a45a8ff 21 * has no obligation to support this Software. Silicon Laboratories, Inc. is
bogdanm 0:9b334a45a8ff 22 * providing the Software "AS IS", with no express or implied warranties of any
bogdanm 0:9b334a45a8ff 23 * kind, including, but not limited to, any implied warranties of
bogdanm 0:9b334a45a8ff 24 * merchantability or fitness for any particular purpose or warranties against
bogdanm 0:9b334a45a8ff 25 * infringement of any proprietary rights of a third party.
bogdanm 0:9b334a45a8ff 26 *
bogdanm 0:9b334a45a8ff 27 * Silicon Laboratories, Inc. will not be liable for any consequential,
bogdanm 0:9b334a45a8ff 28 * incidental, or special damages, or any other relief, or for any claim by
bogdanm 0:9b334a45a8ff 29 * any third party, arising from your use of this Software.
bogdanm 0:9b334a45a8ff 30 *
bogdanm 0:9b334a45a8ff 31 *****************************************************************************/
bogdanm 0:9b334a45a8ff 32 /**************************************************************************//**
mbed_official 50:a417edff4437 33 * @addtogroup Parts
mbed_official 50:a417edff4437 34 * @{
mbed_official 50:a417edff4437 35 ******************************************************************************/
mbed_official 50:a417edff4437 36 /**************************************************************************//**
bogdanm 0:9b334a45a8ff 37 * @brief USB_DOEP EFM32GG USB DOEP
bogdanm 0:9b334a45a8ff 38 *****************************************************************************/
bogdanm 0:9b334a45a8ff 39 typedef struct
bogdanm 0:9b334a45a8ff 40 {
bogdanm 0:9b334a45a8ff 41 __IO uint32_t CTL; /**< Device OUT Endpoint x+1 Control Register */
bogdanm 0:9b334a45a8ff 42 uint32_t RESERVED0[1]; /**< Reserved for future use **/
bogdanm 0:9b334a45a8ff 43 __IO uint32_t INT; /**< Device OUT Endpoint x+1 Interrupt Register */
bogdanm 0:9b334a45a8ff 44 uint32_t RESERVED1[1]; /**< Reserved for future use **/
bogdanm 0:9b334a45a8ff 45 __IO uint32_t TSIZ; /**< Device OUT Endpoint x+1 Transfer Size Register */
bogdanm 0:9b334a45a8ff 46 __IO uint32_t DMAADDR; /**< Device OUT Endpoint x+1 DMA Address Register */
bogdanm 0:9b334a45a8ff 47 uint32_t RESERVED2[2]; /**< Reserved future */
bogdanm 0:9b334a45a8ff 48 } USB_DOEP_TypeDef;
bogdanm 0:9b334a45a8ff 49
mbed_official 50:a417edff4437 50 /** @} End of group Parts */
mbed_official 50:a417edff4437 51
mbed_official 50:a417edff4437 52