usbdata.c 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. //*****************************************************************************
  2. //
  3. // usbdata.c - Data definitions related to USB stack.
  4. //
  5. // Copyright (c) 2008-2010 Texas Instruments Incorporated. All rights reserved.
  6. // Software License Agreement
  7. //
  8. // Texas Instruments (TI) is supplying this software for use solely and
  9. // exclusively on TI's microcontroller products. The software is owned by
  10. // TI and/or its suppliers, and is protected under applicable copyright
  11. // laws. You may not combine this software with "viral" open-source
  12. // software in order to form a larger program.
  13. //
  14. // THIS SOFTWARE IS PROVIDED "AS IS" AND WITH ALL FAULTS.
  15. // NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT
  16. // NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  17. // A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. TI SHALL NOT, UNDER ANY
  18. // CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
  19. // DAMAGES, FOR ANY REASON WHATSOEVER.
  20. //
  21. // This is part of AM1808 Sitaraware USB Library and reused from revision 6288
  22. // of the Stellaris USB Library.
  23. //
  24. //*****************************************************************************
  25. #include "hw_types.h"
  26. #include "usblib.h"
  27. //*****************************************************************************
  28. //
  29. // Flag to indicate whether or not we have been initialized.
  30. //
  31. //*****************************************************************************
  32. tUSBInstanceObject g_USBInstance[USB_NUM_INSTANCE];
  33. tUSBPerfInfo g_USBPerfInfo[5000];
  34. unsigned int ulPerfInfoCounter=0;
  35. unsigned int fReadEnabled=0;
  36. unsigned int fWriteEnabled=0;
  37. unsigned int fUSBDisconnected = 0;
  38. //*****************************************************************************
  39. //
  40. // Close the Doxygen group.
  41. //! @}
  42. //
  43. //*****************************************************************************