awtk/docs/manual/hal_shell_t.md
2023-06-29 10:44:29 +08:00

30 lines
730 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## hal\_shell\_t
### 概述
a shell to access network interface
----------------------------------
### 函数
<p id="hal_shell_t_methods">
| 函数名称 | 说明 |
| -------- | ------------ |
| <a href="#hal_shell_t_network_shell_run">network\_shell\_run</a> | 运行shell。 |
#### network\_shell\_run 函数
-----------------------
* 函数功能:
> <p id="hal_shell_t_network_shell_run">运行shell。
* 函数原型:
```
ret_t network_shell_run (network_interface_t* network_interface);
```
* 参数说明:
| 参数 | 类型 | 说明 |
| -------- | ----- | --------- |
| 返回值 | ret\_t | 返回RET\_OK表示成功否则表示失败。 |
| network\_interface | network\_interface\_t* | 网口对象。 |