aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/LowLevel/Template/Template_Endpoint_Control_W.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed Endpoint_Write_Control_Stream_* functions not sending a terminating IN ↵Dean Camera2009-11-201-1/+3
| | | | when the given data length is zero.
* Update CDC Class Driver character stream functions to use the correct ↵Dean Camera2009-11-101-1/+1
| | | | | | 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.
* Moved USBtoSerial demo the Projects directory, as it is simply an expanded ↵Dean Camera2009-10-181-1/+1
| | | | CDC demo. Added const qualifier to Endpoint/Pipe stream write routines.
* Make Control Endpoint stream transfers more reliable by adding in early ↵Dean Camera2009-08-051-26/+18
| | | | | | | | 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.
* Added new USB_DeviceState variable to keep track of the current Device mode ↵Dean Camera2009-07-211-3/+16
| | | | | | | | | | | | USB state. 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.
* Added new EEPROM and FLASH buffer versions of the Endpoint and Pipe stream ↵Dean Camera2009-07-131-0/+39
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.