XWOS API
4.0
XWOS C/C++ API参考手册
|
SOC间点对点通讯协议:硬件接口抽象层 更多...
结构体 | |
struct | xwssc_hwifal_operation |
硬件接口抽象层操作函数集 更多... | |
enum | xwssc_hwifal_state_em { XWSSC_HWIFST_CLOSED = 0U , XWSSC_HWIFST_CONNECT = ((xwbmp_t)1 << ( 0 )) , XWSSC_HWIFST_RX = ((xwbmp_t)1 << ( 1 )) , XWSSC_HWIFST_TX = ((xwbmp_t)1 << ( 2 )) } |
硬件接口抽象层状态枚举 更多... | |
enum | xwssc_hwifal_notification_em { XWSSC_HWIFNTF_CONNECT = 0U , XWSSC_HWIFNTF_NETUNREACH = 1U } |
硬件接口层事件枚举 更多... | |
xwer_t | xwssc_hwifal_open (struct xwssc *xwssc, void *hwifcb) |
xwer_t | xwssc_hwifal_close (struct xwssc *xwssc) |
xwer_t | xwssc_hwifal_tx (struct xwssc *xwssc, const xwu8_t *stream, xwsz_t size) |
xwer_t | xwssc_hwifal_rx_head (struct xwssc *xwssc, struct xwssc_frm *frm) |
xwer_t | xwssc_hwifal_rx_body (struct xwssc *xwssc, struct xwssc_frm *frm, xwsz_t sdusize) |
void | xwssc_hwifal_notify (struct xwssc *xwssc, xwsq_t evt) |
SOC间点对点通讯协议:硬件接口抽象层
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
在文件 hwifal.h 中定义.
硬件接口层事件枚举
枚举值 | |
---|---|
XWSSC_HWIFNTF_CONNECT | 与远程端链接 |
XWSSC_HWIFNTF_NETUNREACH | 远程端无响应 |
硬件接口抽象层状态枚举
枚举值 | |
---|---|
XWSSC_HWIFST_CLOSED | 硬件接口已经关闭 |
XWSSC_HWIFST_CONNECT | 硬件接口已经连接 |
XWSSC_HWIFST_RX | 硬件接口正在接收数据 |
XWSSC_HWIFST_TX | 硬件接口正在发送数据 |