Skip to content
Snippets Groups Projects
  1. Jul 21, 2009
    • 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. Jul 16, 2009
  3. Jul 15, 2009
    • 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
  4. Jul 13, 2009
  5. Jun 21, 2009
  6. Jun 20, 2009
  7. Jun 14, 2009
  8. May 22, 2009
  9. May 18, 2009
    • 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
  10. May 13, 2009
  11. May 10, 2009
  12. May 07, 2009
  13. May 06, 2009
  14. Apr 23, 2009
  15. Apr 22, 2009
    • Dean Camera's avatar
      USB_HostRequest renamed to USB_ControlRequest, entire control request header... · d860e9e8
      Dean Camera authored
      USB_HostRequest renamed to USB_ControlRequest, entire control request header is now read into USB_ControlRequest in Device mode rather than having the library pass only partially read header data to the application.
      
      The USB_UnhandledControlPacket event has had its parameters removed, in favour of accessing the new USB_ControlRequest structure.
      
      The Endpoint control stream functions now correctly send a ZLP to the host when less data than requested is sent.
      d860e9e8
  16. Apr 21, 2009
  17. Apr 16, 2009
    • 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
  18. Apr 05, 2009
  19. Mar 11, 2009
  20. Feb 23, 2009
Loading