1. 28 Jul, 2009 1 commit
  2. 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
  3. 16 Jul, 2009 2 commits
  4. 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
  5. 13 Jul, 2009 1 commit
  6. 21 Jun, 2009 3 commits
  7. 20 Jun, 2009 1 commit
  8. 14 Jun, 2009 1 commit
  9. 22 May, 2009 1 commit
  10. 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
  11. 13 May, 2009 1 commit
  12. 10 May, 2009 1 commit
  13. 07 May, 2009 1 commit
  14. 06 May, 2009 2 commits
  15. 23 Apr, 2009 1 commit
  16. 22 Apr, 2009 1 commit
    • 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
  17. 21 Apr, 2009 1 commit
  18. 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
  19. 05 Apr, 2009 1 commit
  20. 11 Mar, 2009 1 commit
  21. 23 Feb, 2009 1 commit