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