aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/LowLevel/Endpoint.h
Commit message (Collapse)AuthorAgeFilesLines
* Initial restructuring of the core USB driver module to support multiple ↵Dean Camera2011-02-191-900/+0
| | | | architectures in the future.
* Add new ARCH option to the makefiles to (eventually) specify the target ↵Dean Camera2011-02-191-4/+4
| | | | device architecture. Update non-usb peripheral drivers to reflect future multiple architecture support.
* Added new ADC_GET_CHANNEL_MASK() convenience macro to the ADC driver.Dean Camera2011-01-161-2/+8
|
* Minor documentation improvements.Dean Camera2011-01-081-24/+25
|
* 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-2/+2
| | | | counting functions.
* Added new Pipe_GetBusyBanks(), Endpoint_GetBusyBanks() and ↵Dean Camera2010-10-291-0/+29
| | | | Endpoint_AbortPendingIN() functions.
* Move RNDISConstants.h into the RNDIS class driver common definition header.Dean Camera2010-10-281-2/+8
| | | | 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.
* Renamed ENDPOINT_DOUBLEBANK_SUPPORTED() to ENDPOINT_BANKS_SUPPORTED() and ↵Dean Camera2010-10-131-18/+18
| | | | changed it to return the maximum number of supported banks for the given endpoint.
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-131-62/+63
| | | | tool made by Laszlo Monda
* Remove USB_MODE_* macros, replace with a semantically linked USB_Modes_t enum.Dean Camera2010-10-121-25/+25
| | | | | | | | 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.
* Fixed endpoint selection within the CALLBACK_HID_Device_CreateHIDReport() ↵Dean Camera2010-09-241-1/+1
| | | | | | callback function causing broken GET REPORT requests. Minor whitespace fixes.
* Better documentation for the Endpoint_ConfigureEndpoint() and ↵Dean Camera2010-08-241-11/+24
| | | | Pipe_ConfigurePipe() functions.
* Split out endpoint and pipe stream functions into new EndpointStream.c/.h ↵Dean Camera2010-08-221-517/+20
| | | | and PipeStream.c/.h files.
* Removed complicated logic for the Endpoint_ConfigureEndpoint() function to ↵Dean Camera2010-08-091-118/+98
| | | | | | 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.
* Use static inline intermediatary functions in Endpoint.h to handle the ↵Dean Camera2010-07-271-14/+36
| | | | masking for the private endpoint configuration routine, instead of performing the masking in the Endpoint_ConfigureEndpoint() macro.
* Move over message ID specific header data to unions inside the standard TMC ↵Dean Camera2010-07-271-2/+2
| | | | header structure, so that all header data is read in one chunk in the incomplete TMC demo.
* Convert over internal pseudo-function macros to true inline functions for ↵Dean Camera2010-07-221-271/+311
| | | | added type-safety and compile-checking.
* Add missing const qualifiers to class drivers.Dean Camera2010-07-211-35/+71
| | | | 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-33/+33
| | | | Minor tweaks to the library documentation.
* Change over Doxygen \note documentation to \pre where applicable.Dean Camera2010-06-151-10/+8
|
* Fix spacing of the function parameter descriptions in the Doxygen documentation.Dean Camera2010-05-291-4/+4
|
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-081-1264/+1264
| | | | correctly converted to the target system's native end of line style.
* Added new ENDPOINT_*_BusSuspended error code to the Endpoint function, so ↵Dean Camera2010-05-031-4/+16
| | | | that the stream functions early-abort if the bus is suspended before or during a transfer.
* Removed two-step endpoint/pipe bank clear and switch sequence for smaller, ↵Dean Camera2010-04-131-5/+16
| | | | | | | | 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-265/+111
|
* More AVR32 achitecture ports.Dean Camera2010-02-241-6/+10
|
* More porting of the USB core to the AVR32.Dean Camera2010-02-231-119/+211
|
* Start porting the USB core to the AVR32 UC3B.Dean Camera2010-02-231-5/+63
|
* 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-0/+5
| | | | | | 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
|
* Fix inverted bit-banged USART logic in the AVRISP project for PDI ↵Dean Camera2009-12-091-1/+1
| | | | programming. Add a delay to the clock toggling in the AVRISP project to ensure that the programming speed does not exceed 10MHz under any conditions to satisfy the limits in the datasheet for all target voltages. Fix incorrect pin being used as the DATA in in PDI programming mode.
* Fix incorrect definition of Endpoint_BytesInEndpoint() for the U4 parts.Dean Camera2009-12-091-2/+4
|
* Increase timeout of Mass Storage and Still Image host commands to 10 seconds ↵Dean Camera2009-12-091-1/+1
| | | | | | | | (up from 5) to account for slow-processing devices. Added brace guards to macros with parameters to prevent unintended changed evaluation of the macro expression. Minor code cleanups (remove redundant comments, fix spacing, etc.).
* 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.
* 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-8/+8
| | | | 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-12/+12
| | | | CDC demo. Added const qualifier to Endpoint/Pipe stream write routines.
* Minor documentation fixups.Dean Camera2009-10-031-13/+13
|
* 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 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".
* 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.