aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers
Commit message (Collapse)AuthorAgeFilesLines
* Rename the AT90USBXXX67 internal driver directory to AVRU4U6U7.Dean Camera2009-11-034-7/+7
|
* Add const attribute to class driver APIs.Dean Camera2009-11-0312-42/+42
| | | | Add new manual pages detailing the advantages of LUFA over the official Atmel USB AVR stack, and reasons why LUFA should be used over a built-from-scratch USB stack.
* Make HID device class driver ignore the previous HID report comparison ↵Dean Camera2009-10-262-5/+15
| | | | buffer when the user sets it to NULL, disabling automatic report comparisons. Update HID device class driver documentation giving previous report buffer limitations.
* Make HID device class driver reselect the correct endpoint after the user ↵Dean Camera2009-10-261-0/+3
| | | | callbacks have fired.
* Moved USBtoSerial demo the Projects directory, as it is simply an expanded ↵Dean Camera2009-10-187-21/+43
| | | | CDC demo. Added const qualifier to Endpoint/Pipe stream write routines.
* Fix AudioOutput and AudioInput class driver demos' descriptors -- incorrect ↵Dean Camera2009-10-141-5/+24
| | | | value was being supplied in the audio descritors field giving the number of discrete audio formats the device supports.
* Add new MIDI Host Class driver to the library, and new MIDIHost ClassDriver ↵Dean Camera2009-10-0810-43/+375
| | | | | | demo. Make MouseHost and KeyboardHost ClassDriver demos use the HID Class driver's structures for the boot protocol Mouse/Keyboard report data, rather than rolling their own.
* Fix accidentally changed code breaking the HID descriptor parser.Dean Camera2009-10-051-2/+1
|
* Fix broken Endpoint/Pipe stream templates.Dean Camera2009-10-042-2/+2
| | | | Simplify AudioOutput demos, to reduce the number of cycles needed to process each incomming sample.
* Minor documentation fixups.Dean Camera2009-10-032-26/+26
|
* Changed Audio Class driver sample read/write functions to be inline, to ↵Dean Camera2009-10-034-84/+88
| | | | | | reduce the number of cycles needed to transfer samples to and from the device (allowing more time for processing and output). Fixed ClassDriver AudioOutput demo not selecting an audio output mode.
* Added support for the Atmel XPLAIN board.Dean Camera2009-10-024-6/+129
|
* Added new HID_HOST_BOOT_PROTOCOL_ONLY compile time token to reduce the size ↵Dean Camera2009-09-302-29/+72
| | | | of the HID Host Class driver when Report protocol is not needed.
* Fixed issue in the HID Host class driver's HID_Host_SendReportByID() routine ↵Dean Camera2009-09-301-1/+1
| | | | using the incorrect mode (control/pipe) to send report to the attached device.
* Removed mostly useless "TestApp" demo, as it was mainly useful only for ↵Dean Camera2009-09-302-1/+3
| | | | | | | | checking for sytax errors in the library. MIDI device demos now receive MIDI events from the host and display note ON messages via the board LEDs. Added beginnings of a MIDI class bootloader.
* Fixed PrinterHost demo returning invalid Device ID data when the attached ↵Dean Camera2009-09-281-1/+1
| | | | device does not have a device ID (thanks to Andrei Krainev).
* Doxygen fixes to \param directives to give data direction in all projects. ↵Dean Camera2009-09-244-5/+7
| | | | Make HID item filtering routines clearer in the HID WithParser demos.
* Fix incorrect names for the HID Host protocol setting routines.Dean Camera2009-09-242-6/+6
|
* Add new error condition to the HID Report Parser for when a report is parsed ↵Dean Camera2009-09-222-0/+4
| | | | but no unfiltered items are encountered (i.e. nothing of interest in the device report). Make all host HID "WithParser" demos print the new error condition.
* Add new attributes to the HID Report Parser and HID Host Mode Class driver ↵Dean Camera2009-09-214-6/+21
| | | | to keep track of the largest report the device can send for buffer allocation purposes. Change MouseHostWithParser and KeyboardHostWithParser demos to only allocate the needed number of bytes.
* Finish initial draft of the Host Mode HID Class driver.Dean Camera2009-09-213-69/+78
| | | | Add new MouseHostWithParser and KeyboardHostWithParser Host Class driver demos.
* Add const qualifiers to Host mode Class drivers.Dean Camera2009-09-2112-107/+115
| | | | Fix KeyboardHost ClassDriver demo; boot protocol keyboard report structure in the Host Mode HID Class driver uses the full keycode array from the attached device.
* Oops - Keyboard boot report structure should be an array of 6 keycodes.Dean Camera2009-09-201-1/+1
|
* Finish Class Driver MouseHost demo. Update HID Host Class driver; boot ↵Dean Camera2009-09-203-31/+17
| | | | protocol now works, still need to finish and test report protocol mode.
* Added new Pipe_IsFrozen() macro to determine if the currently selected pipe ↵Dean Camera2009-09-208-19/+219
| | | | | | | | is frozen. Added new USB_GetHIDReportSize() function to the HID report parser to retrieve the size of a given report by its ID. More additions to the unfinished HID Host Class Driver.
* Added support for the officially recommended layout of the external ↵Dean Camera2009-09-1712-4/+375
| | | | | | peripherals connected to the BUMBLEB board. Added flag to the HID Host Class driver to indicate the currently selected reporting protocol.
* Fix Mass Storage Host Class driver GetMaxLUN command - incorrect function ↵Dean Camera2009-09-178-19/+125
| | | | | | return codes used in comparison to check for success. Add HID Host Class driver functions to set the report protocol, add more class driver documentation.
* Fixed MIDI Device Class driver not sending/receiving MIDI packets of the ↵Dean Camera2009-09-144-5/+5
| | | | correct size (thanks to Thomas Bleeker).
* Revert changed CDC_Device_Flush() prototype accidentially changed in the ↵Dean Camera2009-09-101-1/+3
| | | | last commit.
* Prevent the CDC Device Class driver from sending empty IN packets on every ↵Dean Camera2009-09-103-14/+18
| | | | service task call - only send termination packets when data is in the endpoint.
* Remove USE_NONSTANDARD_DESCRIPTOR_NAMES compile time token, split out ↵Dean Camera2009-09-0911-275/+380
| | | | | | standard descriptors into seperate USB_Descriptor_* and USB_StdDescriptor_* structures so that both can be used within the one project. Add guard to the HID Host Class driver SetProtocol command, to ensure that the device supports boot protocol mode before issuing the request.
* Change HID report parser so that it can calculate and record the sizes (IN, ↵Dean Camera2009-09-092-20/+66
| | | | | | OUT and FEATURE) of each report within the device, by report ID. This will be required in host mode, so that the host can determine how many bytes of data must be read in for each report. Add to MouseHostWithParser and KeyboardHostWithParser demos to print out the report sizes when a valid device is connected.
* Finish Still Image Host class driver.Dean Camera2009-09-094-21/+104
|
* Corrected incorrect signature bytes for the AT90USB82 and added support for ↵Dean Camera2009-09-071-2/+8
| | | | | | the ATMEGAXX2 variant AVRs to the DFU bootloader. Added warning to the EVENT_USB_Device_Connect() and EVENT_USB_Device_Disconnect() events that they may be fired multiple times during device enumeration on the series 2 AVRs.
* Changed Still Image Host class driver to auto-fill TransactionID element of ↵Dean Camera2009-09-062-14/+44
| | | | | | | | sent headers depending on the current session state. CDC based demos and project now work under 64 bit versions of Windows (thanks to Ronny Hanson, Thomas Bleeker). The Benito Programmer project now has its own unique VID/PID pair allocated from the Atmel donated LUFA VID/PID pool.
* Add StillImage Host Class Driver functions for opening and closing sessions. ↵Dean Camera2009-09-0212-133/+169
| | | | | | 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".
* Add user-filtering to the HID report parser, so that the user code can ↵Dean Camera2009-09-022-54/+49
| | | | decide which items are to be stored into the HID_ReportInfo_t structure and which should be discarded to save on RAM usage.
* Changed HIDParser to only zero out important values in the Parsed HID Report ↵Dean Camera2009-09-011-2/+7
| | | | Item Information structure to save cycles.
* Added documentation for the constants and enums of the new StillImage Host ↵Dean Camera2009-09-013-27/+37
| | | | Class driver added to the library so far.
* Fixed StillImageHost not correctly freezing and unfreezing data pipes while ↵Dean Camera2009-09-014-10/+171
| | | | | | waiting for a response block header. Added basic PIMA commands to the StillImage Host Class driver - need to extend to PIMA specific command functions.
* Add return codes to the CDC Host Class driver String/Byte transmission ↵Dean Camera2009-08-314-10/+23
| | | | functions.
* Add extra check for OUT ZLP in the CDC Device Class driver service task to ↵Dean Camera2009-08-311-0/+5
| | | | quickly clear zero-length termination packets from the host.
* Removed unused INCLUDE_FROM_BOARD_DRIVER internal define from the board ↵Dean Camera2009-08-315-5/+1
| | | | driver dispatch headers.
* Changed the parameters and behaviour of the USB_GetDeviceConfigDescriptor() ↵Dean Camera2009-08-312-29/+46
| | | | function so that it now performs size checks and data validations internally, to simplify user code.
* Remove deleted source files from the LUFA library makefile.Dean Camera2009-08-302-8/+8
| | | | Renamed parameters of SI_Host_ConfigurePipes() to match other Host mode Class drivers.
* Added start of the Still Image Host Class driver demo and driver code.Dean Camera2009-08-309-20/+254
| | | | Re-enabled building of the Host mode demos ClassDriver directory.
* Remove skeleton Audio and MIDI Host mode Class drivers -- will not implement ↵Dean Camera2009-08-307-223/+0
| | | | in next release.
* Fixed Device mode HID Class driver not explicitly initializing the ↵Dean Camera2009-08-271-4/+4
| | | | ReportSize parameter to zero before calling callback routine, so that ignored callbacks don't cause incorrect data to be sent.
* Condensed SCSI command functions in the LowLevel Mass Storage Host demo, to ↵Dean Camera2009-08-271-3/+5
| | | | | | save on FLASH space. Fixed issue in AVRISP project where the target RESET line was being toggled before it was tristated, causing problems synchronising to some targets (thanks to Mike Alex).
* Add check to Pipe_IsEndpointBound() in the Mass Storage Host mode Class ↵Dean Camera2009-08-271-2/+5
| | | | driver to ensure that multiple instances of the driver can be used on a single device with multiple Mass Storage interfaces.