1. 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
  2. 20 Jul, 2009 1 commit
    • Dean Camera's avatar
      Change Doxygen configuration files to not produce 4096 directories for the... · 4f747e7b
      Dean Camera authored
      Change Doxygen configuration files to not produce 4096 directories for the documentation files -- the LUFA components do not generate enough documentation files to justify the large performance hit of creating so many directories.
      
      Fix missing Doxygen documentation in the Class Driver Mass Storage Device demo.
      4f747e7b
  3. 16 Jul, 2009 1 commit
    • Dean Camera's avatar
      Added new TOTAL_NUM_CONFIGURATIONS option, removed... · 37f8a84f
      Dean Camera authored
      Added new TOTAL_NUM_CONFIGURATIONS option, removed USE_SINGLE_DEVICE_CONFIGURATION compile time option (but silently convert it to USE_SINGLE_DEVICE_CONFIGURATION internally for compatibility).
      
      Added new USE_FLASH_DESCRIPTORS compile time option. By default, descriptors can now lie in mixed memory spaces (specified by a new parameter to the CALLBACK_USB_GetDescriptor() function) unless one of the USE_*_DESCRIPTORS compile time option is specified.
      37f8a84f
  4. 13 Jul, 2009 1 commit
  5. 11 Jul, 2009 1 commit
    • Dean Camera's avatar
      Added incomplete PrinterHost demo application. · e0af6014
      Dean Camera authored
      Seperated out Lib components of the incomplete BluetoothHost demo application out into a seperate Lib subfolder.
      
      Changed F_CLOCK entries in project makefiles to alias to F_CPU by default, as this is the most common case.
      e0af6014
  6. 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
  7. 26 Jun, 2009 1 commit
    • Dean Camera's avatar
      Optimize vendor/product description string display code in MassStorageHost. · 1756087c
      Dean Camera authored
      Remove all Host mode class demos other than the CDCHost class driver demo, so that they can be re-added as they are made once the host mode class framework is designed.
      
      Fixed USB_Host_SendControlRequest() not re-suspending the USB bus when initial device ready-wait fails.
      
      Fixed USB Pad regulator not being disabled on some AVR models when the USB_OPT_REG_DISABLED option is used.
      1756087c
  8. 21 Jun, 2009 2 commits
  9. 19 Jun, 2009 2 commits
  10. 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
  11. 16 Jun, 2009 1 commit
  12. 15 Jun, 2009 1 commit
  13. 09 Jun, 2009 1 commit
  14. 08 Jun, 2009 2 commits
  15. 05 Jun, 2009 1 commit
  16. 04 Jun, 2009 1 commit
    • Dean Camera's avatar
      Minor documentation page updates. · a67bd74e
      Dean Camera authored
      Redocumented all device demos, now that they have changed over to the new USB class drivers.
      
      Added C linkage to class drivers for C++ support.
      
      Added prefixes to most of the class driver constants to prevent name clashes.
      a67bd74e
  17. 01 Jun, 2009 1 commit
    • Dean Camera's avatar
      Commit of new class abstraction APIs for all device demos other than the MIDI... · d1e52660
      Dean Camera authored
      Commit of new class abstraction APIs for all device demos other than the MIDI demo - not documented yet.
      
      Removed scheduler and memory allocation libraries.
      
      Added new EVENT_USB_StartOfFrame event in the library to indicate the start of each USB frame (when generated).
      
      Removed Tx interrupt from the USBtoSerial demo; now sends characters via polling to ensure more time for the Rx interrupt.
      d1e52660
  18. 26 May, 2009 1 commit
  19. 22 May, 2009 1 commit
  20. 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
  21. 17 May, 2009 1 commit
  22. 07 May, 2009 1 commit
  23. 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
  24. 02 May, 2009 2 commits
  25. 24 Apr, 2009 1 commit
  26. 23 Apr, 2009 1 commit
  27. 22 Apr, 2009 2 commits
  28. 21 Apr, 2009 1 commit
  29. 20 Apr, 2009 1 commit
  30. 19 Apr, 2009 1 commit
  31. 17 Apr, 2009 1 commit
  32. 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
  33. 07 Apr, 2009 1 commit
  34. 01 Apr, 2009 1 commit
  35. 23 Mar, 2009 1 commit