aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Class/Device/MIDI.c
Commit message (Collapse)AuthorAgeFilesLines
* Added support to the MIDI Class drivers for packed data, where multiple MIDI ↵Dean Camera2010-01-051-2/+25
| | | | 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-051-5/+0
| | | | but currently unused, to prevent them from using up unneccesary cycles and flash in the user application.
* Update copyright year to 2010.Dean Camera2009-12-301-2/+2
|
* Fix MIT license language to make its intent clearer.Dean Camera2009-12-281-7/+7
|
* Test with -Wextra, fix library warnings due to unused function parameters.Dean Camera2009-12-131-1/+1
|
* Added new RNDIS Host class driver and the beginnings of a RNDISEthernetHost ↵Dean Camera2009-11-261-1/+1
| | | | | | | | 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.
* Add optional double-banking support to the Device mode Class Drivers, on a ↵Dean Camera2009-11-061-2/+2
| | | | per-endpoint, per-interface level.
* Fixed MIDI Device Class driver not sending/receiving MIDI packets of the ↵Dean Camera2009-09-141-2/+2
| | | | correct size (thanks to Thomas Bleeker).
* Added return values to the CDC and MIDI class driver transmit functions.Dean Camera2009-08-161-3/+9
|
* Completion of initial CDC host mode class driver.Dean Camera2009-08-111-2/+2
| | | | Adjustments to the CDC and MIDI device class drivers to use sizeof() on the actual variable being transmitted or received rather than its datatype to reduce possible mistakes.
* Renamed all library events to properly seperate out Device and Host mode ↵Dean Camera2009-08-051-1/+1
| | | | | | | | events. Changed the firing conditions for some events to ensure that events are fired by their own USB mode only. Remove VBUS events - not needed as the library takes care of VBUS detection and feedback on supported AVRs via the USB_Device_Connected and USB_Device_Disconnected events. Fixed incorrect Host state assignment in the incomplete BluetoothHost demo.
* State information for class drivers is now zeroed out during enumeration ↵Dean Camera2009-07-271-0/+2
| | | | (both in device and host mode) to ensure sane values after each enumeration. User code should no longer explicitly set state information as this is no longer preserved.
* Added new USB_DeviceState variable to keep track of the current Device mode ↵Dean Camera2009-07-211-2/+2
| | | | | | | | | | | | USB state. Added new Endpoint_ClearStatusStage() convenience function to assist with the status stages of control transfers. Removed vague USB_IsConnected global - test USB_DeviceState or USB_HostState explicitly to gain previous functionality. Removed USB_IsSuspended global - test USB_DeviceState against DEVICE_STATE_Suspended instead. Fixed possible enumeration errors from spinloops which may fail to exit if the USB connection is severed before the exit condition becomes true.
* Added const modifiers to device mode class drivers.Dean Camera2009-06-281-5/+5
| | | | | | Added parameter directions to function parameter documentation. Added new experimental FAST_STREAM_FUNCTIONS compile time option to speed up stream transfers at the expense of a higher FLASH consumption (needs testing to verify improved throughput).
* Reduce struct name pollution - group typedef struct names by class driver ↵Dean Camera2009-06-261-4/+4
| | | | name where appropriate.
* Break device mode class driver interfaces into seperate config and state ↵Dean Camera2009-06-181-13/+13
| | | | structs which are then combined, for clarity. Move device mode class driver interfaces back into the device mode class driver headers from the common class headers to make room for host class interfaces.
* Add host mode USB Class driver stubs, add beginnings of a CDC host class driver.Dean Camera2009-06-141-0/+5
| | | | | | Split out common defines/types from class drivers into a seperate common class driver directory. Make central USB Class driver dispatch headers, used for both device and host modes.
* Changed to new device mode Class Driver function name prefixes to make way ↵Dean Camera2009-06-111-5/+5
| | | | for similar host mode Class drivers.
* Ensure all USB device class drivers have the same three main functions as ↵Dean Camera2009-06-041-0/+10
| | | | their interface for consistency.
* Removed new Start of Frame event from the library; performance suffered far ↵Dean Camera2009-06-021-23/+5
| | | | | | too much and it was only useful in one of the standard classes (HID). Altered HID demos to use the previous method of tracking millisecond periods via a hardware timer rather than the SOF events. Fixed MIDI class driver blocking on unread events to the host.
* Add MIDI class driver, update MIDI device demo to use the new USB class ↵Dean Camera2009-06-011-0/+104
driver. All device demos/projects have now been converted to the new library class drivers, although documentation is yet to be completed.