Commit Graph

26 Commits (158afe910947739b1df00000628c1e758bdf0812)

Author SHA1 Message Date
Dean Camera 158afe9109 Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction on the configuration order instead to ensure maximum reliability. 15 years ago
Dean Camera 713670043a Move out many of the common class driver constants into grouped enums, to make them more managable. 15 years ago
Dean Camera 28401f7bb7 Spell check all source files once again to find any typos. 15 years ago
Dean Camera 6bda628718 Update all demos, projects and bootloaders to indent all function parameters, one per line, for better readability. 15 years ago
Dean Camera 071e02c6b6 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. 15 years ago
Dean Camera 59c4871f80 USB_Init() no longer calls sei() to enable global interrupts - this must now be done in the user application once all init code has run. 15 years ago
Dean Camera 7f9f97c792 Update copyright year to 2010. 16 years ago
Dean Camera d4ca7fb44c Fix MIT license language to make its intent clearer. 16 years ago
Dean Camera 664a292181 Application documentation/comment cleanup. 16 years ago
Dean Camera f0fcffd146 Fix more build errors in the LowLevel "WithParser" HID Host demos. 16 years ago
Dean Camera 849b9535e7 Add new error condition to the HID Report Parser for when a report is parsed but no unfiltered items are encountered (i.e. nothing of interest in the device report). Make all host HID "WithParser" demos print the new error condition. 16 years ago
Dean Camera 3ffa7543a0 Finish initial draft of the Host Mode HID Class driver. 16 years ago
Dean Camera 6bbd2a99c2 Fix building of KeyboardHostWithParser and MouseHostWithParser demos broken by HIDParser API changes. 16 years ago
Dean Camera 524decdeb3 Change HID report parser so that it can calculate and record the sizes (IN, OUT and FEATURE) of each report within the device, by report ID. This will be required in host mode, so that the host can determine how many bytes of data must be read in for each report. 16 years ago
Dean Camera f9f1bcc25c Oops - with new changes to the way the device Configuration Descriptor is retrieved from the device, ensure that the correct position pointer is cast when extracting descriptor parameters. 16 years ago
Dean Camera c830fcb0e1 Make Endpoint control transfers more reliable; early-abort when an incomplete packet is sent from the host (indicating end of transfer), add check for control reads to ensure that no more than wLength bytes are read from the interface. 16 years ago
Dean Camera c5038f1bf4 Renamed all library events to properly seperate out Device and Host mode events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only. 16 years ago
Dean Camera 200821fe82 Added new LEDs_ToggleLEDs() function to the Board LEDs driver. 16 years ago
Dean Camera e071f3897a Added new USB_DeviceState variable to keep track of the current Device mode USB state. 16 years ago
Dean Camera cf313989e6 Don't send terminal RESET codes via serial - just set the foreground colour and assume the user has the background set to something sane, so that the demos don't wipe out custom user terminal settings. 16 years ago
Dean Camera cc879df4f0 Use sane ANSI terminal escape codes for the Host mode demos, so that they do not cause eye-searing, unreadable text on terminals which parse the escape codes properly. 16 years ago
Dean Camera 0fcbe22c9e Added new HOST_STATE_WaitForDeviceRemoval host state machine state for non-blocking disabling of device communications until the device has been removed (for use when an error occurs or communications with the device have completed). Changed over all host mode demos to use the new state. 16 years ago
Dean Camera f1076ac4d6 Added const modifiers to device mode class drivers. 16 years ago
Dean Camera b5ca3990c2 Added new USB_Host_SetDeviceConfiguration() convenience function. Change over Low Level host demos to use the new routine. 16 years ago
Dean Camera ac70ddd0a1 Converted Host mode demos to schedulerless. Fixed host mode broken due to earlier Start-of-frame event experiments. 16 years ago
Dean Camera f1199200e1 Copy existing Host mode demos to new ClassDriver and LowLevel subfolders. 16 years ago
Dean Camera 2ee9fc7077 Rewritten event system to remove all macros, to make user code clearer. 16 years ago
Dean Camera d860e9e842 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. 16 years ago
Dean Camera 37b2130fb2 Changed over all deprecated GCC structure tag initializers to the standardized C99 format (thanks to Mike Alexander). 16 years ago
Dean Camera 663f449c10 Fixed incorrect HID interface class and subclass values in the Mouse and KeyboardMouse demos (thanks to Brian Dickman). 16 years ago
Dean Camera 8f6b4ddf76 Fixed GenericHIDHost demo report write routine incorrect for control type requests (thanks to Andrei Krainev). 16 years ago
Dean Camera 6a5a37d7d1 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. 16 years ago
Dean Camera 6933f2e1a5 All comments in the library, bootloaders, demos and projects have now been spell-checked and spelling mistakes/typos corrected. 16 years ago
Dean Camera ed031c1df2 Seperated out OTG, Device and Host mode demos into seperate folders for clarity. Adjusted makefiles so that the path to the LUFA library can be set in one place. 16 years ago
Dean Camera 9991321321 Moved all source to the trunk directory. 16 years ago