aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class
Commit message (Collapse)AuthorAgeFilesLines
* Fixed Pipe_IsEndpointBound() function not taking the endpoint's direction ↵Dean Camera2010-02-012-2/+4
| | | | | | into account. Re-added Pipe_IsEndpointBound() calls to the CDC and RNDIS host class drivers, not that the function has the correct behaviour for devices with bidirectional endpoints.
* Be doubly-certain that the incomming CDC class driver's endpoint/pipe is ↵Dean Camera2010-01-282-10/+26
| | | | flushed only once when the bank is empty.
* Fixed CDC and RNDIS host demos and class drivers - bidirectional endpoints ↵Dean Camera2010-01-254-115/+15
| | | | should use two seperate pipes, not one half-duplex pipe.
* Cleanup and partially fix AVRISP-MKII project's TPI programming support.Dean Camera2010-01-251-9/+34
|
* Fixed incorrect interface values in the VirtualSerialMouse and KeyboardMouse ↵Dean Camera2010-01-121-0/+17
| | | | | | demo class driver structures. Added caveat information to the CDC device class driver.
* Added support to the MIDI Class drivers for packed data, where multiple MIDI ↵Dean Camera2010-01-056-11/+89
| | | | events are packed into a single USB packet. Added new MIDI Class driver flush routines to override packing behaviour.
* Inline USB management functions in the Class drivers which are standardized ↵Dean Camera2010-01-0517-118/+116
| | | | but currently unused, to prevent them from using up unneccesary cycles and flash in the user application.
* Fix MassStorageKeyboard demo USE_INTERNAL_SERIAL check being performed ↵Dean Camera2010-01-0413-11/+136
| | | | | | before the required library headers were included, causing a compilation error. Added notes to the class driver functions indicating which functions require what Device/Host state machine states to function.
* Fix CDC blocking streams in Host mode locking up when the device is removed.Dean Camera2010-01-041-0/+3
|
* Fixed blocking CDC streams not aborting when the host is disconnected.Dean Camera2010-01-041-0/+3
|
* Clean up MassStorageKeyboard demo.Dean Camera2010-01-031-1/+1
|
* Update copyright year to 2010.Dean Camera2009-12-3046-92/+92
|
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-2846-322/+322
|
* Un-inline the SendAddress function in NVMTarget.c/.h of the AVRISP project.Dean Camera2009-12-172-2/+5
| | | | Add new HotmailNotifier project, which changes a LED's colour based on the user's unread email count as sent from Windows Live Messenger.
* The SImage_Host_SendBlockHeader() and SImage_Host_ReceiveBlockHeader() Still ↵Dean Camera2009-12-162-7/+22
| | | | Image Host Class driver functions are now public.
* Fix a bug in the Still Image Host Class driver where the returned block ↵Dean Camera2009-12-151-2/+0
| | | | | | status code was being truncated. Add programming support to the AVRISP project's PDI programming mode; paged memory writes are not currently functional.
* Test with -Wextra, fix library warnings due to unused function parameters.Dean Camera2009-12-1310-11/+22
|
* Use -pedantic compile time option to find and correct several minor code errors.Dean Camera2009-12-131-20/+20
|
* Increase timeout of Mass Storage and Still Image host commands to 10 seconds ↵Dean Camera2009-12-092-2/+2
| | | | | | | | (up from 5) to account for slow-processing devices. Added brace guards to macros with parameters to prevent unintended changed evaluation of the macro expression. Minor code cleanups (remove redundant comments, fix spacing, etc.).
* Fixed Mass Storage Host Class driver and Low Level demo not clearing the ↵Dean Camera2009-12-042-2/+9
| | | | error condition if an attached device returns a STALL to a GET MAX LUN request (thanks to Martin Luxen).
* Fix double oops -- Host mode settle delay was still being ignored due to ↵Dean Camera2009-12-041-3/+3
| | | | inverted logic, HID Parser was assigning the usage Min/Max usage value to the report item's collection path rather than the report item itself.
* Fix incorrect const'ness of the ReportItem parameter in ↵Dean Camera2009-12-042-2/+2
| | | | USB_SetHIDReportItemInfo().
* Fixed HID Parser not distributing the Usage Min and Usage Max values across ↵Dean Camera2009-12-042-9/+38
| | | | | | | | an array of report items. Added new HID_ALIGN_DATA() macro to return the pre-retrieved value of a HID report item, left-aligned to a given datatype. Added new PreviousValue to the HID Report Parser report item structure, for easy monitoring of previous report item values.
* Added CDC_Host_Flush() function to the CDC Host Class driver to flush sent ↵Dean Camera2009-11-302-0/+50
| | | | data to the attached device.
* Add to the existing CDC Class Driver's CreateStream() function documentation ↵Dean Camera2009-11-292-2/+4
| | | | to explicitly state that the created streams are bidirectional.
* Complete RNDIS Host Class driver code - add SendPacket function.Dean Camera2009-11-263-2/+56
| | | | Correct CDC Host Class driver token handling for sending data on bidirectional data endpoints.
* Remove documentation of deleted parameters from the RNDIS Host Class ↵Dean Camera2009-11-261-2/+0
| | | | driver's device Initialize function.
* Fix RNDIS Device Class driver - RNDISConstants.h has moved out to the Common ↵Dean Camera2009-11-261-1/+0
| | | | Class driver directory.
* Added new RNDIS Host class driver and the beginnings of a RNDISEthernetHost ↵Dean Camera2009-11-2614-37/+762
| | | | | | | | Class Driver demo. 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.
* Fix typo in the StillImageHost LowLevel demo, and the CDC Host Class Driver.Dean Camera2009-11-251-2/+2
|
* Fix build and Doxygen errors.Dean Camera2009-11-251-2/+2
|
* Added new RNDISHost Host LowLevel demo. Fixed misnamed Pipe_SetPipeToken() ↵Dean Camera2009-11-252-13/+58
| | | | macro for setting a pipe's direction. Fixed CDCHost failing on devices with bidirectional endpoints.
* Fixed misnamed SI_Host_USBTask() and SI_Host_ConfigurePipes() functions.Dean Camera2009-11-232-6/+6
|
* Added new ReportType parameter to the HID Device Class driver ↵Dean Camera2009-11-232-5/+8
| | | | CALLBACK_HID_Device_CreateHIDReport() callback to indicate the report type to generate.
* Fixed incorrect values for REPORT_ITEM_TYPE_* enum values causing corrupt ↵Dean Camera2009-11-231-3/+3
| | | | data in the HID Host Parser.
* The incomplete StandaloneProgrammer project now uses Host and Device Mass ↵Dean Camera2009-11-233-63/+69
| | | | | | | | | | | | storage classes, so that program data can either be loaded onto the device's Dataflash storage, or read off an attached USB memory stick. The USB target family and allowable USB mode tokens are now public and documented (USB_CAN_BE_*, USB_SERIES_*_AVR). The SCSI_Request_Sense_Response_t and SCSI_Inquiry_Response_t type defines are now part of the Mass Storage Class driver common defines, rather than being defined in the Host mode Class driver section only. The USB_MODE_HOST token is now defined even when host mode is not available. Added missing CDC_Host_CreateBlockingStream() function code to the CDC Host Class driver.
* Fix doxygen documentation - doxygen was getting confused on the ↵Dean Camera2009-11-1719-46/+60
| | | | variable-length ATTR_NON_NULL_PTR_ARG() macro used on function prototypes and was generating many return types for several functions in the documentation (thanks to David Lyons).
* Make RNDISHost demo validate the set Packet Filter to ensure that it is ↵Dean Camera2009-11-171-5/+5
| | | | | | being sent correctly. Add new (incomplete) StandaloneProgrammer project, using the ELM Petite FAT library to read files stored on the board's dataflash by the host.
* Cleanups to the MassStorage Device demos, and the MassStorage Device Class ↵Dean Camera2009-11-152-25/+39
| | | | driver.
* Add blocking versions of the CDC Class driver streams, for applications ↵Dean Camera2009-11-124-0/+51
| | | | requiring blocking reads.
* Add beginnings of a RNDIS Ethernet Host demo.Dean Camera2009-11-122-24/+22
|
* Update CDC Class Driver character stream functions to use the correct ↵Dean Camera2009-11-102-6/+4
| | | | | | avr-libc return codes for errors and EOF. Fix pointer arithmetic on void byte buffers by explicitly typecasting the buffer pointers to uint8_t* before altering them.
* Added new stream creation function to the CDC Class drivers, to easily make ↵Dean Camera2009-11-104-0/+72
| | | | standard streams from CDC Class driver instances.
* Spell check all source code variables, comments and strings.Dean Camera2009-11-0919-44/+44
|
* Fixed HID host Class driver report send/receive report broken when issued ↵Dean Camera2009-11-095-29/+30
| | | | | | | | through the control pipe. Make Mass Storage device Class driver accept resets at any time, rather than just after a command block has been processed. Remove the HID device parser from the boot protocol Keyboard/Mouse demos.
* Make Low Level host demos use void pointers for the configuration ↵Dean Camera2009-11-078-0/+32
| | | | | | descriptor, to prevent warnings when passed to the altered configuration descriptor parsing routines. Added preprocessor checks to give a human readable error when the class drivers are used when the incompatible NO_STREAM_CALLBACKS compile time option is used.
* Add optional pipe double banking support to the Host mode Class drivers.Dean Camera2009-11-0713-28/+54
| | | | Descriptor processing routines now pass around void pointers rather than uint8_t pointers, as their destination datatype is know well known -- they are just streams of bytes until they are cast to the correct destination type by DESCRIPTOR_CAST.
* Add double banking property to LUFA powered projects in the Projects ↵Dean Camera2009-11-062-4/+7
| | | | directory. Add guards to macro parameters to ensure that formulas passed as parameters don't mess up the internal macro structure.
* Add optional double-banking support to the Device mode Class Drivers, on a ↵Dean Camera2009-11-0611-16/+28
| | | | per-endpoint, per-interface level.
* Add other missing Printer.h main class driver dispatch file.Dean Camera2009-11-041-0/+63
|