aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers
Commit message (Collapse)AuthorAgeFilesLines
* 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-174-17/+20
| | | | Add new HotmailNotifier project, which changes a LED's colour based on the user's unread email count as sent from Windows Live Messenger.
* The SImage_Host_SendBlockHeader() and SImage_Host_ReceiveBlockHeader() Still ↵Dean Camera2009-12-162-7/+22
| | | | Image Host Class driver functions are now public.
* Fix a bug in the Still Image Host Class driver where the returned block ↵Dean Camera2009-12-151-2/+0
| | | | | | status code was being truncated. Add programming support to the AVRISP project's PDI programming mode; paged memory writes are not currently functional.
* Test with -Wextra, fix library warnings due to unused function parameters.Dean Camera2009-12-1311-12/+26
|
* Oops - wrong casting on the Configuration Descriptor pointer advance routine.Dean Camera2009-12-131-1/+1
|
* Use -pedantic compile time option to find and correct several minor code errors.Dean Camera2009-12-139-37/+37
|
* 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-096-11/+13
| | | | | | | | (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
|
* Fixed Mass Storage Host Class driver and Low Level demo not clearing the ↵Dean Camera2009-12-042-2/+9
| | | | error condition if an attached device returns a STALL to a GET MAX LUN request (thanks to Martin Luxen).
* Added support for the Atmel EVK527 board hardware.Dean Camera2009-12-0410-3/+557
|
* Fix double oops -- Host mode settle delay was still being ignored due to ↵Dean Camera2009-12-042-4/+4
| | | | 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.
* Fix incorrect const'ness of the ReportItem parameter in ↵Dean Camera2009-12-042-2/+2
| | | | USB_SetHIDReportItemInfo().
* Fixed HID Parser not distributing the Usage Min and Usage Max values across ↵Dean Camera2009-12-042-9/+38
| | | | | | | | an array of report items. Added new HID_ALIGN_DATA() macro to return the pre-retrieved value of a HID report item, left-aligned to a given datatype. Added new PreviousValue to the HID Report Parser report item structure, for easy monitoring of previous report item values.
* Added support for the Dataflash mounted on the XPLAIN board. Added new ↵Dean Camera2009-12-037-3/+235
| | | | XPLAIN_REV1 board target for the first revision XPLAIN board, which used a different (smaller) Dataflash IC to later revisions.
* Added CDC_Host_Flush() function to the CDC Host Class driver to flush sent ↵Dean Camera2009-11-303-0/+51
| | | | data to the attached device.
* Fixed USB driver failing to define the PLL prescaler mask for the ATMEGA8U2 ↵Dean Camera2009-11-293-21/+20
| | | | | | and ATMEGA16U2. Simplified the USB.h master include file's target validity checks.
* Add to the existing CDC Class Driver's CreateStream() function documentation ↵Dean Camera2009-11-292-2/+4
| | | | to explicitly state that the created streams are bidirectional.
* Better checking of whether a packet is received in the RNDISEthernetHost ↵Dean Camera2009-11-271-4/+4
| | | | Class driver demo - show busy LED status while packets are being printed out.
* Complete RNDIS Host Class driver code - add SendPacket function.Dean Camera2009-11-263-2/+56
| | | | Correct CDC Host Class driver token handling for sending data on bidirectional data endpoints.
* Remove documentation of deleted parameters from the RNDIS Host Class ↵Dean Camera2009-11-261-2/+0
| | | | driver's device Initialize function.
* Fix RNDIS Device Class driver - RNDISConstants.h has moved out to the Common ↵Dean Camera2009-11-261-1/+0
| | | | Class driver directory.
* Added new RNDIS Host class driver and the beginnings of a RNDISEthernetHost ↵Dean Camera2009-11-2616-44/+769
| | | | | | | | 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.
* Fix typo in the StillImageHost LowLevel demo, and the CDC Host Class Driver.Dean Camera2009-11-251-2/+2
|
* Fix build and Doxygen errors.Dean Camera2009-11-251-2/+2
|
* Added new RNDISHost Host LowLevel demo. Fixed misnamed Pipe_SetPipeToken() ↵Dean Camera2009-11-256-21/+66
| | | | macro for setting a pipe's direction. Fixed CDCHost failing on devices with bidirectional endpoints.
* Added new XPLAIN serial Bridge project (thanks to John Steggall for the ↵Dean Camera2009-11-251-1/+1
| | | | software UART code).
* 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-243-6/+6
| | | | | | ahead double the expected amount. Fixed Pipe_IsEndpointBound() not masking the given Endpoint Address against PIPE_EPNUM_MASK.
* Fixed misnamed SI_Host_USBTask() and SI_Host_ConfigurePipes() functions.Dean Camera2009-11-233-7/+7
|
* Added new ReportType parameter to the HID Device Class driver ↵Dean Camera2009-11-232-5/+8
| | | | CALLBACK_HID_Device_CreateHIDReport() callback to indicate the report type to generate.
* Fixed incorrect values for REPORT_ITEM_TYPE_* enum values causing corrupt ↵Dean Camera2009-11-231-3/+3
| | | | data in the HID Host Parser.
* The incomplete StandaloneProgrammer project now uses Host and Device Mass ↵Dean Camera2009-11-235-73/+124
| | | | | | | | | | | | 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 doxygen documentation - doxygen was getting confused on the ↵Dean Camera2009-11-1720-51/+65
| | | | variable-length ATTR_NON_NULL_PTR_ARG() macro used on function prototypes and was generating many return types for several functions in the documentation (thanks to David Lyons).
* Make RNDISHost demo validate the set Packet Filter to ensure that it is ↵Dean Camera2009-11-171-5/+5
| | | | | | being sent correctly. Add new (incomplete) StandaloneProgrammer project, using the ELM Petite FAT library to read files stored on the board's dataflash by the host.
* Fixed HOST_STATE_AS_GPIOR being ignored whilst in Host mode (thanks to David ↵Dean Camera2009-11-162-4/+9
| | | | Lyons).
* Fix incorrect compiler error message when F_CLOCK is not defined by the user ↵Dean Camera2009-11-151-1/+1
| | | | (thanks to Dave Lyons).
* Cleanups to the MassStorage Device demos, and the MassStorage Device Class ↵Dean Camera2009-11-152-25/+39
| | | | driver.
* Corrections, improvements and additions to the incomplete RNDISHost demo.Dean Camera2009-11-132-1/+10
| | | | 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.
* Corrected the name of the misnamed USB_GetDeviceConfigDescriptor() function ↵Dean Camera2009-11-132-5/+5
| | | | to USB_Host_GetDeviceConfigDescriptor().
* Add blocking versions of the CDC Class driver streams, for applications ↵Dean Camera2009-11-124-0/+51
| | | | requiring blocking reads.
* Add beginnings of a RNDIS Ethernet Host demo.Dean Camera2009-11-122-24/+22
|
* Minor code cleanups for clarity.Dean Camera2009-11-113-19/+19
|
* Update CDC Class Driver character stream functions to use the correct ↵Dean Camera2009-11-1010-43/+41
| | | | | | 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.
* Added new stream creation function to the CDC Class drivers, to easily make ↵Dean Camera2009-11-104-0/+72
| | | | standard streams from CDC Class driver instances.
* Spell check all source code variables, comments and strings.Dean Camera2009-11-0928-54/+54
|