1. 22 Sep, 2009 1 commit
  2. 21 Sep, 2009 2 commits
  3. 09 Sep, 2009 1 commit
    • Dean Camera's avatar
      Change HID report parser so that it can calculate and record the sizes (IN,... · 524decde
      Dean Camera authored
      Change HID report parser so that it can calculate and record the sizes (IN, OUT and FEATURE) of each report within the device, by report ID. This will be required in host mode, so that the host can determine how many bytes of data must be read in for each report.
      
      Add to MouseHostWithParser and KeyboardHostWithParser demos to print out the report sizes when a valid device is connected.
      524decde
  4. 31 Aug, 2009 1 commit
  5. 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
  6. 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
  7. 28 Jul, 2009 1 commit
  8. 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
  9. 19 Jul, 2009 2 commits
  10. 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
  11. 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
  12. 16 Jun, 2009 1 commit
  13. 08 Jun, 2009 1 commit
  14. 05 Jun, 2009 1 commit
  15. 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
  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. 20 Apr, 2009 1 commit
  18. 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
  19. 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
  20. 14 Apr, 2009 1 commit
  21. 01 Apr, 2009 1 commit
  22. 20 Mar, 2009 1 commit
  23. 23 Feb, 2009 1 commit