Altered the CDC Deivice and Host Class drivers' receive byte routines, so that no data is indicated by a negative return value.
Added auto flushing of OUT data to the CDC Host Class driver's USBTask function to automatically flush the send pipe buffer.
This commit is contained in:
parent
7c8d16fd7a
commit
24e621a8d8
13 changed files with 89 additions and 59 deletions
|
|
@ -41,6 +41,8 @@
|
|||
* - Internal USB driver source files renamed and moved to ease future possible architecture ports
|
||||
* - All internal pseudo-function macros have been converted to true inline functions for type-safety and readability
|
||||
* - Changed LED indicator masks for the AVRISP-MKII project, so that there are defined roles for each LED
|
||||
* - Altered the CDC Deivice and Host Class drivers' receive byte routines, so that no data is indicated by a negative return value
|
||||
* - Added auto flushing of OUT data to the CDC Host Class driver's USBTask function to automatically flush the send pipe buffer
|
||||
*
|
||||
* <b>Fixed:</b>
|
||||
* - Fixed AVRISP project sending a LOAD EXTENDED ADDRESS command to 128KB AVRs after programming or reading from
|
||||
|
|
|
|||
|
|
@ -32,6 +32,16 @@
|
|||
* enhanced \ref USB_Device_SendRemoteWakeup() function. Existing code may now discard any checks to USB_Device_IsRemoteWakeupSent().
|
||||
* - The USB_Device_IsUSBSuspended() macro has been removed, as it is obsolete. Existing code should compare \ref USB_DeviceState
|
||||
* to see if it the device is in the \ref DEVICE_STATE_Suspended state instead.
|
||||
* - The \ref CDC_Device_ReceiveByte() function has changed, and now returns a signed 16-bit integer, with -1 indicating no data was
|
||||
* received. This allows for more efficient coding, as a call to \ref CDC_Device_BytesReceived() is no longer needed if the exact
|
||||
* number of queued bytes received is not needed.
|
||||
*
|
||||
* <b>Host Mode</b>
|
||||
* - The \ref CDC_Host_ReceiveByte() function has changed, and now returns a signed 16-bit integer, with -1 indicating no data was
|
||||
* received. This allows for more efficient coding, as a call to \ref CDC_Device_BytesReceived() is no longer needed if the exact
|
||||
* number of queued bytes received is not needed.
|
||||
* - The \ref CDC_Host_USBTask() now calls \ref CDC_Host_Flush() automatically, flushing any queued data to the attached device. Manual
|
||||
* flushing of the interface is no longer needed if the flushes should be in sync with calls to \ref CDC_Host_USBTask().
|
||||
*
|
||||
* \section Sec_Migration100513 Migrating from 100219 to 100513
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue