|
|
@@ -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, pl2303,gsm 驱动。</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 API,nuttx posix API。</p>
|
|
|
<p>下面演示的是使用 CherryUSB usbhost serial API 进行串口回环测试,并且使用阻塞发送,异步读取的方式:</p>
|