aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel/MIDI/MIDI.c
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2013.Dean Camera2013-01-031-2/+2
|
* Minor documentation improvements.Dean Camera2012-10-051-1/+1
|
* Use the framework provided GlobalInterruptEnable() function instead of the ↵Dean Camera2012-09-171-1/+1
| | | | AVR8/XMEGA specific sei() macro, for future demo/project portability.
* Changed MIDI event structure MIDI_EventPacket_t to use a single field for ↵Dean Camera2012-04-251-3/+2
| | | | the combined virtual cable index and command ID, to prevent bitfield packing issues on some architectures (thanks to Darren Gibbs).
* Reintegrate the FullEPAddresses development branch into trunk.Dean Camera2012-04-141-6/+4
|
* Update file contributor copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Update file header copyrights for 2012.Dean Camera2012-02-041-1/+1
|
* Altered all endpoint/pipe stream transfers so that the new BytesProcessed ↵Dean Camera2011-01-101-2/+2
| | | | | | | | | | 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-2/+6
| | | | 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-21/+22
| | | | 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.
* Removed complicated logic for the Endpoint_ConfigureEndpoint() function to ↵Dean Camera2010-08-091-16/+9
| | | | | | use inlined or function called versions depending of if the given bank size is a compile time constant, as the compiler does a better job of optimizing with basic code. Changed over all device demos to use a clearer algorithm for the configuring of the application's endpoints.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-081-217/+217
| | | | 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-1/+2
| | | | be done in the user application once all init code has run.
* 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
|
* Make MIDI device demos also turn off the on board LEDs if MIDI Note On ↵Dean Camera2009-11-261-2/+3
| | | | messages are sent with a velocity of zero, which some devices use instead of Note Off messages (thanks to Robin Green).
* Application documentation/comment cleanup.Dean Camera2009-10-081-1/+1
|
* Removed mostly useless "TestApp" demo, as it was mainly useful only for ↵Dean Camera2009-09-301-2/+21
| | | | | | | | 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.
* Renamed all library events to properly seperate out Device and Host mode ↵Dean Camera2009-08-051-3/+3
| | | | | | | | 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.
* Added new USB_DeviceState variable to keep track of the current Device mode ↵Dean Camera2009-07-211-1/+1
| | | | | | | | | | | | 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.
* Add explicit guards to all device mode tasks to ensure the device is ↵Dean Camera2009-07-211-3/+4
| | | | connected and configured before running the task, to prevent any user tasks from locking up the main USB task if the device has not been properly configured.
* Pipe_GetErrorFlags() now returns additional error flags for overflow and ↵Dean Camera2009-06-161-2/+2
| | | | | | underflow errors. Change MIDI demos to use real MIDI command values, and shift for the USB wrapper, rather than shift for the MIDI bytes. This is a little confusing for the MIDI USB wrapper, but allows for the use of real standardized MIDI command values.
* Fixes to the MIDI device demos (ClassDriver, LowLevel); discard unused ↵Dean Camera2009-06-101-35/+45
| | | | read-in events from the host, use standard MIDI event structure in low level demo rather than sending individual bytes.
* Error status LEDs shown when device endpoint configuration fails to complete.Dean Camera2009-06-081-11/+18
| | | | MIDI device demo no longer blocks if a note change event is sent while the endpoint is not ready.
* Converted device mode low-level demos to schedulerless.Dean Camera2009-06-071-59/+18
|
* Move new Class Driver powered demos to a new ClassDriver subdirectory, ↵Dean Camera2009-06-051-0/+219
re-add old low level demos to a LowLevel subdirectory.