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