- 10 Jan, 2011 2 commits
-
-
Dean Camera authored
Call USB_USBTask() in the Endpoint stream functions between packets if INTERRUPT_CONTROL_ENDPOINT is not set. Remove calls to USB_USBTask in the Mass Storage class driver stream read/write continuation checks, since this is now done inside the stream function.
-
Dean Camera authored
Altered all endpoint/pipe stream transfers so that the new BytesProcessed 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).
-
- 08 Jan, 2011 2 commits
-
-
Dean Camera authored
-
Dean Camera authored
The FAST_STREAM_TRANSFERS compile time option has been removed due to lack of use and low cost/benefit ratio. Add GCC_FORCE_POINTER_ACCESS() macro use to the RingBuffer library header, to attempt to force GCC into producing more efficient code for manipulating the buffers.
-
- 01 Jan, 2011 1 commit
-
-
Dean Camera authored
-
- 21 Nov, 2010 1 commit
-
-
Dean Camera authored
Remove internal USB_Device_NibbleToASCII() function in favour of manually inlined code to prevent compilation errors in -O0 optimisation level.
-
- 05 Nov, 2010 2 commits
-
-
Dean Camera authored
-
Dean Camera authored
Renamed the EVENT_USB_Device_UnhandledControlRequest() event to EVENT_USB_Device_ControlRequest() as it is now fired before the library request handlers, not afterwards.
-
- 03 Nov, 2010 1 commit
-
-
Dean Camera authored
Fixed USBtoSerial and XPLAINBridge demos discarding data from the PC if the send buffer becomes full.
-
- 02 Nov, 2010 1 commit
-
-
Dean Camera authored
Fix XPLAINBridge code broken during the changes to the Rescue Clock 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).
-
- 28 Oct, 2010 3 commits
-
-
Dean Camera authored
-
Dean Camera authored
Add logical grouping of related #define values for better Doxygen documentation.
-
Dean Camera authored
Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
-
- 25 Oct, 2010 1 commit
-
-
Dean Camera authored
Add descriptor class, subclass and protocol constants to the class drivers, 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.
-
- 24 Oct, 2010 1 commit
-
-
Dean Camera authored
Better algorithm to extract and convert the internal device serial number into a string descriptor (if present). Fix incorrect warning text when an unsuitable F_CLOCK value is given.
-
- 13 Oct, 2010 1 commit
-
-
Dean Camera authored
-
- 12 Oct, 2010 3 commits
-
-
Dean Camera authored
Fixed MIDI_Host_Flush() not aborting early when the specified MIDI host 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.
-
Dean Camera authored
Moved the USB device selection logic for ENDPOINT_TOTAL_ENDPOINTS further up in Endpoint.h to where the endpoint bank capabilities are determined, to reduce the total number of device-specific logic. Change USB_Host_WaitMS() to test and disable the HSOFI interrupt before resuming the bus, so that it does not fire before the delay loop has run. Add missing const qualifier to the parameter of USB_Host_ClearPipeStall().
-
Dean Camera authored
Fixed random enumeration failure while in device mode due to interrupts causing the Set Address request to exceed maximum timings.
-
- 06 Oct, 2010 1 commit
-
-
Dean Camera authored
Cache the USB_DeviceState variable internally in the library core when multiple checks are required in a single loop iteration, to reduce compiled code size.
-
- 30 Sep, 2010 1 commit
-
-
Dean Camera authored
Fix low level host mode demos not correctly fetching the next endpoint when 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.
-
- 29 Sep, 2010 1 commit
-
-
Dean Camera authored
Changed default value for the reset polarity parameter in the AVRISP-MKII project so that it defaults to active low drive. Fixed incorrect USB_DeviceState value when unconfiguring the device without an address set.
-
- 28 Sep, 2010 1 commit
-
-
Dean Camera authored
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.
-
- 19 Sep, 2010 2 commits
-
-
Dean Camera authored
Rename internal suspend and wake up USB interrupt macros so that they follow the same naming scheme as the other USB ISR macros.
-
Dean Camera authored
Minor documentation fixes. Fix broken USB host mode due to the USB frame counter not being updated during the early enumeration steps, causing USB_Host_DelayMS() to spinloop forever.
-
- 15 Sep, 2010 2 commits
-
-
Dean Camera authored
Removed the EVENT_USB_InitFailure() event, as not specifying a USB mode to USB_Init() now defaults the controller into UID selection mode.
-
Dean Camera authored
-
- 13 Sep, 2010 1 commit
-
-
Dean Camera authored
Fixed SET FEATURE and CLEAR FEATURE control requests directed at an unconfigured endpoint causing request timeouts.
-
- 12 Sep, 2010 1 commit
-
-
Dean Camera authored
-
- 09 Sep, 2010 1 commit
-
-
Dean Camera authored
-
- 05 Sep, 2010 1 commit
-
-
Dean Camera authored
Added new USB_Device_GetFrameNumber() and USB_Host_GetFrameNumber() 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.
-
- 31 Aug, 2010 1 commit
-
-
Dean Camera authored
Clarify in the project documentation files what the each of the different USB AVR device "series" comprises of.
-
- 24 Aug, 2010 1 commit
-
-
Dean Camera authored
Changed the signature of the CALLBACK_USB_GetDescriptor() callback function so that the descriptor pointer is const, to remove the need for extra casting inside the callback (thanks to Jonathan Kollasch).
-
- 22 Aug, 2010 1 commit
-
-
Dean Camera authored
Split out endpoint and pipe stream functions into new EndpointStream.c/.h and PipeStream.c/.h files.
-
- 30 Jul, 2010 1 commit
-
-
Dean Camera authored
More spell checking of all source files -- correct missed errors, switch to EN-GB spelling dictionary.
-
- 29 Jul, 2010 1 commit
-
-
Dean Camera authored
-
- 21 Jul, 2010 3 commits
-
-
Dean Camera authored
Indent core library function parameters so that there is only one parameter per line, to increase readability.
-
Dean Camera authored
Move and rename DevChaper9.c/.h and HostChapter9.c/.h to the HighLevel directory, new named DeviceStandardReq.c/.h and HostStandardReq.c/.h. Rename LowLevel.c/.h to USBController.c/.h. Remove dependancies on the complete <avr/io.h> header in the HighLevel USB driver directory, to ensure less work is required in later (possible) ports.
-
Dean Camera authored
Reduce spacing of the structure elements in StdDescriptors.h to make the code more readable.
-
- 17 Jun, 2010 1 commit
-
-
Dean Camera authored
Minor tweaks to the library documentation.
-