XWOS API  4.0
XWOS C/C++ API参考手册
载入中...
搜索中...
未找到
SSwt.cxx
浏览该文件的文档.
1
13#include "xwos/cxx/SSwt.hxx"
14
15namespace xwos {
16
17/* Non-static Member */
19{
20 mCtorRc = xwos_swt_init(&mSwt, flag);
21}
22
24{
25}
26
28{
29}
30
31/* Static Member */
32void SSwt::sSwtAlarmFunction(struct xwos_swt * swt, SSwt * obj)
33{
34 XWOS_UNUSED(swt);
35 obj->swtAlarmFunction();
36}
37
38} // namespace xwos
xwos::SSwt
静态软件定时器
Definition SSwt.hxx:38
SSwt(xwsq_t flag=XWOS_SWT_FLAG_NULL)
静态软件定时器构造函数
Definition SSwt.cxx:18
virtual void swtAlarmFunction()
Definition SSwt.cxx:27
xwer_t mCtorRc
Definition SSwt.hxx:41
static void sSwtAlarmFunction(struct xwos_swt *swt, SSwt *obj)
Definition SSwt.cxx:32
struct xwos_swt mSwt
Definition SSwt.hxx:40
unsigned long xwsq_t
Definition type.h:445
#define XWOS_UNUSED(x)
Definition standard.h:66
static xwer_t xwos_swt_init(struct xwos_swt *swt, xwsq_t flag)
XWOS API:静态方式初始化软件定时器
Definition swt.h:116
Definition Cpu.hxx:19
XWOS API:软件定时器
Definition swt.h:73