1. 14 Sep, 2012 1 commit
  2. 13 May, 2012 1 commit
  3. 04 Feb, 2012 2 commits
  4. 23 Dec, 2011 1 commit
  5. 08 Jul, 2011 2 commits
    • Dean Camera's avatar
    • Dean Camera's avatar
      Updated all host mode demos and projects to use the... · 137ce280
      Dean Camera authored
      Updated all host mode demos and projects to use the EVENT_USB_Host_DeviceEnumerationComplete() event callback for device configuration instead of manual host state machine manipulations in the main application task.
      
      Added new USB_Host_ConfigurationNumber global variable to indicate the selected configuration in an attached device.
      
      Renamed global state variables that are specific to a certain USB mode to clearly indicate which mode the variable relates to, by changing the USB_* prefix to USB_Device_* or USB_Host_*.
      
      Removed the HOST_STATE_WaitForDeviceRemoval and HOST_STATE_Suspended host state machine states, as these are no longer required.
      
      Altered the USB_Host_SetDeviceConfiguration() function to update the new USB_Host_ConfigurationNumber global as required.
      
      Moved out the Host mode standard request convenience/helper functions from the architecture specific Host driver files to the architecture agnostic HostStandardReq.c driver file.
      137ce280
  6. 16 Jun, 2011 1 commit
  7. 09 Jun, 2011 1 commit
    • Dean Camera's avatar
      Add new Audio Class Driver Host demos. · 1f1d0710
      Dean Camera authored
      Fix errors in the new Audio Host mode Class Driver, which would have prevented data from being sent or received properly by the device.
      
      Add microphone/square wave generation compile time switch to the Low Level AudioOutput Host demo.
      1f1d0710
  8. 06 Jun, 2011 2 commits
  9. 01 Jun, 2011 1 commit
  10. 30 May, 2011 1 commit
  11. 29 May, 2011 1 commit
  12. 30 Jan, 2011 2 commits
  13. 10 Jan, 2011 1 commit
    • Dean Camera's avatar
      Altered all endpoint/pipe stream transfers so that the new BytesProcessed... · f555ad7c
      Dean Camera authored
      Altered all endpoint/pipe stream transfers so that the new BytesProcessed parameter now points to a location where the number of bytes in the transfer that have been completed can be stored (or NULL if entire transaction should be performed in one chunk).
      
      Added new Endpoint_Null_Stream() and Pipe_Null_stream() functions.
      
      Removed the NO_STREAM_CALLBACKS compile time option due to the new partial stream transfer feature replacing it.
      
      Fixed errors in the incomplete Test and Measurement device demo preventing proper operation (thanks to Pavel Plotnikov).
      f555ad7c
  14. 01 Jan, 2011 1 commit
  15. 28 Oct, 2010 1 commit
  16. 24 Oct, 2010 1 commit
  17. 13 Oct, 2010 1 commit
  18. 30 Sep, 2010 1 commit
    • Dean Camera's avatar
      Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction... · 158afe91
      Dean Camera authored
      Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction on the configuration order instead to ensure maximum reliability.
      
      Altered all low level device and host mode demos to ensure that endpoints and pipes are configured in ascending order properly.
      
      Rewrote all low level host mode demos' configuration descriptor parser code to ensure that pipes are enumerated in ascending order, and to ensure maximum compatibility with devices.
      
      Incremented all device mode demo's device descriptor revision numbers to ensure that any descriptor changes are re-fetched on machines which have enumerated previous versions.
      158afe91
  19. 21 Jul, 2010 1 commit
  20. 08 May, 2010 1 commit
  21. 28 Apr, 2010 1 commit
  22. 30 Dec, 2009 1 commit
  23. 28 Dec, 2009 1 commit
  24. 08 Oct, 2009 1 commit
  25. 07 Sep, 2009 1 commit
  26. 06 Aug, 2009 1 commit
    • Dean Camera's avatar
      Make Endpoint control transfers more reliable; early-abort when an incomplete... · c830fcb0
      Dean Camera authored
      Make Endpoint control transfers more reliable; early-abort when an incomplete packet is sent from the host (indicating end of transfer), add check for control reads to ensure that no more than wLength bytes are read from the interface.
      
      Condense sequential printf_P/puts_P calls to single printf_P calls for size and clarity.
      c830fcb0
  27. 05 Aug, 2009 1 commit
    • Dean Camera's avatar
      Renamed all library events to properly seperate out Device and Host mode... · c5038f1b
      Dean Camera authored
      Renamed all library events to properly seperate out Device and Host mode events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only.
      
      Remove VBUS events - not needed as the library takes care of VBUS detection and feedback on supported AVRs via the USB_Device_Connected and USB_Device_Disconnected events.
      
      Fixed incorrect Host state assignment in the incomplete BluetoothHost demo.
      c5038f1b
  28. 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
  29. 19 Jul, 2009 2 commits
  30. 13 Jul, 2009 1 commit
    • Dean Camera's avatar
      Added new HOST_STATE_WaitForDeviceRemoval host state machine state for... · 0fcbe22c
      Dean Camera authored
      Added new HOST_STATE_WaitForDeviceRemoval host state machine state for non-blocking disabling of device communications until the device has been removed (for use when an error occurs or communications with the device have completed). Changed over all host mode demos to use the new state.
      
      Added verbose documentation for each of the USB Host state machine states.
      0fcbe22c
  31. 16 Jun, 2009 1 commit
  32. 08 Jun, 2009 1 commit
  33. 05 Jun, 2009 1 commit
  34. 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
  35. 12 May, 2009 1 commit