- 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).
-
- 01 Jan, 2011 1 commit
-
-
Dean Camera authored
-
- 24 Dec, 2010 2 commits
-
-
Dean Camera authored
Much more efficient algorithm for the Endpoint/Pipe configuration routine of unordered endpoints/pipes - only reconfigure the endpoints and pipes above the newly configured endpoint/pipe, and don't cache existing endpoint/pipe configuration before use to save SRAM.
-
Dean Camera authored
Re-add in old Endpoint/Pipe workaround for unordered pipes - add new ORDERED_EP_CONFIG compile time option to override the workaround and use the previous behaviour that imposes correct Endpoint/Pipe ordering but produces smaller compiled code.
-
- 28 Oct, 2010 1 commit
-
-
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.
-
- 13 Oct, 2010 1 commit
-
-
Dean Camera authored
-
- 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
Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction on the configuration order instead to ensure maximum reliability. Altered all low level device and host mode demos to ensure that endpoints and pipes are configured in ascending order properly. Rewrote all low level host mode demos' configuration descriptor parser code to ensure that pipes are enumerated in ascending order, and to ensure maximum compatibility with devices. Incremented all device mode demo's device descriptor revision numbers to ensure that any descriptor changes are re-fetched on machines which have enumerated previous versions.
-
- 07 Sep, 2010 1 commit
-
-
Dean Camera authored
Must save and restore the endpoint/pipe interrupt enable flags during reconfiguration of all endpoints/pipes in the Endpoint_ConfigureEndpoint() and Pipe_ConfigurePipe() routines.
-
- 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.
-
- 22 Aug, 2010 3 commits
-
-
Dean Camera authored
Optimise Endpoint_ConfigureEndpoint_Prv() function to produce smaller code when CONTROL_ONLY_DEVICE compile time token is defined.
-
Dean Camera authored
Split out endpoint and pipe stream functions into new EndpointStream.c/.h and PipeStream.c/.h files.
-
Dean Camera authored
Added compile time error to the AVRISP-MKII project when built for the U4 chips, as the default VTARGET detection ADC channel does not exist on these chips (thanks to Marco).
-
- 20 Aug, 2010 1 commit
-
-
Dean Camera authored
Fixed critical pipe/endpoint memory allocation issue where the bank memory address space could be silently overlapped in the USB controller if the endpoints or pipes were allocated in anything other than ascending order (thanks to Martin Degelsegger).
-
- 09 Aug, 2010 1 commit
-
-
Dean Camera authored
Removed complicated logic for the Endpoint_ConfigureEndpoint() function to use inlined or function called versions depending of if the given bank size is a compile time constant, as the compiler does a better job of optimizing with basic code. Changed over all device demos to use a clearer algorithm for the configuring of the application's endpoints.
-
- 21 Jul, 2010 1 commit
-
-
Dean Camera authored
Indent core library function parameters so that there is only one parameter per line, to increase readability.
-
- 15 Jul, 2010 1 commit
-
-
Dean Camera authored
Removed the automated checking of event names in the demo, project and bootloader makefiles due to inconsistancies between the behaviour of the command line tools used to perform the check on each platform. Removed the internal endpoint and pipe memory allocation macros, as this is already performed directly in the code. Simplify the endpoint and pipe reset procedure.
-
- 12 Jun, 2010 1 commit
-
-
Dean Camera authored
Speed up calls to Pipe_IsPipeBound() by immediately skipping unconfigured pipes, rather than performing token check first.
-
- 26 May, 2010 1 commit
-
-
Dean Camera authored
The EEPROM stream read/write functions now use eeprom_update_byte() instead of eeprom_write_byte(), so that only changed bytes are written to EEPROM to preserve its lifespan. Changed over the AVRISP-MKII and TemperatureDataLogger projects to use eeprom_update_byte() when writing non-volatile parameters to EEPROM to preserve its lifespan.
-
- 08 May, 2010 1 commit
-
-
Dean Camera authored
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.
-
- 03 May, 2010 1 commit
-
-
Dean Camera authored
Added new ENDPOINT_*_BusSuspended error code to the Endpoint function, so that the stream functions early-abort if the bus is suspended before or during a transfer.
-
- 24 Feb, 2010 1 commit
-
-
Dean Camera authored
-
- 23 Feb, 2010 2 commits
-
-
Dean Camera authored
-
Dean Camera authored
-
- 11 Feb, 2010 1 commit
-
-
Dean Camera authored
Add more include protection macros to give the user warnings when they try to manually include private driver header files, instead of the public driver headers.
-
- 30 Dec, 2009 1 commit
-
-
Dean Camera authored
-
- 28 Dec, 2009 1 commit
-
-
Dean Camera authored
-
- 21 Dec, 2009 1 commit
-
-
Dean Camera authored
-
- 17 Dec, 2009 1 commit
-
-
Dean Camera authored
Add new HotmailNotifier project, which changes a LED's colour based on the user's unread email count as sent from Windows Live Messenger.
-
- 10 Nov, 2009 1 commit
-
-
Dean Camera authored
Update CDC Class Driver character stream functions to use the correct 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.
-
- 18 Oct, 2009 1 commit
-
-
Dean Camera authored
Moved USBtoSerial demo the Projects directory, as it is simply an expanded CDC demo. Added const qualifier to Endpoint/Pipe stream write routines.
-
- 05 Aug, 2009 1 commit
-
-
Dean Camera authored
Make Control Endpoint stream transfers more reliable by adding in early aborts for unexpected new SETUP tokens, or unexpected status stage during control stream writes. Fix corruption in Device RNDIS demos TCP stack when too many connections attempted simultaneously, freezing the device when a page was re-fetched before the first connection was closed. Fix incorrect model compatibility information in the Host LowLevel demo overview text files.
-
- 21 Jul, 2009 1 commit
-
-
Dean Camera authored
Added new Endpoint_ClearStatusStage() convenience function to assist with the status stages of control transfers. Removed vague USB_IsConnected global - test USB_DeviceState or USB_HostState explicitly to gain previous functionality. Removed USB_IsSuspended global - test USB_DeviceState against DEVICE_STATE_Suspended instead. Fixed possible enumeration errors from spinloops which may fail to exit if the USB connection is severed before the exit condition becomes true.
-
- 13 Jul, 2009 1 commit
-
-
Dean Camera authored
Added new EEPROM and FLASH buffer versions of the Endpoint and Pipe stream functions. Changed Endpoint.c and Pipe.c to use a templated system to build the seperate functions, rather than duplicating each function's code many times.
-
- 28 Jun, 2009 1 commit
-
-
Dean Camera authored
Added parameter directions to function parameter documentation. Added new experimental FAST_STREAM_FUNCTIONS compile time option to speed up stream transfers at the expense of a higher FLASH consumption (needs testing to verify improved throughput).
-
- 14 Jun, 2009 1 commit
-
-
Dean Camera authored
Changed per-device controller preprocessor checks over to per-device series for better device control. Fixed error in Endpoint.c using HSOFI rather than SOFI for counting elapsed milliseconds.
-
- 08 Jun, 2009 1 commit
-
-
Dean Camera authored
Converted Host mode demos to schedulerless. Fixed host mode broken due to earlier Start-of-frame event experiments.
-
- 01 Jun, 2009 1 commit
-
-
Dean Camera authored
Commit of new class abstraction APIs for all device demos other than the MIDI demo - not documented yet. Removed scheduler and memory allocation libraries. Added new EVENT_USB_StartOfFrame event in the library to indicate the start of each USB frame (when generated). Removed Tx interrupt from the USBtoSerial demo; now sends characters via polling to ensure more time for the Rx interrupt.
-
- 15 May, 2009 1 commit
-
-
Dean Camera authored
Create a new function pointer type in StreamCallbacks.h for endpoint/pipe stream callbacks, to make stream function prototypes clearer.
-