1. 21 Jul, 2009 1 commit
    • Dean Camera's avatar
      Added new USB_DeviceState variable to keep track of the current Device mode USB state. · e071f389
      Dean Camera authored
      Added new Endpoint_ClearStatusStage() convenience function to assist with the status stages of control transfers.
      
      Removed vague USB_IsConnected global - test USB_DeviceState or USB_HostState explicitly to gain previous functionality.
      
      Removed USB_IsSuspended global - test USB_DeviceState against DEVICE_STATE_Suspended instead.
      
      Fixed possible enumeration errors from spinloops which may fail to exit if the USB connection is severed before the exit condition becomes true.
      e071f389
  2. 20 Jul, 2009 2 commits
  3. 19 Jul, 2009 1 commit
  4. 16 Jul, 2009 2 commits
  5. 15 Jul, 2009 1 commit
    • Dean Camera's avatar
      Fix HID class device driver -- if a SetIDle request is issued with the LSB of... · f85a53a3
      Dean Camera authored
      Fix HID class device driver -- if a SetIDle request is issued with the LSB of wValue set to zero, the idle period must be set for all HID interfaces.
      
      Fix Keyboard and Mouse demos, Idle period is now multiplied by 4 as the period is read into and sent out of the device to ensure it is always stored as a multiple of 1ms. Fixes Keyboard demo using an initial Idle period of 2s rather than 500ms (thanks to Brian Dickman).
      
      Move out the internal device serial descriptor reading routine into a seperate static function, rather than being part of USB_Device_GetDescriptor.
      f85a53a3
  6. 13 Jul, 2009 4 commits
  7. 28 Jun, 2009 1 commit
    • Dean Camera's avatar
      Added const modifiers to device mode class drivers. · f1076ac4
      Dean Camera authored
      Added parameter directions to function parameter documentation.
      
      Added new experimental FAST_STREAM_FUNCTIONS compile time option to speed up stream transfers at the expense of a higher FLASH consumption (needs testing to verify improved throughput).
      f1076ac4
  8. 26 Jun, 2009 1 commit
    • Dean Camera's avatar
      Optimize vendor/product description string display code in MassStorageHost. · 1756087c
      Dean Camera authored
      Remove all Host mode class demos other than the CDCHost class driver demo, so that they can be re-added as they are made once the host mode class framework is designed.
      
      Fixed USB_Host_SendControlRequest() not re-suspending the USB bus when initial device ready-wait fails.
      
      Fixed USB Pad regulator not being disabled on some AVR models when the USB_OPT_REG_DISABLED option is used.
      1756087c
  9. 23 Jun, 2009 3 commits
  10. 22 Jun, 2009 1 commit
  11. 21 Jun, 2009 3 commits
  12. 20 Jun, 2009 1 commit
  13. 19 Jun, 2009 1 commit
  14. 18 Jun, 2009 1 commit
    • Dean Camera's avatar
      Added new USB_Host_ClearPipeStall() convenience function to clear a stall... · e338cb6f
      Dean Camera authored
      Added new USB_Host_ClearPipeStall() convenience function to clear a stall condition on an attached device's endpoint.
      
      Added new USB_Host_GetDeviceDescriptor() convenience function to retrieve the attached device's Device descriptor.
      
      Make Pipe_ConfigurePipe() mask the given endpoint number against PIPE_EPNUM_MASK to ensure the endpoint IN direction bit is cleared to prevent endpoint type corruption.
      
      Fix documentation mentioning Pipe_GetCurrentToken() function when real name is Pipe_GetPipeToken().
      e338cb6f
  15. 16 Jun, 2009 2 commits
  16. 14 Jun, 2009 2 commits
  17. 08 Jun, 2009 1 commit
  18. 02 Jun, 2009 1 commit
    • Dean Camera's avatar
      Removed new Start of Frame event from the library; performance suffered far... · 7c5444b8
      Dean Camera authored
      Removed new Start of Frame event from the library; performance suffered far too much and it was only useful in one of the standard classes (HID). Altered HID demos to use the previous method of tracking millisecond periods via a hardware timer rather than the SOF events.
      
      Fixed MIDI class driver blocking on unread events to the host.
      7c5444b8
  19. 01 Jun, 2009 1 commit
    • Dean Camera's avatar
      Commit of new class abstraction APIs for all device demos other than the MIDI... · d1e52660
      Dean Camera authored
      Commit of new class abstraction APIs for all device demos other than the MIDI demo - not documented yet.
      
      Removed scheduler and memory allocation libraries.
      
      Added new EVENT_USB_StartOfFrame event in the library to indicate the start of each USB frame (when generated).
      
      Removed Tx interrupt from the USBtoSerial demo; now sends characters via polling to ensure more time for the Rx interrupt.
      d1e52660
  20. 26 May, 2009 2 commits
  21. 22 May, 2009 1 commit
  22. 19 May, 2009 1 commit
  23. 18 May, 2009 1 commit
    • Dean Camera's avatar
      Rewritten event system to remove all macros, to make user code clearer. · 2ee9fc70
      Dean Camera authored
      Fixed incorrect ENDPOINT_EPNUM_MASK mask preventing endpoints above EP3 from being selected (thanks to Jonathan Oakley).
      
      Removed STREAM_CALLBACK() macro - callbacks now use regular function definitions to clarify user code.
      
      Removed DESCRIPTOR_COMPARATOR() macro - comparators should now use regular function definitions to clarify user code.
      2ee9fc70
  24. 15 May, 2009 1 commit
  25. 14 May, 2009 1 commit
  26. 13 May, 2009 2 commits
  27. 12 May, 2009 1 commit