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
37struct xwlua_i2cm {
38 struct xwds_i2cm * i2cm;
40};
41
48void xwlua_i2cm_register(lua_State * L, const char * name, struct xwds_i2cm * i2cm);
49
55void xwlua_i2cm_unregister(lua_State * L, const char * name);
56
61#endif /* xwem/vm/lua/xwlua/xwds/i2cm.h */
void xwlua_i2cm_unregister(lua_State *L, const char *name)
删除I2C主机模式控制器对象
void xwlua_i2cm_register(lua_State *L, const char *name, struct xwds_i2cm *i2cm)
注册I2C主机模式控制器对象
unsigned long xwsq_t
Definition type.h:445
玄武设备栈:I2C:主机
I2C主机
Definition master.h:53
XWLUA I2C主机控制器对象
Definition i2cm.h:37
xwsq_t tik
Definition i2cm.h:39
struct xwds_i2cm * i2cm
Definition i2cm.h:38
XWOS的标准头文件