usb stack 4.1.1

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

usb stack 4.1.1

407 次查看
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?

标签 (2)
0 项奖励
1 回复

340 次查看
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 项奖励