mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 19:18:53 +08:00
40 lines
807 B
Markdown
40 lines
807 B
Markdown
|
## tk\_iostream\_serial\_t
|
||
|
### 概述
|
||
|
![image](images/tk_iostream_serial_t_0.png)
|
||
|
|
||
|
|
||
|
input stream base on serial port
|
||
|
|
||
|
|
||
|
----------------------------------
|
||
|
### 函数
|
||
|
<p id="tk_iostream_serial_t_methods">
|
||
|
|
||
|
| 函数名称 | 说明 |
|
||
|
| -------- | ------------ |
|
||
|
| <a href="#tk_iostream_serial_t_tk_iostream_serial_create">tk\_iostream\_serial\_create</a> | |
|
||
|
#### tk\_iostream\_serial\_create 函数
|
||
|
-----------------------
|
||
|
|
||
|
* 函数功能:
|
||
|
|
||
|
> <p id="tk_iostream_serial_t_tk_iostream_serial_create">
|
||
|
创建iostream对象。
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
* 函数原型:
|
||
|
|
||
|
```
|
||
|
tk_iostream_t* tk_iostream_serial_create (const char* port);
|
||
|
```
|
||
|
|
||
|
* 参数说明:
|
||
|
|
||
|
| 参数 | 类型 | 说明 |
|
||
|
| -------- | ----- | --------- |
|
||
|
| 返回值 | tk\_iostream\_t* | 返回iostream对象。 |
|
||
|
| port | const char* | port name。 |
|