- 24 Nov, 2011 3 commits
-
-
Dean Camera authored
Add missing ATTR_NON_NULL_PTR_ARG and const decorations.
-
Dean Camera authored
Add new USB_Host_GetDescriptor() function. Alter the USB_Host_GetDeviceDescriptor() and USB_Host_GetDeviceStringDescriptor() convenience functions so that they wrap the new function.
-
Dean Camera authored
-
- 28 Aug, 2011 1 commit
-
-
Dean Camera authored
-
- 24 Aug, 2011 1 commit
-
-
Dean Camera authored
Renamed USB_Host_ClearPipeStall() to USB_Host_ClearEndpointStall() as the function works on an endpoint address within the attached device, and not a Pipe within the host. Updated MS_Host_ResetMSInterface() to now perform a full Mass Storage reset sequence to prevent data corruption in the event of a device lock up or timeout (thanks to David Lyons). Add parenthesis around the library Endianness macros that do nothing on a particular architecture to prevent operator precedence issues depending on usage. Minor documentation corrections.
-
- 12 Jul, 2011 2 commits
-
-
Dean Camera authored
-
Dean Camera authored
-
- 11 Jul, 2011 1 commit
-
-
Dean Camera authored
-
- 08 Jul, 2011 1 commit
-
-
Dean Camera authored
Updated all host mode demos and projects to use the EVENT_USB_Host_DeviceEnumerationComplete() event callback for device configuration instead of manual host state machine manipulations in the main application task. Added new USB_Host_ConfigurationNumber global variable to indicate the selected configuration in an attached device. Renamed global state variables that are specific to a certain USB mode to clearly indicate which mode the variable relates to, by changing the USB_* prefix to USB_Device_* or USB_Host_*. Removed the HOST_STATE_WaitForDeviceRemoval and HOST_STATE_Suspended host state machine states, as these are no longer required. Altered the USB_Host_SetDeviceConfiguration() function to update the new USB_Host_ConfigurationNumber global as required. Moved out the Host mode standard request convenience/helper functions from the architecture specific Host driver files to the architecture agnostic HostStandardReq.c driver file.
-
- 19 Feb, 2011 1 commit
-
-
Dean Camera authored
Initial restructuring of the core USB driver module to support multiple architectures in the future.
-
- 08 Jan, 2011 1 commit
-
-
Dean Camera authored
-
- 01 Jan, 2011 1 commit
-
-
Dean Camera authored
-
- 28 Oct, 2010 1 commit
-
-
Dean Camera authored
Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
-
- 13 Oct, 2010 1 commit
-
-
Dean Camera authored
-
- 21 Jul, 2010 2 commits
-
-
Dean Camera authored
Indent core library function parameters so that there is only one parameter per line, to increase readability.
-
Dean Camera authored
Move and rename DevChaper9.c/.h and HostChapter9.c/.h to the HighLevel directory, new named DeviceStandardReq.c/.h and HostStandardReq.c/.h. Rename LowLevel.c/.h to USBController.c/.h. Remove dependancies on the complete <avr/io.h> header in the HighLevel USB driver directory, to ensure less work is required in later (possible) ports.
-
- 16 Jun, 2010 1 commit
-
-
Dean Camera authored
Spell check code and manual pages. Remove custom Doxygen CSS stylesheet, as the new 1.7 Doxygen's default stylesheet is much better.
-
- 08 May, 2010 1 commit
-
-
Dean Camera authored
Add svn:eol-style property to source files, so that the line endings are correctly converted to the target system's native end of line style.
-
- 29 Mar, 2010 1 commit
-
-
Dean Camera authored
Remove accidentally duplicated model-specific peripheral driver files.
-
- 24 Feb, 2010 2 commits
-
-
Dean Camera authored
-
Dean Camera authored
-
- 23 Feb, 2010 2 commits
-
-
Dean Camera authored
-
Dean Camera authored
-
- 11 Feb, 2010 1 commit
-
-
Dean Camera authored
Add more include protection macros to give the user warnings when they try to manually include private driver header files, instead of the public driver headers.
-
- 30 Dec, 2009 1 commit
-
-
Dean Camera authored
-
- 28 Dec, 2009 1 commit
-
-
Dean Camera authored
-
- 26 Nov, 2009 1 commit
-
-
Dean Camera authored
Fixed all Class drivers to ensure they have appropriate guards on each function to ensure the device is enumerated before running, fixed error codes on all guards to return "DeviceDisconnected" where possble. Renamed HOST_SENDCONTROL_DeviceDisconnect enum value to HOST_SENDCONTROL_DeviceDisconnected to be in line with the rest of the library enum error codes.
-
- 13 Jul, 2009 1 commit
-
-
Dean Camera authored
Fixed Host mode to Device mode UID change not causing a USB Disconnect event when a device was connected.
-
- 28 Jun, 2009 1 commit
-
-
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).
-
- 22 Apr, 2009 2 commits
-
-
Dean Camera authored
-
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.
-
- 17 Apr, 2009 1 commit
-
-
Dean Camera authored
More documentation changes for better module-level documentation rather than file-level documentation.
-
- 16 Apr, 2009 1 commit
-
-
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.
-
- 14 Apr, 2009 1 commit
-
-
Dean Camera authored
The USB_Host_SendControlRequest() function no longer automatically selects the Control pipe (pipe 0), so that other control type pipes can be used with the function. The USB Host management task now saves and restores the currently selected pipe before and after the task completes.
-
- 05 Apr, 2009 1 commit
-
-
Dean Camera authored
Move StdRequestType.h, StreamCallbacks.h, USBMode.h from the LowLevel USB driver directory to the HighLevel USB driver directory, where they are more suited.
-
- 01 Apr, 2009 1 commit
-
-
Dean Camera authored
All comments in the library, bootloaders, demos and projects have now been spell-checked and spelling mistakes/typos corrected.
-
- 23 Feb, 2009 1 commit
-
-
Dean Camera authored
-