efm32gg_usb_diep.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /**************************************************************************//**
  2. * @file
  3. * @brief efm32gg_usb_diep Register and Bit Field definitions
  4. * @author Energy Micro AS
  5. * @version 3.0.0
  6. ******************************************************************************
  7. * @section License
  8. * <b>(C) Copyright 2012 Energy Micro AS, http://www.energymicro.com</b>
  9. ******************************************************************************
  10. *
  11. * Permission is granted to anyone to use this software for any purpose,
  12. * including commercial applications, and to alter it and redistribute it
  13. * freely, subject to the following restrictions:
  14. *
  15. * 1. The origin of this software must not be misrepresented; you must not
  16. * claim that you wrote the original software.
  17. * 2. Altered source versions must be plainly marked as such, and must not be
  18. * misrepresented as being the original software.
  19. * 3. This notice may not be removed or altered from any source distribution.
  20. *
  21. * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Energy Micro AS has no
  22. * obligation to support this Software. Energy Micro AS is providing the
  23. * Software "AS IS", with no express or implied warranties of any kind,
  24. * including, but not limited to, any implied warranties of merchantability
  25. * or fitness for any particular purpose or warranties against infringement
  26. * of any proprietary rights of a third party.
  27. *
  28. * Energy Micro AS will not be liable for any consequential, incidental, or
  29. * special damages, or any other relief, or for any claim by any third party,
  30. * arising from your use of this Software.
  31. *
  32. *****************************************************************************/
  33. /**************************************************************************//**
  34. * @brief USB_DIEP EFM32GG USB DIEP
  35. *****************************************************************************/
  36. typedef struct
  37. {
  38. __IO uint32_t CTL; /**< Device IN Endpoint x+1 Control Register */
  39. uint32_t RESERVED0[1]; /**< Reserved for future use **/
  40. __IO uint32_t INT; /**< Device IN Endpoint x+1 Interrupt Register */
  41. uint32_t RESERVED1[1]; /**< Reserved for future use **/
  42. __IO uint32_t TSIZ; /**< Device IN Endpoint x+1 Transfer Size Register */
  43. __IO uint32_t DMAADDR; /**< Device IN Endpoint x+1 DMA Address Register */
  44. __I uint32_t TXFSTS; /**< Device IN Endpoint x+1 Transmit FIFO Status Register */
  45. uint32_t RESERVED2[1]; /**< Reserved future */
  46. } USB_DIEP_TypeDef;