aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Host
Commit message (Collapse)AuthorAgeFilesLines
* Renamed SERIAL_STREAM_ASSERT() macro to STDOUT_ASSERT().Dean Camera2010-06-178-326/+326
| | | | Minor tweaks to the library documentation.
* Spell check code and manual pages. Remove custom Doxygen CSS stylesheet, as ↵Dean Camera2010-06-164-8/+8
| | | | the new 1.7 Doxygen's default stylesheet is much better.
* Fix HID parser documentation for the default maximum report/path/etc. ↵Dean Camera2010-06-151-2/+2
| | | | elements so that it matches the current code values.
* Change over Doxygen \note documentation to \pre where applicable.Dean Camera2010-06-157-65/+62
|
* Add missing ATTR_NON_NULL_PTR_ARG and ATTR_ALWAYS_INLINE attributes to class ↵Dean Camera2010-06-086-27/+35
| | | | driver functions.
* Fixed incorrect function references in the Mass Storage Class driver ↵Dean Camera2010-06-031-1/+1
| | | | documentation.
* More documentation fixes.Dean Camera2010-06-031-1/+1
|
* Minor documentation cleanups.Dean Camera2010-06-038-29/+29
|
* Fix spacing of the function parameter descriptions in the Doxygen documentation.Dean Camera2010-05-298-86/+86
|
* Add new ReportType parameter to the HID class driver device callback and ↵Dean Camera2010-05-0914-64/+65
| | | | | | host report sending routines. Renamed internal Host mode Class driver descriptor comparator callback routines so that they all start with a uniform DCOMP_{Class Abbreviation}_ prefix.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-0817-5597/+5597
| | | | correctly converted to the target system's native end of line style.
* Added new EVENT_CDC_Device_BreakSent() event and CDC_Host_SendBreak() ↵Dean Camera2010-05-062-2/+26
| | | | function to the Device and Host CDC Class drivers.
* Ensure that the CDC class drivers return 0 if the number of unread bytes is ↵Dean Camera2010-05-061-6/+10
| | | | queried and the bank has become empty.
* Fixed Host mode HID class driver not sending the correct report type when ↵Dean Camera2010-05-041-1/+1
| | | | HID_Host_SendReportByID() was called and the HID_HOST_BOOT_PROTOCOL_ONLY compile time option is set.
* Use puts_P() and printf_P() instead of the normal variants where possible in ↵Dean Camera2010-04-281-10/+4
| | | | the Host mode Class Driver demos.
* Rename FunctionAttributes.h to Attributes.h, as some attributes are ↵Dean Camera2010-04-152-5/+5
| | | | | | | | applicable to variables also. Add new ATTR_NOINIT attribute for global variables. Add the beginnings of a SDP implentation to the incomplete BluetoothHost demo. Add const attribute to the Mass Storage Host driver functions where it was applicable, but missing.
* Removed two-step endpoint/pipe bank clear and switch sequence for smaller, ↵Dean Camera2010-04-131-0/+4
| | | | | | | | faster endpoint/pipe code. Added spacing between multiple paragraphs in Doxygen \note sections. Removed call to the clock prescaler reset function in the Teensy bootloader to save space - the user application is accessed via a watchdog reset anyway, so the prescale reset would only affect the speed of the bootloader itself.
* Add briefs for the library core structures.Dean Camera2010-03-299-20/+78
|
* Add file-level brief documentation.Dean Camera2010-03-2910-6/+57
| | | | Remove accidentally duplicated model-specific peripheral driver files.
* All Class Driver Host mode demos now correctly set the board LEDs to READY ↵Dean Camera2010-03-251-5/+7
| | | | | | once the enumeration process has completed. Fixed Still Image Host class driver not resetting the transaction ID when a new session is opened, fixed driver not sending a valid session ID to the device.
* Fixed incorrect definition of HID_ALIGN_DATA() causing incorrect HID report ↵Dean Camera2010-03-241-1/+1
| | | | item data alignment.
* Fixed compilation error in the AudioInput demos when ↵Dean Camera2010-03-241-2/+3
| | | | | | | | MICROPHONE_BIASED_TO_HALF_RAIL is defined (thanks to C. Scott Ananian). Minor documentation cleanups. Make sure HID class driver uses properly cast pointers when writing to the report buffer.
* Turn OFF double banking in the Webserver demo - leaving it on seems to ↵Dean Camera2010-02-181-2/+1
| | | | destroy the system throughput.
* Fix HID Host Class driver sending incorrect ReportType values to the device ↵Dean Camera2010-02-141-2/+2
| | | | when issuing requests via the control pipe.
* Add more include protection macros to give the user warnings when they try ↵Dean Camera2010-02-1116-16/+68
| | | | to manually include private driver header files, instead of the public driver headers.
* Fixed USB_GetHIDReportSize() returning the number of bits in the specified ↵Dean Camera2010-02-092-2/+4
| | | | | | | | report instead of bytes. Moved the USB_GetHIDReportItemInfo() calls into the main report item passing loop in the *HostWithParser demos - it is fast enough not to effect performance, and avoids duplicate code. Make Webserver project report the LUFA version as part of the HTTP header.
* Fix AVRISP-MKII clone project's TPI Chip Erase command processing - ensure ↵Dean Camera2010-02-081-4/+9
| | | | | | erase location is the high byte in the given address space, check NVMBUSY for completion rather than the NVM Bus Enable bit. Change If-Else chains over to switch statements in XPROGProtocol.c for clarity.
* 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-281-7/+16
| | | | 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
|
* Added support to the MIDI Class drivers for packed data, where multiple MIDI ↵Dean Camera2010-01-053-5/+43
| | | | 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-0512-80/+78
| | | | 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-048-4/+100
| | | | | | 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
|
* Clean up MassStorageKeyboard demo.Dean Camera2010-01-031-1/+1
|
* Update copyright year to 2010.Dean Camera2009-12-3017-34/+34
|
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-2817-119/+119
|
* Un-inline the SendAddress function in NVMTarget.c/.h of the AVRISP project.Dean Camera2009-12-171-1/+3
| | | | 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-136-7/+7
|
* 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-291-1/+2
| | | | to explicitly state that the created streams are bidirectional.