aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/LowLevel/Endpoint.c
Commit message (Collapse)AuthorAgeFilesLines
* Added new EEPROM and FLASH buffer versions of the Endpoint and Pipe stream ↵Dean Camera2009-07-131-420/+108
| | | | 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.
* Added const modifiers to device mode class drivers.Dean Camera2009-06-281-4/+204
| | | | | | 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).
* Changed per-device controller preprocessor checks over to per-device series ↵Dean Camera2009-06-141-2/+2
| | | | | | for better device control. Fixed error in Endpoint.c using HSOFI rather than SOFI for counting elapsed milliseconds.
* Converted Host mode demos to schedulerless. Fixed host mode broken due to ↵Dean Camera2009-06-081-2/+2
| | | | earlier Start-of-frame event experiments.
* Commit of new class abstraction APIs for all device demos other than the ↵Dean Camera2009-06-011-4/+2
| | | | | | | | | | 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.
* Create a new function pointer type in StreamCallbacks.h for endpoint/pipe ↵Dean Camera2009-05-151-5/+9
| | | | stream callbacks, to make stream function prototypes clearer.
* More minor renaming of library enums and events to try to create a ↵Dean Camera2009-05-031-16/+16
| | | | consistent API.
* Fixed Endpoint_Write_Control_* functions writing more data than expected by ↵Dean Camera2009-05-021-27/+34
| | | | the host, causing it to panic (thanks to Johannes Raschke).
* Move the length decrements in the pipe and endpoint stream functions to the ↵Dean Camera2009-04-261-9/+10
| | | | point at which the buffers are operated on, to prevent decrements during iterations where no data is exchanged (thanks to Francisco Moraes).
* Endpoint configuration is now refined to give better output when all ↵Dean Camera2009-04-241-15/+4
| | | | configurations have static inputs - removed the now useless STATIC_ENDPOINT_CONFIGURATION compile time token.
* Fixed USB_RemoteWakeupEnabled flag never being set (the REMOTE WAKEUP Set ↵Dean Camera2009-04-231-0/+2
| | | | | | Feature request was not being handled). Renamed the FEATURELESS_CONTROL_ONLY_DEVICE compile-time token to CONTROL_ONLY_DEVICE.
* USB_HostRequest renamed to USB_ControlRequest, entire control request header ↵Dean Camera2009-04-221-8/+10
| | | | | | | | is now read into USB_ControlRequest in Device mode rather than having the library pass only partially read header data to the application. The USB_UnhandledControlPacket event has had its parameters removed, in favour of accessing the new USB_ControlRequest structure. The Endpoint control stream functions now correctly send a ZLP to the host when less data than requested is sent.
* Removed specialized Endpoint_ClearControl* and Pipe_ClearControl* macros in ↵Dean Camera2009-04-211-7/+7
| | | | favour of the standard Endpoint_Clear* and Pipe_Clear* macros (Atmel have confirmed no effect from setting FIFOCON on control endpoints).
* Fixed GenericHIDHost demo report write routine incorrect for control type ↵Dean Camera2009-04-161-43/+62
| | | | | | | | | | | | | | | | | | requests (thanks to Andrei Krainev). Removed Endpoint_ClearCurrentBank() and Pipe_ClearCurrentBank() in favour of new Endpoint_ClearIN(), Endpoint_ClearOUT(), Endpoint_ClearControlIN(), Endpoint_ClearControlOUT(), Pipe_ClearIN(), Pipe_ClearOUT(), Pipe_ClearControlIN() and Pipe_ClearControlOUT() macros (done to allow for the detection of packets of zero length). Renamed *_ReadWriteAllowed() macros to *_IsReadWriteAllowed() to remain consistent with the rest of the LUFA API. Endpoint_IsSetupReceived() macro has been renamed to Endpoint_IsSETUPReceived(), Endpoint_ClearSetupReceived() macro has been renamed to Endpoint_ClearControlSETUP(), the Pipe_IsSetupSent() macro has been renamed to Pipe_IsSETUPSent() and the Pipe_ClearSetupSent() macro is no longer applicable and should be removed - changes made to compliment the new endpoint and pipe bank management API. Updated all demos, bootloaders and projects to use the new endpoint and pipe management APIs (thanks to Roman Thiel). Updated library doxygen documentation, added groups, changed documentation macro functions to real functions for clarity. Removed old endpoint and pipe aliased read/write/discard routines which did not have an explicit endian specifier for clarity. Removed the ButtLoadTag.h header file, as no one used for its intended purpose anyway.
* Move StdRequestType.h, StreamCallbacks.h, USBMode.h from the LowLevel USB ↵Dean Camera2009-04-051-1/+2
| | | | driver directory to the HighLevel USB driver directory, where they are more suited.
* Updated changelog to reflect recent commit changes.Dean Camera2009-03-031-1/+1
|
* Moved all source to the trunk directory.Dean Camera2009-02-231-0/+387