aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Fixed HID host Class driver report send/receive report broken when issued ↵Dean Camera2009-11-095-29/+30
| | | | | | | | through the control pipe. Make Mass Storage device Class driver accept resets at any time, rather than just after a command block has been processed. Remove the HID device parser from the boot protocol Keyboard/Mouse demos.
* Remove dependancies from the LowLevel demos to the ClassDriver demos, since ↵Dean Camera2009-11-082-3/+3
| | | | the use of ClassDriver headers now outputs an error when NO_STREAM_CALLBACKS is used.
* Make Low Level host demos use void pointers for the configuration ↵Dean Camera2009-11-078-0/+32
| | | | | | descriptor, to prevent warnings when passed to the altered configuration descriptor parsing routines. Added preprocessor checks to give a human readable error when the class drivers are used when the incompatible NO_STREAM_CALLBACKS compile time option is used.
* Add optional pipe double banking support to the Host mode Class drivers.Dean Camera2009-11-0716-40/+66
| | | | Descriptor processing routines now pass around void pointers rather than uint8_t pointers, as their destination datatype is know well known -- they are just streams of bytes until they are cast to the correct destination type by DESCRIPTOR_CAST.
* Add double banking property to LUFA powered projects in the Projects ↵Dean Camera2009-11-068-23/+26
| | | | directory. Add guards to macro parameters to ensure that formulas passed as parameters don't mess up the internal macro structure.
* Add optional double-banking support to the Device mode Class Drivers, on a ↵Dean Camera2009-11-0611-16/+28
| | | | per-endpoint, per-interface level.
* Add other missing Printer.h main class driver dispatch file.Dean Camera2009-11-041-0/+63
|
* Add missing Printer.h common class driver file.Dean Camera2009-11-041-0/+71
|
* Added new Printer Host mode Class driver.Dean Camera2009-11-0410-40/+545
| | | | | | Added new Printer Host mode ClassDriver demo. Added table of supported classes and modes to the main USB Class Driver documentation.
* Fixed HID report parser collection paths invalid due to misplaced semicolon ↵Dean Camera2009-11-042-34/+10
| | | | in the free path item search loop. Increased the default number of collection paths allowable by the parser.
* Update DevChapter9.c - use the Endpoint_ClearStatusStage() function where ↵Dean Camera2009-11-041-19/+7
| | | | | | possible to reduce code size and (potentially) allow for centralized status stage timeouts. Fix Joystick device demo HID descriptors - buttons should be placed outside the Pointer collection.
* 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.