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
37struct xwlua_soc {
38 struct xwds_soc * soc;
40};
41
48void xwlua_soc_register(lua_State * L, const char * name, struct xwds_soc * soc);
49
55void xwlua_soc_unregister(lua_State * L, const char * name);
56
61#endif /* xwem/vm/lua/xwlua/xwds/soc.h */
void xwlua_soc_register(lua_State *L, const char *name, struct xwds_soc *soc)
注册SOC对象
void xwlua_soc_unregister(lua_State *L, const char *name)
删除SOC对象
unsigned long xwsq_t
Definition type.h:445
玄武设备栈:SOC
SOC设备
Definition chip.h:161
XWLUA SOC对象
Definition soc.h:37
struct xwds_soc * soc
Definition soc.h:38
xwsq_t tik
Definition soc.h:39
XWOS的标准头文件