XWOS API
4.0
XWOS C/C++ API参考手册
载入中...
搜索中...
未找到
soc.h
浏览该文件的文档.
1
21
#ifndef __xwem_vm_lua_xwlua_xwds_soc_h__
22
#define __xwem_vm_lua_xwlua_xwds_soc_h__
23
24
#include <
xwos/standard.h
>
25
#include <
xwcd/ds/soc/chip.h
>
26
#include "xwem/vm/lua/src/lauxlib.h"
27
37
struct
xwlua_soc
{
38
struct
xwds_soc
*
soc
;
39
xwsq_t
tik
;
40
};
41
48
void
xwlua_soc_register
(lua_State * L,
const
char
* name,
struct
xwds_soc
* soc);
49
55
void
xwlua_soc_unregister
(lua_State * L,
const
char
* name);
56
61
#endif
/* xwem/vm/lua/xwlua/xwds/soc.h */
xwlua_soc_register
void xwlua_soc_register(lua_State *L, const char *name, struct xwds_soc *soc)
注册SOC对象
xwlua_soc_unregister
void xwlua_soc_unregister(lua_State *L, const char *name)
删除SOC对象
xwsq_t
unsigned long xwsq_t
Definition
type.h:445
chip.h
玄武设备栈:SOC
xwds_soc
SOC设备
Definition
chip.h:161
xwlua_soc
XWLUA SOC对象
Definition
soc.h:37
xwlua_soc::soc
struct xwds_soc * soc
Definition
soc.h:38
xwlua_soc::tik
xwsq_t tik
Definition
soc.h:39
standard.h
XWOS的标准头文件
xwem
vm
lua
xwlua
xwds
soc.h
制作者
1.9.7