aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Device
Commit message (Collapse)AuthorAgeFilesLines
...
* Device mode class driver callbacks are now fired before the control request ↵Dean Camera2010-05-075-20/+15
| | | | | | status stage is sent to prevent the host from timing out if another request is immediately fired and the device has a lengthy callback routine. Inlined currently unused MIDI ProcessControlRequest routine.
* Added new EVENT_CDC_Device_BreakSent() event and CDC_Host_SendBreak() ↵Dean Camera2010-05-062-0/+21
| | | | function to the Device and Host CDC Class drivers.
* Ensure that the CDC class drivers return 0 if the number of unread bytes is ↵Dean Camera2010-05-061-3/+8
| | | | queried and the bank has become empty.
* The Audio_Device_IsSampleReceived() and Audio_Device_IsReadyForNextSample() ↵Dean Camera2010-04-292-31/+27
| | | | functions are now inline, to reduce overhead.
* Fixed HID Device Class Driver not allocating a temporary buffer when the ↵Dean Camera2010-04-202-4/+9
| | | | | | host requests a report via the control endpoint and the user has set the PrevReportINBuffer driver configuration element to NULL (thanks to Lars Noschinski). Clean up incomplete BluetoothHost debugging commands to use GCC extension to avoid NULL parameters when no formatting is required.
* Removed two-step endpoint/pipe bank clear and switch sequence for smaller, ↵Dean Camera2010-04-131-0/+1
| | | | | | | | 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 briefs for the library core structures.Dean Camera2010-03-296-7/+31
|
* Add file-level brief documentation.Dean Camera2010-03-296-0/+42
| | | | Remove accidentally duplicated model-specific peripheral driver files.
* Revert changes made for the partial port to the AVR32 architecture.Dean Camera2010-02-241-5/+1
|
* More AVR32 achitecture ports.Dean Camera2010-02-241-1/+5
|
* Add more include protection macros to give the user warnings when they try ↵Dean Camera2010-02-1112-7/+48
| | | | to manually include private driver header files, instead of the public driver headers.
* Fix AVRISP-MKII clone project's TPI Chip Erase command processing - ensure ↵Dean Camera2010-02-081-4/+7
| | | | | | erase location is the high byte in the given address space, check NVMBUSY for completion rather than the NVM Bus Enable bit. Change If-Else chains over to switch statements in XPROGProtocol.c for clarity.
* Be doubly-certain that the incomming CDC class driver's endpoint/pipe is ↵Dean Camera2010-01-281-3/+10
| | | | flushed only once when the bank is empty.
* Fixed incorrect interface values in the VirtualSerialMouse and KeyboardMouse ↵Dean Camera2010-01-121-0/+17
| | | | | | demo class driver structures. Added caveat information to the CDC device class driver.
* Added support to the MIDI Class drivers for packed data, where multiple MIDI ↵Dean Camera2010-01-053-6/+46
| | | | events are packed into a single USB packet. Added new MIDI Class driver flush routines to override packing behaviour.
* Inline USB management functions in the Class drivers which are standardized ↵Dean Camera2010-01-055-38/+38
| | | | but currently unused, to prevent them from using up unneccesary cycles and flash in the user application.
* Fix MassStorageKeyboard demo USE_INTERNAL_SERIAL check being performed ↵Dean Camera2010-01-045-7/+36
| | | | | | before the required library headers were included, causing a compilation error. Added notes to the class driver functions indicating which functions require what Device/Host state machine states to function.
* Fixed blocking CDC streams not aborting when the host is disconnected.Dean Camera2010-01-041-0/+3
|
* Update copyright year to 2010.Dean Camera2009-12-3012-24/+24
|
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-2812-84/+84
|
* Un-inline the SendAddress function in NVMTarget.c/.h of the AVRISP project.Dean Camera2009-12-171-1/+2
| | | | Add new HotmailNotifier project, which changes a LED's colour based on the user's unread email count as sent from Windows Live Messenger.
* Test with -Wextra, fix library warnings due to unused function parameters.Dean Camera2009-12-134-4/+15
|
* Add to the existing CDC Class Driver's CreateStream() function documentation ↵Dean Camera2009-11-291-1/+2
| | | | to explicitly state that the created streams are bidirectional.
* 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-263-103/+4
| | | | | | | | 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 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.
* Fix doxygen documentation - doxygen was getting confused on the ↵Dean Camera2009-11-174-8/+14
| | | | 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).
* Cleanups to the MassStorage Device demos, and the MassStorage Device Class ↵Dean Camera2009-11-152-25/+39
| | | | driver.
* Add blocking versions of the CDC Class driver streams, for applications ↵Dean Camera2009-11-122-0/+31
| | | | requiring blocking reads.
* Add beginnings of a RNDIS Ethernet Host demo.Dean Camera2009-11-121-23/+21
|
* Update CDC Class Driver character stream functions to use the correct ↵Dean Camera2009-11-101-3/+2
| | | | | | 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-102-0/+35
| | | | standard streams from CDC Class driver instances.
* Spell check all source code variables, comments and strings.Dean Camera2009-11-096-24/+24
|
* Fixed HID host Class driver report send/receive report broken when issued ↵Dean Camera2009-11-091-17/+14
| | | | | | | | 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.
* Add optional pipe double banking support to the Host mode Class drivers.Dean Camera2009-11-071-1/+1
| | | | 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-061-1/+1
| | | | 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 const attribute to class driver APIs.Dean Camera2009-11-031-5/+5
| | | | 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.
* Add new MIDI Host Class driver to the library, and new MIDIHost ClassDriver ↵Dean Camera2009-10-086-40/+40
| | | | | | 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.
* Changed Audio Class driver sample read/write functions to be inline, to ↵Dean Camera2009-10-032-82/+85
| | | | | | 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 new Pipe_IsFrozen() macro to determine if the currently selected pipe ↵Dean Camera2009-09-201-2/+2
| | | | | | | | 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.
* Fix Mass Storage Host Class driver GetMaxLUN command - incorrect function ↵Dean Camera2009-09-171-1/+1
| | | | | | 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-143-4/+4
| | | | 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-102-13/+17
| | | | service task call - only send termination packets when data is in the endpoint.
* Add StillImage Host Class Driver functions for opening and closing sessions. ↵Dean Camera2009-09-021-1/+1
| | | | | | 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 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.
* 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.