1. 21 Sep, 2010 1 commit
  2. 05 Sep, 2010 1 commit
    • Dean Camera's avatar
      Added new USB_Device_GetFrameNumber() and USB_Host_GetFrameNumber() functions... · 18cbd316
      Dean Camera authored
      Added new USB_Device_GetFrameNumber() and USB_Host_GetFrameNumber() functions to retrieve the current USB frame number.
      
      Added new USB_Host_EnableSOFEvents(), USB_Host_DisableSOFEvents() and EVENT_USB_Host_StartOfFrame() for the user application handling of USB Start of Frame events while in USB Host mode.
      
      Changed over all demos, drivers and internal functions to use the current frame number over the Start of Frame flag where possible to free up the Start of Frame flag for interrupt use in the user application.
      18cbd316
  3. 04 Sep, 2010 1 commit
  4. 03 Sep, 2010 1 commit
  5. 22 Jul, 2010 1 commit
  6. 21 Jul, 2010 1 commit
  7. 17 Jun, 2010 1 commit
  8. 16 Jun, 2010 1 commit
  9. 29 May, 2010 1 commit
  10. 08 May, 2010 1 commit
  11. 28 Apr, 2010 1 commit
  12. 29 Mar, 2010 1 commit
  13. 09 Mar, 2010 1 commit
  14. 24 Feb, 2010 2 commits
  15. 23 Feb, 2010 2 commits
  16. 11 Feb, 2010 1 commit
  17. 30 Dec, 2009 1 commit
  18. 28 Dec, 2009 1 commit
  19. 06 Dec, 2009 1 commit
  20. 06 Nov, 2009 1 commit
  21. 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
  22. 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
  23. 20 Jul, 2009 1 commit
  24. 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
  25. 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
  26. 19 Jun, 2009 1 commit
  27. 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
  28. 16 Jun, 2009 1 commit
  29. 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
  30. 13 May, 2009 1 commit
  31. 07 May, 2009 1 commit
  32. 04 May, 2009 1 commit
    • Dean Camera's avatar
      Changed PIPE_CONTROLPIPE_DEFAULT_SIZE from 8 to 64 to try to prevent problems... · 253deb99
      Dean Camera authored
      Changed PIPE_CONTROLPIPE_DEFAULT_SIZE from 8 to 64 to try to prevent problems with faulty devices which do not respect the given wLength value when reading in the device descriptor.
      
      Further documentation improvements - removed file view from the main library documentation, replaced file references in the documentation with group references.
      253deb99
  33. 22 Apr, 2009 1 commit
  34. 19 Apr, 2009 1 commit
    • Dean Camera's avatar
      Fixed incorrect HID interface class and subclass values in the Mouse and... · 663f449c
      Dean Camera authored
      Fixed incorrect HID interface class and subclass values in the Mouse and KeyboardMouse demos (thanks to Brian Dickman).
      
      Capitolised the "Descriptor_Search" and "Descriptor_Search_Comp" prefixes of the values in the DSearch_Return_ErrorCodes_t and DSearch_Comp_Return_ErrorCodes_t enums.
      
      Minor documentation improvements.
      663f449c
  35. 17 Apr, 2009 1 commit
  36. 16 Apr, 2009 1 commit
    • Dean Camera's avatar
      Fixed GenericHIDHost demo report write routine incorrect for control type... · 8f6b4ddf
      Dean Camera authored
      Fixed GenericHIDHost demo report write routine incorrect for control type requests (thanks to Andrei Krainev).
      
      Removed Endpoint_ClearCurrentBank() and Pipe_ClearCurrentBank() in favour of new Endpoint_ClearIN(), Endpoint_ClearOUT(), Endpoint_ClearControlIN(), Endpoint_ClearControlOUT(), Pipe_ClearIN(), Pipe_ClearOUT(), Pipe_ClearControlIN() and Pipe_ClearControlOUT() macros (done to allow for the detection of packets of zero length).
      
      Renamed *_ReadWriteAllowed() macros to *_IsReadWriteAllowed() to remain consistent with the rest of the LUFA API.
      
      Endpoint_IsSetupReceived() macro has been renamed to Endpoint_IsSETUPReceived(), Endpoint_ClearSetupReceived() macro has been renamed to Endpoint_ClearControlSETUP(), the Pipe_IsSetupSent() macro has been renamed to Pipe_IsSETUPSent() and the Pipe_ClearSetupSent() macro is no longer applicable and should be removed - changes made to compliment the new endpoint and pipe bank management API.
      
      Updated all demos, bootloaders and projects to use the new endpoint and pipe management APIs (thanks to Roman Thiel).
      
      Updated library doxygen documentation, added groups, changed documentation macro functions to real functions for clarity.
      
      Removed old endpoint and pipe aliased read/write/discard routines which did not have an explicit endian specifier for clarity.
      
      Removed the ButtLoadTag.h header file, as no one used for its intended purpose anyway.
      8f6b4ddf
  37. 05 Apr, 2009 1 commit
  38. 01 Apr, 2009 1 commit