aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/LowLevel/Pipe.h
Commit message (Collapse)AuthorAgeFilesLines
* Initial restructuring of the core USB driver module to support multiple ↵Dean Camera2011-02-191-943/+0
| | | | architectures in the future.
* Add new ARCH option to the makefiles to (eventually) specify the target ↵Dean Camera2011-02-191-5/+5
| | | | device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support.
* Minor documentation improvements.Dean Camera2011-01-081-25/+26
|
* Update copyright year on all source files.Dean Camera2011-01-011-2/+2
|
* Re-add in old Endpoint/Pipe workaround for unordered pipes - add new ↵Dean Camera2010-12-241-1/+2
| | | | 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.
* Oops - typos in the naming of the NBUSYBK0 bits breaking the new busy bank ↵Dean Camera2010-10-291-1/+1
| | | | counting functions.
* Added new Pipe_GetBusyBanks(), Endpoint_GetBusyBanks() and ↵Dean Camera2010-10-291-0/+13
| | | | Endpoint_AbortPendingIN() functions.
* Move RNDISConstants.h into the RNDIS class driver common definition header.Dean Camera2010-10-281-2/+11
| | | | Add logical grouping of related #define values for better Doxygen documentation.
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-281-1/+1
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-131-70/+71
| | | | tool made by Laszlo Monda
* Fixed MIDI_Host_Flush() not aborting early when the specified MIDI host ↵Dean Camera2010-10-121-1/+1
| | | | | | 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.
* Remove USB_MODE_* macros, replace with a semantically linked USB_Modes_t enum.Dean Camera2010-10-121-1/+1
| | | | | | | | 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().
* Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction ↵Dean Camera2010-09-301-2/+5
| | | | | | | | | | 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.
* Better documentation for the Endpoint_ConfigureEndpoint() and ↵Dean Camera2010-08-241-17/+30
| | | | Pipe_ConfigurePipe() functions.
* Split out endpoint and pipe stream functions into new EndpointStream.c/.h ↵Dean Camera2010-08-221-264/+17
| | | | and PipeStream.c/.h files.
* Removed complicated logic for the Endpoint_ConfigureEndpoint() function to ↵Dean Camera2010-08-091-17/+13
| | | | | | 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.
* Convert over internal pseudo-function macros to true inline functions for ↵Dean Camera2010-07-221-321/+389
| | | | added type-safety and compile-checking.
* Replace internal Pipe_BytesToEPSizeMask() routine with a new version which ↵Dean Camera2010-07-211-12/+10
| | | | results in smaller code.
* Add missing const qualifiers to class drivers.Dean Camera2010-07-211-17/+42
| | | | Indent core library function parameters so that there is only one parameter per line, to increase readability.
* Removed the automated checking of event names in the demo, project and ↵Dean Camera2010-07-151-3/+0
| | | | | | 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.
* Renamed SERIAL_STREAM_ASSERT() macro to STDOUT_ASSERT().Dean Camera2010-06-171-46/+46
| | | | Minor tweaks to the library documentation.
* Change over Doxygen \note documentation to \pre where applicable.Dean Camera2010-06-151-5/+5
|
* Fix spacing of the function parameter descriptions in the Doxygen documentation.Dean Camera2010-05-291-13/+13
|
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-081-1065/+1065
| | | | correctly converted to the target system's native end of line style.
* Removed two-step endpoint/pipe bank clear and switch sequence for smaller, ↵Dean Camera2010-04-131-7/+5
| | | | | | | | faster endpoint/pipe code. Added spacing between multiple paragraphs in Doxygen \note sections. Removed call to the clock prescaler reset function in the Teensy bootloader to save space - the user application is accessed via a watchdog reset anyway, so the prescale reset would only affect the speed of the bootloader itself.
* Add file-level brief documentation.Dean Camera2010-03-291-0/+10
| | | | Remove accidentally duplicated model-specific peripheral driver files.
* Fix incorrect error when directly including the LUFA internal USB library ↵Dean Camera2010-02-241-1/+1
| | | | components.
* Revert changes made for the partial port to the AVR32 architecture.Dean Camera2010-02-241-103/+7
|
* More AVR32 achitecture ports.Dean Camera2010-02-241-0/+4
|
* More porting of the USB core to the AVR32.Dean Camera2010-02-231-16/+51
|
* Start porting the USB core to the AVR32 UC3B.Dean Camera2010-02-231-4/+61
|
* Add more include protection macros to give the user warnings when they try ↵Dean Camera2010-02-111-0/+5
| | | | to manually include private driver header files, instead of the public driver headers.
* Fixed Pipe_IsEndpointBound() function not taking the endpoint's direction ↵Dean Camera2010-02-011-2/+8
| | | | | | into account. Re-added Pipe_IsEndpointBound() calls to the CDC and RNDIS host class drivers, not that the function has the correct behaviour for devices with bidirectional endpoints.
* Update copyright year to 2010.Dean Camera2009-12-301-2/+2
|
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-281-7/+7
|
* Use -pedantic compile time option to find and correct several minor code errors.Dean Camera2009-12-131-1/+1
|
* Added new RNDISHost Host LowLevel demo. Fixed misnamed Pipe_SetPipeToken() ↵Dean Camera2009-11-251-1/+1
| | | | macro for setting a pipe's direction. Fixed CDCHost failing on devices with bidirectional endpoints.
* Spell check all source code variables, comments and strings.Dean Camera2009-11-091-1/+1
|
* Add double banking property to LUFA powered projects in the Projects ↵Dean Camera2009-11-061-6/+6
| | | | directory. Add guards to macro parameters to ensure that formulas passed as parameters don't mess up the internal macro structure.
* Moved USBtoSerial demo the Projects directory, as it is simply an expanded ↵Dean Camera2009-10-181-6/+6
| | | | CDC demo. Added const qualifier to Endpoint/Pipe stream write routines.
* Minor documentation fixups.Dean Camera2009-10-031-13/+13
|
* Removed mostly useless "TestApp" demo, as it was mainly useful only for ↵Dean Camera2009-09-301-1/+1
| | | | | | | | checking for sytax errors in the library. MIDI device demos now receive MIDI events from the host and display note ON messages via the board LEDs. Added beginnings of a MIDI class bootloader.
* Doxygen fixes to \param directives to give data direction in all projects. ↵Dean Camera2009-09-241-1/+1
| | | | Make HID item filtering routines clearer in the HID WithParser demos.
* Add const qualifiers to Host mode Class drivers.Dean Camera2009-09-211-1/+1
| | | | Fix KeyboardHost ClassDriver demo; boot protocol keyboard report structure in the Host Mode HID Class driver uses the full keycode array from the attached device.
* Added new Pipe_IsFrozen() macro to determine if the currently selected pipe ↵Dean Camera2009-09-201-0/+8
| | | | | | | | is frozen. Added new USB_GetHIDReportSize() function to the HID report parser to retrieve the size of a given report by its ID. More additions to the unfinished HID Host Class Driver.
* Add StillImage Host Class Driver functions for opening and closing sessions. ↵Dean Camera2009-09-021-1/+1
| | | | | | Ensure IsActive is set on the interface to allow device functions to run. Fix spelling of "Received" in all source files where it is misspelt "Recieved".
* Oops: Really disable building of Projects/Host/ClassDriver directory in the ↵Dean Camera2009-08-261-4/+8
| | | | | | | | Projects/Host/ makefile. Add more skeleton functions and definitions to the Mass Storage Host mode Class driver. Made Endpoint_Write_DWord_* functions echo the structure of the matching Endpoint routines for clarity.
* Optimized Endpoint_Read_Word_* and Pipe_Read_Word_* macros to reduce ↵Dean Camera2009-08-251-8/+16
| | | | | | compiled size. Fixed Programmer's Notepad project file to reflect new location of AVRISP project.
* Add LOAD ADDRESS command parsing to the V2 Protocol hander in the AVRISP ↵Dean Camera2009-08-201-10/+10
| | | | | | project. Fix up references to functions in the Endpoint/Pipe documentation.
* Added new Pipe_BoundEndpointNumber() and Pipe_IsEndpointBound() functions.Dean Camera2009-07-261-3/+21
|