aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/LowLevel/LowLevel.h
Commit message (Collapse)AuthorAgeFilesLines
* Spell check code and manual pages. Remove custom Doxygen CSS stylesheet, as ↵Dean Camera2010-06-161-2/+2
| | | | the new 1.7 Doxygen's default stylesheet is much better.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-081-389/+389
| | | | correctly converted to the target system's native end of line style.
* Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the ↵Dean Camera2010-04-281-1/+1
| | | | LowLevel directory as it is hardware-dependent.
* USB_Init() no longer calls sei() to enable global interrupts - this must now ↵Dean Camera2010-04-281-2/+6
| | | | be done in the user application once all init code has run.
* Removed two-step endpoint/pipe bank clear and switch sequence for smaller, ↵Dean Camera2010-04-131-2/+4
| | | | | | | | 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-64/+39
|
* More AVR32 achitecture ports.Dean Camera2010-02-241-33/+37
|
* More porting of the USB core to the AVR32.Dean Camera2010-02-231-2/+17
|
* Start porting the USB core to the AVR32 UC3B.Dean Camera2010-02-231-4/+10
|
* Add more include protection macros to give the user warnings when they try ↵Dean Camera2010-02-111-0/+4
| | | | to manually include private driver header files, instead of the public driver headers.
* Fix incorrect preprocessor checks in the PLL prescaler mask determination ↵Dean Camera2010-01-161-2/+2
| | | | code for the ATMEGA32U2.
* Fixed invalid USB controller PLL prescaler values for the ATMEGAxxU2 controllersDean Camera2010-01-151-2/+4
| | | | | | Fixed lack of support for the ATMEGA32U2 in the DFU and CDC class bootloaders Changed incomplete Webserver project over to using the uIP timer library.
* 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
|
* Fixed USB driver failing to define the PLL prescaler mask for the ATMEGA8U2 ↵Dean Camera2009-11-291-2/+4
| | | | | | and ATMEGA16U2. Simplified the USB.h master include file's target validity checks.
* The incomplete StandaloneProgrammer project now uses Host and Device Mass ↵Dean Camera2009-11-231-8/+4
| | | | | | | | | | | | storage classes, so that program data can either be loaded onto the device's Dataflash storage, or read off an attached USB memory stick. The USB target family and allowable USB mode tokens are now public and documented (USB_CAN_BE_*, USB_SERIES_*_AVR). The SCSI_Request_Sense_Response_t and SCSI_Inquiry_Response_t type defines are now part of the Mass Storage Class driver common defines, rather than being defined in the Host mode Class driver section only. The USB_MODE_HOST token is now defined even when host mode is not available. Added missing CDC_Host_CreateBlockingStream() function code to the CDC Host Class driver.
* Fix incorrect compiler error message when F_CLOCK is not defined by the user ↵Dean Camera2009-11-151-1/+1
| | | | (thanks to Dave Lyons).
* Renamed all library events to properly seperate out Device and Host mode ↵Dean Camera2009-08-051-2/+2
| | | | | | | | events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only. Remove VBUS events - not needed as the library takes care of VBUS detection and feedback on supported AVRs via the USB_Device_Connected and USB_Device_Disconnected events. Fixed incorrect Host state assignment in the incomplete BluetoothHost demo.
* Cleanup USBMode.h to simplify preprocessor logic.Dean Camera2009-07-291-0/+6
|
* Slight changes to TeensyHID bootloader to ensure it builds under the 2KB ↵Dean Camera2009-07-211-3/+3
| | | | | | boundary. Changed USB_Init() and USB_Shutdown() so that they are no longer dependant on oneanother for possible code savings when the interface is never explicitly shut down.
* Added const modifiers to device mode class drivers.Dean Camera2009-06-281-7/+7
| | | | | | 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).
* Fix errors from last commit.Dean Camera2009-06-141-6/+4
|
* Changed per-device controller preprocessor checks over to per-device series ↵Dean Camera2009-06-141-16/+18
| | | | | | 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-3/+0
| | | | earlier Start-of-frame event experiments.
* Commit of new class abstraction APIs for all device demos other than the ↵Dean Camera2009-06-011-0/+3
| | | | | | | | | | 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.
* Rewritten event system to remove all macros, to make user code clearer.Dean Camera2009-05-181-19/+1
| | | | | | | | Fixed incorrect ENDPOINT_EPNUM_MASK mask preventing endpoints above EP3 from being selected (thanks to Jonathan Oakley). Removed STREAM_CALLBACK() macro - callbacks now use regular function definitions to clarify user code. Removed DESCRIPTOR_COMPARATOR() macro - comparators should now use regular function definitions to clarify user code.
* Moved USB Host state machine code out from USBTask.c and into Host.c, where ↵Dean Camera2009-05-131-1/+1
| | | | it more properly belongs.
* Changed PIPE_CONTROLPIPE_DEFAULT_SIZE from 8 to 64 to try to prevent ↵Dean Camera2009-05-041-6/+6
| | | | | | problems with faulty devices which do not respect the given wLength value when reading in the device descriptor. Further documentation improvements - removed file view from the main library documentation, replaced file references in the documentation with group references.
* Fixed naming of OTG.h functions, to make them consistent with the rest of ↵Dean Camera2009-05-031-1/+1
| | | | the library API.
* More minor renaming of library enums and events to try to create a ↵Dean Camera2009-05-031-3/+3
| | | | consistent API.
* Documentation enhancements to improve documentation cross-references.Dean Camera2009-04-221-16/+16
|
* More documentation changes for better module-level documentation rather than ↵Dean Camera2009-04-171-6/+0
| | | | file-level documentation.
* Fixed GenericHIDHost demo report write routine incorrect for control type ↵Dean Camera2009-04-161-1/+10
| | | | | | | | | | | | | | | | | | 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.
* Removed all binary constants and replaced with decimal or hexadecimal ↵Dean Camera2009-04-051-11/+4
| | | | constants so that unpatched GCC compilers can still build the code without having to be itself patched and recompiled first.
* Move StdRequestType.h, StreamCallbacks.h, USBMode.h from the LowLevel USB ↵Dean Camera2009-04-051-1/+3
| | | | driver directory to the HighLevel USB driver directory, where they are more suited.
* Commit for the 090401 release.Dean Camera2009-03-311-23/+30
|
* Fixed incorrect/missing control status stage transfers on demos, bootloaders ↵Dean Camera2009-03-101-1/+1
| | | | and applications (thanks to Nate Lawson).
* Makefiles and library modified to add a new F_CLOCK constant to give the ↵Dean Camera2009-02-261-2/+7
| | | | | | unprescaled master input clock frequency, so that the correct PLL mask can be determined even when the CPU (F_CPU) clock rate is prescaled outside the normal input range of the PLL. Started to clean up the AVRISP Programmer project code, donated by Opendous Inc.
* Moved all source to the trunk directory.Dean Camera2009-02-231-0/+371