diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-10-27 07:23:51 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-10-27 07:23:51 +0000 |
commit | 710f31c54023b2fd85d37b0d849be3895b70f1cb (patch) | |
tree | e599b27601bd456b494876204ed438d7e024e803 /LUFA/ManPages/CompileTimeTokens.txt | |
parent | 08de757811bb2a17d21a35ca08205b4ed64613ff (diff) | |
download | lufa-710f31c54023b2fd85d37b0d849be3895b70f1cb.tar.gz lufa-710f31c54023b2fd85d37b0d849be3895b70f1cb.tar.bz2 lufa-710f31c54023b2fd85d37b0d849be3895b70f1cb.zip |
Added new NO_CLASS_DRIVER_AUTOFLUSH compile time option to disable automatic flushing of interfaces when the USB management tasks for each driver is called.
The MIDI class drivers now automatically flushes the MIDI interface when the MIDI class driver's USBTask() function is called.
Diffstat (limited to 'LUFA/ManPages/CompileTimeTokens.txt')
-rw-r--r-- | LUFA/ManPages/CompileTimeTokens.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/LUFA/ManPages/CompileTimeTokens.txt b/LUFA/ManPages/CompileTimeTokens.txt index f74898452..28b7cfc6b 100644 --- a/LUFA/ManPages/CompileTimeTokens.txt +++ b/LUFA/ManPages/CompileTimeTokens.txt @@ -67,6 +67,12 @@ * and their sizes calculated/stored into the resultant processed report structure. If not defined, this defaults to the value indicated in * the HID.h file documentation. * + * <b>NO_CLASS_DRIVER_AUTOFLUSH</b> + * Many of the device and host mode class drivers automatically flush any data waiting to be written to an interface, when the corresponding + * USB management task is executed. This is usually desirable to ensure that any queued data is sent as soon as possible once and new data is + * constructed in the main program loop. However, if flushing is to be controlled manually by the user application via the *_Flush() commands, + * the compile time token may be defined in the application's makefile to disable automatic flushing during calls to the class driver USB + * management tasks. * * \section Sec_SummaryUSBTokens General USB Driver Related Tokens * This section describes compile tokens which affect USB driver stack as a whole in the LUFA library. |