diff options
| author | sakumisu <[email protected]> | 2022-07-08 22:48:07 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2022-07-08 22:48:07 +0800 |
| commit | da170ae1779503b33ca642199359ee5a7495d694 (patch) | |
| tree | d073e52da78176552035abd93a864b51427d4757 /docs/source/api/api_device.rst | |
| parent | a8fb71bed75148cd16b43e5b47790c106d30967c (diff) | |
update port rst
Diffstat (limited to 'docs/source/api/api_device.rst')
| -rw-r--r-- | docs/source/api/api_device.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/source/api/api_device.rst b/docs/source/api/api_device.rst index 708659d7..3af0e72f 100644 --- a/docs/source/api/api_device.rst +++ b/docs/source/api/api_device.rst @@ -29,7 +29,9 @@ CORE - **ep_addr** 端点地址(带方向) - **ep_cb** 端点中断回调函数。 -.. note:: 注册 IN 方向则表示发送完成后触发,类似于 dma 完成中断。注册 OUT 中断则表示有数据就触发,类似于 fifo 不为空中断。 +.. note:: 总结就是注册 IN 方向则表示发送完成后触发,等价于 dma 完成中断。注册 OUT 中断则表示有数据就触发,等价于 fifo 不为空中断。 + +.. note:: 如果 ip 支持 dma 接收功能,并启用了 dma 接收的宏,则 out 中断表示 dma 接收完成中断,而不是 fifo 不为空中断(0.4.1版本之前无此实现) 接口结构体 """""""""""""""""""""""""""""""""""" |
