aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Host
Commit message (Collapse)AuthorAgeFilesLines
...
* Renamed all low level Endpoint_Read_*, Endpoint_Write_* and ↵Dean Camera2011-04-043-5/+5
| | | | | | 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.
* Fixed Still Image Host class driver exiting the descriptor search routine ↵Dean Camera2011-03-031-1/+1
| | | | | | prematurely if the data pipes (but not event pipe) is found. Fixed missing call to Pipe_SetInfiniteINRequests() in the Pipe_ConfigurePipe() routine.
* More AVR32 UC3B architecture ports - USB device mode applications can now be ↵Dean Camera2011-02-272-0/+9
| | | | sucessfully compiled, although they will be currently non-functional.
* More updates to remove architecture-specific comments from the ↵Dean Camera2011-02-201-1/+1
| | | | documentation, alter USBMode.h preprocessor logic to support future architectures more easily.
* Start update of documentation to support possible multiple architectures in ↵Dean Camera2011-02-202-4/+0
| | | | the future - alter \file documentation to automatically copy in the module documentation where possible.
* Initial restructuring of the core USB driver module to support multiple ↵Dean Camera2011-02-197-7/+14
| | | | architectures in the future.
* Add new ARCH option to the makefiles to (eventually) specify the target ↵Dean Camera2011-02-197-7/+7
| | | | device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support.
* Renamed the PRNT_Host_SendString(), CDC_Host_SendString() and ↵Dean Camera2011-01-304-16/+85
| | | | | | CDC_Device_SendString() functions to *_SendData(), and added new versions of the *_SendString() routines that expect a null terminated string instead. Added new Serial_SendData() function to the Serial driver.
* Removed SerialStream module, rolled functionality into the base USART Serial ↵Dean Camera2011-01-301-2/+7
| | | | | | | | peripheral driver instead through the new Serial_CreateStream() and Serial_CreateBlockingStream() methods. Renamed the Serial byte send/receive functions to remain consistent with the CDC driver's byte functions. Altered the serial byte receive function to make it non-blocking.
* Fixed several functions in the Host mode Still Image Class driver returning ↵Dean Camera2011-01-161-4/+4
| | | | an error code from the incorrect error code enum (thanks to Daniel Seibert).
* Minor documentation corrections for the new HID report item constant defines.Dean Camera2011-01-161-1/+0
|
* New HID report item macros (with HID_RI_ prefix) to allow for easy creation ↵Dean Camera2011-01-164-862/+1
| | | | | | | | and editing of HID report descriptors. Changed over all project and demo HID report descriptors to use the new HID report item macros. Moved the HIDParser.c source file to the LUFA/Drivers/USB/Class/Common/ directory from the LUFA/Drivers/USB/Class/Host/.
* Altered all endpoint/pipe stream transfers so that the new BytesProcessed ↵Dean Camera2011-01-1014-54/+25
| | | | | | | | | | parameter now points to a location where the number of bytes in the transfer that have been completed can be stored (or NULL if entire transaction should be performed in one chunk). Added new Endpoint_Null_Stream() and Pipe_Null_stream() functions. Removed the NO_STREAM_CALLBACKS compile time option due to the new partial stream transfer feature replacing it. Fixed errors in the incomplete Test and Measurement device demo preventing proper operation (thanks to Pavel Plotnikov).
* Minor documentation improvements.Dean Camera2011-01-088-37/+38
|
* Update copyright year on all source files.Dean Camera2011-01-0117-34/+34
|
* Documentation improvements - put driver example code into its own section, ↵Dean Camera2010-12-268-8/+8
| | | | fix incorrect and missing section names.
* Fixed HID hpst class driver incorrectly binding to HID devices that do not ↵Dean Camera2010-12-021-1/+4
| | | | have an OUT endpoint.
* Refactored Host mode Class Driver *_Host_ConfigurePipes() routines to be ↵Dean Camera2010-12-0214-61/+236
| | | | | | more space efficient when compiled. Added new *_ENUMERROR_PipeConfigurationFailed error codes for the *_Host_ConfigurePipes() routines.
* Minor documentation improvements.Dean Camera2010-11-031-16/+16
|
* Fixed MIDI class driver send routines silently discarding packets if the ↵Dean Camera2010-11-031-9/+6
| | | | endpoint or pipe is busy (thanks to Robin Green).
* Fix XPLAINBridge code broken during the changes to the Rescue Clock ↵Dean Camera2010-11-027-102/+122
| | | | | | generation in the AVRISP-MKII clone project. Change over all low level host mode project's descriptor comparator routines to perform the descriptor casting in a temp variable to make the code clearer and easier to modify (despite being more verbose).
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-2817-17/+17
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
* Added new NO_CLASS_DRIVER_AUTOFLUSH compile time option to disable automatic ↵Dean Camera2010-10-274-12/+24
| | | | | | flushing of interfaces when the USB management tasks for each driver is called. The MIDI class drivers now automatically flushes the MIDI interface when the MIDI class driver's USBTask() function is called.
* Changed AudioInput and AudioOutput demos to reload the next sample via an ↵Dean Camera2010-10-261-2/+2
| | | | interrupt rather than polling the sample timer.
* Add descriptor class, subclass and protocol constants to the class drivers, ↵Dean Camera2010-10-2514-82/+39
| | | | | | | | modify all demos to use them where possible. Move out private/internal host class driver constants to the common class driver headers, so that they can be used in the Low Level host mode demos. Ensure all demos, projects and bootloaders use the class driver constants where possible to minimise code repetition.
* All USB class drivers are now automatically included when LUFA/Drivers/USB.h ↵Dean Camera2010-10-2416-84/+94
| | | | | | is included, and no longer need to be seperately included. All LowLevel demos changed to use the constants and types defined in the USB class drivers.
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-1317-492/+509
| | | | tool made by Laszlo Monda
* Fixed MIDI_Host_Flush() not aborting early when the specified MIDI host ↵Dean Camera2010-10-128-49/+49
| | | | | | interface was not configured. Small documentation improvements to explicitly reference tokens in Doxygen, to ensure that they are converted to cross-reference links in the output files.
* Fixed LowLevel JoystickHostWithParser demo not saving the chosen HID ↵Dean Camera2010-10-012-2/+2
| | | | | | interface's report descriptor size. Simplified low level Host demo configuration descriptor parser routines.
* Whitespace corrections.Dean Camera2010-10-018-65/+68
| | | | Make Printer Host mode Class driver interface descriptor search routine pre-cast the current interface descriptor to simplify the value checks.
* Make Host mode Class drivers only set the class driver instance's state ↵Dean Camera2010-09-307-138/+74
| | | | values once a compatible interface has been found within the device.
* Fix incorrectly named configuration descriptor callback routines in the host ↵Dean Camera2010-09-304-14/+20
| | | | | | mode class drivers. Fix typo in MIDI low level device demo.
* Fix low level host mode demos not correctly fetching the next endpoint when ↵Dean Camera2010-09-3014-308/+432
| | | | | | an invalid interface is discarded. Update the pipe configuration routines in the host mode class drivers so that they use the same new code to enumerate compatible devices to increase reliability. Add support to the host mode class drivers for non-sequential (but non-overlapping with other interface) pipe numbers.
* Fix up incorrect version numbers in demo/project descriptors.Dean Camera2010-09-287-14/+14
| | | | Add class name prefixes to missed constants in the class drivers to give all class driver elements a consistent namespace.
* Move out many of the common class driver constants into grouped enums, to ↵Dean Camera2010-09-288-110/+107
| | | | | | | | make them more managable. Add new CDC descriptor structs to the CDC class driver, so that the CDC demos can use human readable field names. Rename prefix for Still Image Host class driver functions from "SImage_" to "SI_" to remain consistent with the rest of the driver.
* Added PRNT_Host_SendByte() and PRNT_Host_Flush() functions to the Host mode ↵Dean Camera2010-09-112-13/+95
| | | | | | Printer Class driver. Modified PRNT_Host_USBTask() to flush the output pipe on each call.
* Whitespace corrections.Dean Camera2010-09-091-1/+1
|
* Added class specific descriptor type defines with standard USB-IF element ↵Dean Camera2010-09-092-2/+2
| | | | naming.
* Added new PRNT_Host_BytesReceived() and PRNT_Host_ReceiveByte() functions to ↵Dean Camera2010-09-072-13/+91
| | | | the Print Host Class driver.
* Added new USB_Device_GetFrameNumber() and USB_Host_GetFrameNumber() ↵Dean Camera2010-09-052-14/+16
| | | | | | | | functions to retrieve the current USB frame number. Added new USB_Host_EnableSOFEvents(), USB_Host_DisableSOFEvents() and EVENT_USB_Host_StartOfFrame() for the user application handling of USB Start of Frame events while in USB Host mode. Changed over all demos, drivers and internal functions to use the current frame number over the Start of Frame flag where possible to free up the Start of Frame flag for interrupt use in the user application.
* Fixed LowLevel PrinterHost demo not sending control requests to the attached ↵Dean Camera2010-08-241-4/+4
| | | | printer with the correct printer interface wIndex value.
* Fixed USB_GetHIDReportItemInfo() function modifying the given report item's ↵Dean Camera2010-08-102-6/+8
| | | | data when the report item does not exist within the supplied report of a multiple report HID device.
* Fix XPLAINBridge project discarding characters from the USB interface due to ↵Dean Camera2010-08-013-21/+15
| | | | | | | | | | | | | | a double read from the endpoint. Make XPLAINBridge and USBtoSerial projects more reliable by forcing a flush if the UART-to-USB buffer becomes nearly full. Reduce locking in the LightweightRingBuffer.h header files by only locking on the update of the buffer count, and require insertions and removals from each buffer to occur in only one execution thread. Fix CDC_*_ReceiveByte() returning 0 when the interface is not configured, instead of the new -1 error value. Fix CDC_Host_ReceiveByte() not re-freezing the pipe if no packet has been received. Remove redundant Pipe token set commands in the CDC and RNDIS host class drivers.
* More spell checking of all source files -- correct missed errors, switch to ↵Dean Camera2010-07-302-2/+2
| | | | EN-GB spelling dictionary.
* Altered the CDC Deivice and Host Class drivers' receive byte routines, so ↵Dean Camera2010-07-302-18/+33
| | | | | | that no data is indicated by a negative return value. Added auto flushing of OUT data to the CDC Host Class driver's USBTask function to automatically flush the send pipe buffer.
* Rename reserved members of all structs so that they are uniformly named ↵Dean Camera2010-07-261-2/+2
| | | | | | across all demos/projects/bootloaders. Added start of the Incomplete TMC demo's command parser code.
* Add missing const qualifiers to class drivers.Dean Camera2010-07-2116-117/+228
| | | | Indent core library function parameters so that there is only one parameter per line, to increase readability.
* Update makefiles to use the latest WinAVR/Atmel toolchain makefile template.Dean Camera2010-07-198-9/+9
| | | | Add new module source variables to the library core makefile, so that module sources can be added to a project's makefile on a per-module rather than per-file basis.
* Added const attributes to some of the class driver function parameters that ↵Dean Camera2010-07-139-25/+27
| | | | were missing it.
* Renamed SERIAL_STREAM_ASSERT() macro to STDOUT_ASSERT().Dean Camera2010-06-178-326/+326
| | | | Minor tweaks to the library documentation.