aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/LowLevel/MIDIHost/MIDIHost.c
Commit message (Collapse)AuthorAgeFilesLines
* Changed MIDI event structure MIDI_EventPacket_t to use a single field for ↵Dean Camera2012-04-251-4/+3
| | | | the combined virtual cable index and command ID, to prevent bitfield packing issues on some architectures (thanks to Darren Gibbs).
* Update file contributor copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Update file header copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Run wspurify script on /trunk/ and /branches/ C source files, to remove any ↵Dean Camera2011-12-231-2/+2
| | | | trailing whitespace at the end of each line.
* Updated all host mode demos and projects to use the ↵Dean Camera2011-07-081-127/+112
| | | | | | | | | | | | | | EVENT_USB_Host_DeviceEnumerationComplete() event callback for device configuration instead of manual host state machine manipulations in the main application task. Added new USB_Host_ConfigurationNumber global variable to indicate the selected configuration in an attached device. Renamed global state variables that are specific to a certain USB mode to clearly indicate which mode the variable relates to, by changing the USB_* prefix to USB_Device_* or USB_Host_*. Removed the HOST_STATE_WaitForDeviceRemoval and HOST_STATE_Suspended host state machine states, as these are no longer required. Altered the USB_Host_SetDeviceConfiguration() function to update the new USB_Host_ConfigurationNumber global as required. Moved out the Host mode standard request convenience/helper functions from the architecture specific Host driver files to the architecture agnostic HostStandardReq.c driver file.
* Renamed all driver termination *_ShutDown() functions to the more logical ↵Dean Camera2011-01-301-1/+1
| | | | name *_Disable().
* Removed SerialStream module, rolled functionality into the base USART Serial ↵Dean Camera2011-01-301-1/+4
| | | | | | | | peripheral driver instead through the new Serial_CreateStream() and Serial_CreateBlockingStream() methods. Renamed the Serial byte send/receive functions to remain consistent with the CDC driver's byte functions. Altered the serial byte receive function to make it non-blocking.
* Altered all endpoint/pipe stream transfers so that the new BytesProcessed ↵Dean Camera2011-01-101-6/+6
| | | | | | | | | | parameter now points to a location where the number of bytes in the transfer that have been completed can be stored (or NULL if entire transaction should be performed in one chunk). Added new Endpoint_Null_Stream() and Pipe_Null_stream() functions. Removed the NO_STREAM_CALLBACKS compile time option due to the new partial stream transfer feature replacing it. Fixed errors in the incomplete Test and Measurement device demo preventing proper operation (thanks to Pavel Plotnikov).
* Update copyright year on all source files.Dean Camera2011-01-011-2/+2
|
* Loop in the ClassDriver MIDI device/host demos until there are no more ↵Dean Camera2010-11-051-4/+4
| | | | incomming events to process. Only clear the endpoint/pipe bank in the LowLevel MIDI device/host demos when the endpoint is empty after an event read.
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-281-1/+1
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
* All USB class drivers are now automatically included when LUFA/Drivers/USB.h ↵Dean Camera2010-10-241-2/+2
| | | | | | is included, and no longer need to be seperately included. All LowLevel demos changed to use the constants and types defined in the USB class drivers.
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-131-25/+26
| | | | tool made by Laszlo Monda
* Reverted Endpoint/Pipe non-sequential configuration hack, placed restriction ↵Dean Camera2010-09-301-2/+2
| | | | | | | | | | on the configuration order instead to ensure maximum reliability. Altered all low level device and host mode demos to ensure that endpoints and pipes are configured in ascending order properly. Rewrote all low level host mode demos' configuration descriptor parser code to ensure that pipes are enumerated in ascending order, and to ensure maximum compatibility with devices. Incremented all device mode demo's device descriptor revision numbers to ensure that any descriptor changes are re-fetched on machines which have enumerated previous versions.
* Update all demos, projects and bootloaders to indent all function ↵Dean Camera2010-07-211-1/+2
| | | | | | parameters, one per line, for better readability. Add missing const qualifiers to the demos.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-081-269/+269
| | | | correctly converted to the target system's native end of line style.
* USB_Init() no longer calls sei() to enable global interrupts - this must now ↵Dean Camera2010-04-281-0/+1
| | | | be done in the user application once all init code has run.
* Fixed PDI programming mode in the AVRISP programmer project not exiting ↵Dean Camera2010-03-161-3/+3
| | | | | | programming mode correctly (clear target Reset key twice, set /RESET pin to pullup). Add newlines to the MIDI event printf() statements in the MIDI host demos.
* 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
|
* Add new MIDI Host Class driver to the library, and new MIDIHost ClassDriver ↵Dean Camera2009-10-081-6/+6
| | | | | | 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.
* Application documentation/comment cleanup.Dean Camera2009-10-081-1/+1
|
* Add new MIDIHost LowLevel demo application.Dean Camera2009-10-081-0/+268
Make unfinished device mode applications use the VID/PID reserved for LUFA development devices.