|
XWOS API
4.0
XWOS C/C++ API参考手册
|
XWSSC对象 更多...
#include <protocol.h>

成员变量 | ||
| struct xwos_object | xwobj | |
| const char * | name | |
| atomic_xwsq_t | hwifst | |
| struct xwssc_hwifal_operation * | hwifops | |
| void * | hwifcb | |
| xwu8_t | mempool_bma_raw [sizeof(struct xwmm_bma)+sizeof(struct xwmm_bma_orderlist[(((6U)))+1U])+sizeof(struct xwmm_bma_bcb[1U<<(((6U)))])] | |
| struct xwmm_bma * | mempool | |
| struct xwos_thd | txthdobj | |
| xwos_thd_d | txthd | |
| struct { | ||
| atomic_xwu32_t cnt | ||
| struct xwssc_carrier car [(1U<<((6U)))] | ||
| xwbmp_t carbmp [((((1U<<((6U))))+(8U *sizeof(xwbmp_t)) - 1U)/(8U *sizeof(xwbmp_t)))] | ||
| struct xwlib_bclst_node q [((4U))] | ||
| xwbmp_t qnebmp [(((((4U)))+(8U *sizeof(xwbmp_t)) - 1U)/(8U *sizeof(xwbmp_t)))] | ||
| struct xwos_splk qlock | ||
| struct xwos_sem qsem | ||
| struct xwos_mtx csmtx | ||
| struct xwos_cond cscond | ||
| struct { | ||
| xwu8_t ack | ||
| xwu8_t id | ||
| } remote | ||
| struct xwssc_carrier * tmp | ||
| struct xwos_splk notiflk | ||
| } | txq | |
| struct xwos_thd | rxthdobj | |
| xwos_thd_d | rxthd | |
| struct { | ||
| atomic_xwu32_t cnt | ||
| struct xwlib_bclst_node q [((12U))] | ||
| struct xwos_splk lock [((12U))] | ||
| struct xwos_sem sem [((12U))] | ||
| } | rxq | |
XWSSC对象
在文件 protocol.h 第 156 行定义.
| struct xwos_object xwssc::xwobj |
C语言面向对象:继承 struct xwos_object
在文件 protocol.h 第 158 行定义.
| const char* xwssc::name |
在文件 protocol.h 第 159 行定义.
| atomic_xwsq_t xwssc::hwifst |
硬件层状态
在文件 protocol.h 第 160 行定义.
| struct xwssc_hwifal_operation* xwssc::hwifops |
硬件接口抽象层操作函数
在文件 protocol.h 第 161 行定义.
| void* xwssc::hwifcb |
接口硬件
在文件 protocol.h 第 162 行定义.
| xwu8_t xwssc::mempool_bma_raw[sizeof(struct xwmm_bma)+ sizeof(struct xwmm_bma_orderlist[(((6U)))+1U])+ sizeof(struct xwmm_bma_bcb[1U<<(((6U)))])] |
内存池分配器的原始内存
在文件 protocol.h 第 165 行定义.
| struct xwmm_bma* xwssc::mempool |
内存池分配器
在文件 protocol.h 第 166 行定义.
| struct xwos_thd xwssc::txthdobj |
发送线程的线程结构体
在文件 protocol.h 第 169 行定义.
| xwos_thd_d xwssc::txthd |
发送线程的线程描述符
在文件 protocol.h 第 170 行定义.
| atomic_xwu32_t xwssc::cnt |
| struct xwssc_carrier xwssc::car[(1U<<((6U)))] |
包含待发送帧的发送器
在文件 protocol.h 第 173 行定义.
发送器的索引位图
在文件 protocol.h 第 174 行定义.
| struct xwlib_bclst_node xwssc::q[((12U))] |
发送队列非空的索引位图
在文件 protocol.h 第 176 行定义.
| struct xwos_splk xwssc::qlock |
保护发送队列的自旋锁
在文件 protocol.h 第 177 行定义.
| struct xwos_sem xwssc::qsem |
指示待发送帧的数量的信号量
在文件 protocol.h 第 178 行定义.
| struct xwos_mtx xwssc::csmtx |
保护发送和接收线程的共享数据的锁
在文件 protocol.h 第 179 行定义.
| struct xwos_cond xwssc::cscond |
同步发送和接收线程的条件量
在文件 protocol.h 第 180 行定义.
| xwu8_t xwssc::ack |
远端回复的应答
在文件 protocol.h 第 182 行定义.
| xwu8_t xwssc::id |
远端的消息id
在文件 protocol.h 第 183 行定义.
| struct { ... } xwssc::remote |
正在发送的帧信息
| struct xwssc_carrier* xwssc::tmp |
缓存正在发送的帧槽
在文件 protocol.h 第 185 行定义.
| struct xwos_splk xwssc::notiflk |
保证通知回调函数原子性的自旋锁
在文件 protocol.h 第 186 行定义.
| struct { ... } xwssc::txq |
发送队列
| struct xwos_thd xwssc::rxthdobj |
接收线程的线程结构体
在文件 protocol.h 第 190 行定义.
| xwos_thd_d xwssc::rxthd |
接收线程的线程描述符
在文件 protocol.h 第 191 行定义.
| struct xwos_splk xwssc::lock[((12U))] |
保护每个接收队列的锁
在文件 protocol.h 第 195 行定义.
| struct xwos_sem xwssc::sem[((12U))] |
每个接收队列的信号量
在文件 protocol.h 第 196 行定义.
| struct { ... } xwssc::rxq |
接收队列