diff options
| author | sakumisu <[email protected]> | 2024-09-26 21:54:46 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2024-09-27 19:03:33 +0800 |
| commit | c377747e67de1ff61d123888f4e066312439db4e (patch) | |
| tree | b796cde3dda4e56fa1ae503d99e2f23ee97eb057 /docs/source/api | |
| parent | 2f14ee7a7b32d8e4407d97eab82476f09d419b7f (diff) | |
docs: update rst
Diffstat (limited to 'docs/source/api')
| -rw-r--r-- | docs/source/api/api_port.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/source/api/api_port.rst b/docs/source/api/api_port.rst index b8cd5701..daed52e7 100644 --- a/docs/source/api/api_port.rst +++ b/docs/source/api/api_port.rst @@ -130,6 +130,8 @@ usbd_ep_start_read .. note:: 启动接收以后,以下两种情况,会进入传输完成中断:1、最后一包为短包(小于 EP MPS);2、接收总长度等于 data_len +.. note:: 对于 bulk 传输,data_len 通常设计为 EP MPS,以下三种情况可以修改为多个 EP MPS: 固定长度;自定义协议并携带长度(MSC); 主机手动发送 ZLP 或者短包(RNDIS) + host controller(hcd) ------------------------ |
