aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/LowLevel
Commit message (Collapse)AuthorAgeFilesLines
* Move and rename DevChaper9.c/.h and HostChapter9.c/.h to the HighLevel ↵Dean Camera2010-07-218-862/+11
| | | | | | | | directory, new named DeviceStandardReq.c/.h and HostStandardReq.c/.h. Rename LowLevel.c/.h to USBController.c/.h. Remove dependancies on the complete <avr/io.h> header in the HighLevel USB driver directory, to ensure less work is required in later (possible) ports.
* Removed the automated checking of event names in the demo, project and ↵Dean Camera2010-07-156-19/+11
| | | | | | 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.
* Add missing eol-style properties to new source files.Dean Camera2010-07-121-52/+52
|
* Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific ↵Dean Camera2010-07-022-50/+71
| | | | | | functions that are more complicated than simple macros. Moved USB_Device_SendRemoteWakeup() to the new Device.c source file and corrected it to unfreeze and restart the USB controller clock before issuing a Remote Wakeup request. Removed the USB_Device_IsRemoteWakeupSent() and USB_Device_IsUSBSuspended() macros, as they are now obsolete.
* Renamed SERIAL_STREAM_ASSERT() macro to STDOUT_ASSERT().Dean Camera2010-06-176-109/+110
| | | | Minor tweaks to the library documentation.
* Spell check code and manual pages. Remove custom Doxygen CSS stylesheet, as ↵Dean Camera2010-06-164-5/+5
| | | | the new 1.7 Doxygen's default stylesheet is much better.
* Change over Doxygen \note documentation to \pre where applicable.Dean Camera2010-06-152-15/+13
|
* Speed up calls to Pipe_IsPipeBound() by immediately skipping unconfigured ↵Dean Camera2010-06-122-5/+8
| | | | pipes, rather than performing token check first.
* More documentation fixes.Dean Camera2010-06-031-1/+1
|
* Fixed internal device serial not being accessible on the ATMEGAXXU2 AVRs ↵Dean Camera2010-05-302-3/+3
| | | | (thanks to Axel Rohde).
* Fix spacing of the function parameter descriptions in the Doxygen documentation.Dean Camera2010-05-294-32/+32
|
* The EEPROM stream read/write functions now use eeprom_update_byte() instead ↵Dean Camera2010-05-262-6/+6
| | | | | | of eeprom_write_byte(), so that only changed bytes are written to EEPROM to preserve its lifespan. Changed over the AVRISP-MKII and TemperatureDataLogger projects to use eeprom_update_byte() when writing non-volatile parameters to EEPROM to preserve its lifespan.
* Remove incorrect check for the current device state in the Set Configuration ↵Dean Camera2010-05-131-3/+0
| | | | | | request handler of DevChapter9, which broke Set Configuration requests to the device under most circumstances. Move out the SPI prescaler list to a PROGMEM module-level variable in ISPTarget.c.
* Fixed possible device lockup when INTERRUPT_CONTROL_ENDPOINT is enabled and ↵Dean Camera2010-05-132-2/+6
| | | | the control endpoint is not properly selected when the ISR completes.
* Fix nasty bug in USBInterrupt.c which would cause a lockup if the control ↵Dean Camera2010-05-111-4/+4
| | | | endpoint was not selected at the point the USB endpoint interrupt fires when INTERRUPT_CONTROL_ENDPOINT is defined.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-0820-6220/+6220
| | | | correctly converted to the target system's native end of line style.
* Fixed INTERRUPT_CONTROL_ENDPOINT compile time option preventing other ↵Dean Camera2010-05-042-0/+4
| | | | interrupts from occuring while the control endpoint request is being processed, causing possible lockups if a USB interrupt occurs during a transfer.
* Fixed device state not being reset back to the default state if the host ↵Dean Camera2010-05-042-23/+24
| | | | | | | | sets the address to 0x00. Fixed Set Configuration requests not being stalled until the host has set the device's address. Fixed possibility of internal signature retrieval being corrupted if an interrupt occurs during a signature byte read (thanks to Andrei Krainev).
* Added new ENDPOINT_*_BusSuspended error code to the Endpoint function, so ↵Dean Camera2010-05-034-5/+27
| | | | that the stream functions early-abort if the bus is suspended before or during a transfer.
* Oops - relocated USBInterrupt.h header file requires adjusted include paths ↵Dean Camera2010-04-281-3/+3
| | | | for the other USB driver header files.
* Relocate USBInterrupt.c/.h from the HighLevel USB driver directory to the ↵Dean Camera2010-04-284-2/+348
| | | | LowLevel directory as it is hardware-dependent.
* USB_Init() no longer calls sei() to enable global interrupts - this must now ↵Dean Camera2010-04-282-4/+6
| | | | be done in the user application once all init code has run.
* Fixed Set/Clear Feature requests directed to a non-configured endpoint not ↵Dean Camera2010-04-142-15/+15
| | | | | | returning a stall to the host. Make TeensyHID bootloader use an 8 byte control endpoint to match the official Teensy, just in case Paul decides to authenticate on that attribute in the future.
* Removed two-step endpoint/pipe bank clear and switch sequence for smaller, ↵Dean Camera2010-04-136-19/+41
| | | | | | | | 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-298-1/+79
| | | | Remove accidentally duplicated model-specific peripheral driver files.
* Software PDI mode breaks unless the software USART has 100 cycles between bits.Dean Camera2010-03-171-5/+4
|
* Fix incorrect LED mask name in the Webserver project.Dean Camera2010-03-092-3/+5
| | | | Fix missing text from the Host Mode States enum documentation.
* Fix incorrect error when directly including the LUFA internal USB library ↵Dean Camera2010-02-248-8/+8
| | | | components.
* Revert changes made for the partial port to the AVR32 architecture.Dean Camera2010-02-2412-667/+288
|
* More AVR32 achitecture ports.Dean Camera2010-02-244-40/+52
|
* More porting of the USB core to the AVR32.Dean Camera2010-02-2310-172/+342
|
* Start porting the USB core to the AVR32 UC3B.Dean Camera2010-02-2311-109/+306
|
* Add more include protection macros to give the user warnings when they try ↵Dean Camera2010-02-1114-8/+52
| | | | 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-013-4/+22
| | | | | | 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.
* 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-3014-28/+28
|
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-2814-98/+98
|
* Ensure that unsupported SetFeature/ClearFeature request targets cause a ↵Dean Camera2009-12-213-7/+16
| | | | STALL back to the host.
* Added new NO_DEVICE_SELF_POWER and NO_DEVICE_REMOTE_WAKEUP compile time options.Dean Camera2009-12-205-28/+62
|
* Fixed USB_CurrentMode not being reset to USB_MODE_NONE when the USB ↵Dean Camera2009-12-181-1/+1
| | | | interface is shut down and both Host and Device modes can be used (thanks to Daniel Levy).
* Un-inline the SendAddress function in NVMTarget.c/.h of the AVRISP project.Dean Camera2009-12-172-15/+15
| | | | Add new HotmailNotifier project, which changes a LED's colour based on the user's unread email count as sent from Windows Live Messenger.
* Use -pedantic compile time option to find and correct several minor code errors.Dean Camera2009-12-132-11/+11
|
* 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.).
* Add new USB_Host_GetDeviceStringDescriptor() convenience function.Dean Camera2009-12-062-0/+32
|
* Fix double oops -- Host mode settle delay was still being ignored due to ↵Dean Camera2009-12-041-1/+1
| | | | inverted logic, HID Parser was assigning the usage Min/Max usage value to the report item's collection path rather than the report item itself.
* Oops - fix Host mode pre-enumeration settle delay being ignored leading to ↵Dean Camera2009-12-041-2/+0
| | | | failure to enumerate certain devices.
* 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.