usb stack 4.1.1

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

usb stack 4.1.1

382 Views
wba
Contributor III

CDC device (KL25Z) - How can I tell when the data has gone out so that I can reload the send buffer without overwriting data that hasn't gone out yet?

Labels (2)
0 Kudos
1 Reply

315 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Bruce,

The USB Stack 4.1.1 provide the USB_Class_CDC_Interface_CIC_Send_Data() function to implement send data from CDC class over send endpoints.

It can return the parameter to reflect the executing status of the function and the return parameter can remind you to reload the send buffer properly.

2016-01-26_14-38-28.jpg

Have a great day,

Ping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos