ON Semiconductor / mbed-os

Dependents:   mbed-TFT-example-NCS36510 mbed-Accelerometer-example-NCS36510 mbed-Accelerometer-example-NCS36510

Committer:
jacobjohnson
Date:
Mon Feb 27 17:45:05 2017 +0000
Revision:
1:f30bdcd2b33b
Parent:
0:098463de4c5d
changed the inputscale from 1 to 7 in analogin_api.c.  This will need to be changed later, and accessed from the main level, but for now this allows the  adc to read a value from 0 to 3.7V, instead of just up to 1V.;

Who changed what in which revision?

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