aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/LowLevel
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Added new RNDIS Host class driver and the beginnings of a RNDISEthernetHost ↵Dean Camera2009-11-261-5/+5
| | | | | | | | Class Driver demo. Fixed all Class drivers to ensure they have appropriate guards on each function to ensure the device is enumerated before running, fixed error codes on all guards to return "DeviceDisconnected" where possble. Renamed HOST_SENDCONTROL_DeviceDisconnect enum value to HOST_SENDCONTROL_DeviceDisconnected to be in line with the rest of the library enum error codes.
* Added new RNDISHost Host LowLevel demo. Fixed misnamed Pipe_SetPipeToken() ↵Dean Camera2009-11-254-8/+8
| | | | macro for setting a pipe's direction. Fixed CDCHost failing on devices with bidirectional endpoints.
* Fixed host state machine not enabling Auto VBUS mode when ↵Dean Camera2009-11-241-5/+6
| | | | HOST_DEVICE_SETTLE_DELAY_MS is set to zero.
* Fixed broken USB_GetNextDescriptor() function causing the descriptor to jump ↵Dean Camera2009-11-241-1/+1
| | | | | | ahead double the expected amount. Fixed Pipe_IsEndpointBound() not masking the given Endpoint Address against PIPE_EPNUM_MASK.
* 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.
* Fixed Endpoint_Write_Control_Stream_* functions not sending a terminating IN ↵Dean Camera2009-11-202-1/+6
| | | | when the given data length is zero.
* Fix incorrect compiler error message when F_CLOCK is not defined by the user ↵Dean Camera2009-11-151-1/+1
| | | | (thanks to Dave Lyons).
* Corrections, improvements and additions to the incomplete RNDISHost demo.Dean Camera2009-11-131-1/+1
| | | | Change device demos which use the joystick to use the natural UP, DOWN, LEFT, RIGHT ordering in all demos when checking the joystick's position.
* Minor code cleanups for clarity.Dean Camera2009-11-111-15/+12
|
* Update CDC Class Driver character stream functions to use the correct ↵Dean Camera2009-11-107-35/+35
| | | | | | 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-093-3/+3
|