aboutsummaryrefslogtreecommitdiff
path: root/LUFA/Drivers/USB/Class/ConfigDescriptor.c
AgeCommit message (Collapse)Author
2009-05-22Deleted StdDescriptors.c, renamed USB_GetDescriptor() to ↵Dean
CALLBACK_USB_GetDescriptor, moved ConfigDescriptor.c/.h from the LUFA/Drivers/USB/Class/ directory to LUFA/Drivers/USB/HighLevel/ in preperation for the new USB class APIs. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@558 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-05-18Rewritten event system to remove all macros, to make user code clearer.Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@554 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-05-15Create a new function pointer type in StreamCallbacks.h for endpoint/pipe ↵Dean
stream callbacks, to make stream function prototypes clearer. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@552 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-04-24Endpoint configuration is now refined to give better output when all ↵Dean
configurations have static inputs - removed the now useless STATIC_ENDPOINT_CONFIGURATION compile time token. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@524 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-04-22USB_HostRequest renamed to USB_ControlRequest, entire control request header ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@520 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-04-20Changed over all deprecated GCC structure tag initializers to the ↵Dean
standardized C99 format (thanks to Mike Alexander). git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@517 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-04-19Fixed incorrect HID interface class and subclass values in the Mouse and ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@515 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-04-17Removed "Host_" section of the function names in ConfigDescriptor.h, as most ↵Dean
of the routines can now be used in device mode on the device descriptor. Renamed functions in the HID parser to have a "USB_" prefix and the acronym "HID" in the name. Further module-level documentation updates. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@514 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-04-17More documentation changes for better module-level documentation rather than ↵Dean
file-level documentation. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@513 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-04-14The USB_Host_SendControlRequest() function no longer automatically selects ↵Dean
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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@504 d5102386-fcda-11dd-9fdb-3debd5008f28
2009-03-04Updated makefiles to reflect new dfu-ee programming target invocations ↵Dean
(supplied by Opendous, Inc.). Renamed the ATTR_ALWAYSINLINE function attribute macro to ATTR_ALWAYS_INLINE to match the style of the other function attribute macro names. Added ATTR_ALWAYS_INLINE attribute to several inlined library functions, to ensure they are inlined in all circumstances. Cleanups to Endpoint.h and Pipe.h. Added better documentation for the endpoint and pipe interrupts. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@450 d5102386-fcda-11dd-9fdb-3debd5008f28