aboutsummaryrefslogtreecommitdiff
path: root/LUFA/Drivers/USB/Core/HostStandardReq.c
AgeCommit message (Collapse)Author
2012-02-20Remove potentially unaligned uint32_t access in HIDParser.c, replace with ↵Dean
standard C bit shifts. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2063 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-04Update file contributor copyrights for 2012.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2026 d5102386-fcda-11dd-9fdb-3debd5008f28
2012-02-04Update file header copyrights for 2012.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2025 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-12-23Run wspurify script on /trunk/ and /branches/ C source files, to remove any ↵dean
trailing whitespace at the end of each line. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2007 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-11-24Add new USB_Host_GetDescriptor() function. Alter the ↵Dean
USB_Host_GetDeviceDescriptor() and USB_Host_GetDeviceStringDescriptor() convenience functions so that they wrap the new function. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1991 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-11-24Added new USB_Host_GetDeviceConfiguration() and ↵Dean
USB_Host_GetInterfaceAltSetting() functions. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1990 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-10-07Fix incorrect function call name in USB_Host_SendControlRequest() for AVR8 ↵Dean
devices. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1936 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-09-28Fix compile error on the UC3 targets when INTERRUPT_CONTROL_ENDPOINT compile ↵Dean
time option is used (thanks to Ian Woloschin). Small size improvement for Little Endian devices when USB host mode is used. Minor documentation fixes. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1933 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-08-24Renamed USB_Host_ClearPipeStall() to USB_Host_ClearEndpointStall() as the ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1914 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-12Add more missing function attributes to the TWI peripheral driver.Dean
Fix incorrect standard request name in the host standard request driver. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1863 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-12Added new USB_Host_GetDeviceStatus() function for USB Host mode.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1861 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-11Minor documentation and style fixes.Dean
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1854 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-07-08Updated all host mode demos and projects to use the ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1850 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-04-04Renamed all low level Endpoint_Read_*, Endpoint_Write_* and ↵Dean
Endpoint_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures. Renamed all low level Pipe_Read_*, Pipe_Write_* and Pipe_Discard_* functions to use the number of bits instead of a symbolic size (Byte, Word, DWord) so that the function names are applicable and correct across all architectures. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1726 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-03-21F_CLOCK changed to F_USB to be more descriptive, and applicable on future ↵Dean
architecture ports. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1720 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-03-16Fix bugs in the new VirtualSerialMassStorage demo (thanks to Martin ↵Dean
Degelsegger). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1718 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-26Removed Pipe_ClearErrorFlags(), pipe error flags are now automatically ↵Dean
cleared when Pipe_ClearError() is called. More UC3B architecture porting. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1684 d5102386-fcda-11dd-9fdb-3debd5008f28
2011-02-19Initial restructuring of the core USB driver module to support multiple ↵Dean
architectures in the future. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1672 d5102386-fcda-11dd-9fdb-3debd5008f28