Deploying to gh-pages from @ cherry-embedded/CherryUSB@bafe795fd6 🚀

This commit is contained in:
sakumisu
2025-12-15 06:17:37 +00:00
parent eb0f021128
commit a3f0c06aed
3 changed files with 2 additions and 2 deletions

BIN
_images/usbh_serial.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 MiB

View File

@@ -3,7 +3,7 @@ usbh_serial
Serial 框架当前支持 cdc acm, ftdi, cp210x, ch34x, pl2303gsm 驱动。
.. figure:: usbh_serial.png
.. figure:: img/usbh_serial.png
当前支持两种使用方式,一种是使用源生 CherryUSB usbhost serial API 进行操作,另一种是基于平台封装的 API 操作,比如 rt-thread device APInuttx posix API。

View File

@@ -161,7 +161,7 @@
<h1>usbh_serial<a class="headerlink" href="#usbh-serial" title="Link to this heading"></a></h1>
<p>Serial 框架当前支持 cdc acm, ftdi, cp210x, ch34x, pl2303gsm 驱动。</p>
<figure class="align-default">
<img alt="demo/usbh_serial.png" src="demo/usbh_serial.png" />
<img alt="../_images/usbh_serial.png" src="../_images/usbh_serial.png" />
</figure>
<p>当前支持两种使用方式,一种是使用源生 CherryUSB usbhost serial API 进行操作,另一种是基于平台封装的 API 操作,比如 rt-thread device APInuttx posix API。</p>
<p>下面演示的是使用 CherryUSB usbhost serial API 进行串口回环测试,并且使用阻塞发送,异步读取的方式:</p>