Commit Graph

16 Commits (46d511c021011d051c7f19ab4129a8591735327a)

Author SHA1 Message Date
Dean Camera e406140f11 Minor documentation fixes - change \note entries to \warning where appropriate and remove/update old documentation. 13 years ago
Dean Camera 4068efbd18 Remove potentially unaligned uint32_t access in HIDParser.c, replace with standard C bit shifts. 13 years ago
Dean Camera f1b6ddb710 Update file contributor copyrights for 2012. 13 years ago
Dean Camera 2c806f6cee Update file header copyrights for 2012. 13 years ago
Dean Camera fc4d3ab400 Minor documentation improvements. 13 years ago
Dean Camera f201f6697b Run wspurify script on /trunk/ and /branches/ C source files, to remove any trailing whitespace at the end of each line. 14 years ago
Dean Camera 38d7cdf803 Minor Doxygen documentation improvements.
Add missing ATTR_NON_NULL_PTR_ARG and const decorations.
14 years ago
Dean Camera 3b99abb5fc Add new USB_Host_GetDescriptor() function. Alter the USB_Host_GetDeviceDescriptor() and USB_Host_GetDeviceStringDescriptor() convenience functions so that they wrap the new function. 14 years ago
Dean Camera e915d968a5 Added new USB_Host_GetDeviceConfiguration() and USB_Host_GetInterfaceAltSetting() functions. 14 years ago
Dean Camera dc9133ad21 Move documentation for the USB_HOST_TIMEOUT_MS into the HostStandardReq module where it is used. 14 years ago
Dean Camera a233109909 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.
14 years ago
Dean Camera 7207b05695 Add missing function attributes. 14 years ago
Dean Camera 065ed4da20 Added new USB_Host_GetDeviceStatus() function for USB Host mode. 14 years ago
Dean Camera 6c4f736793 Minor documentation and style fixes. 14 years ago
Dean Camera 137ce280c1 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.
14 years ago
Dean Camera 1daa5e16f9 Initial restructuring of the core USB driver module to support multiple architectures in the future. 14 years ago