XWOS API
4.0
XWOS C/C++ API参考手册
载入中...
搜索中...
未找到
device.c
浏览该文件的文档.
1
21
#include <
xwos/standard.h
>
22
#include <
xwcd/ds/i2c/peripheral.h
>
23
#include <
xwcd/peripheral/i2c/eeprom/device.h
>
24
25
__xwbsp_api
26
void
xwds_eeprom_construct
(
struct
xwds_eeprom
* eeprom)
27
{
28
xwds_i2cp_construct
(&eeprom->
i2cp
);
29
}
30
31
__xwbsp_api
32
void
xwds_eeprom_destruct
(
struct
xwds_eeprom
* eeprom)
33
{
34
xwds_i2cp_destruct
(&eeprom->
i2cp
);
35
}
xwds_i2cp_destruct
void xwds_i2cp_destruct(struct xwds_i2cp *i2cp)
XWDS API:I2C外设的构造函数
Definition
peripheral.c:64
xwds_i2cp_construct
void xwds_i2cp_construct(struct xwds_i2cp *i2cp)
XWDS API:I2C外设的构造函数
Definition
peripheral.c:57
xwds_eeprom_construct
void xwds_eeprom_construct(struct xwds_eeprom *eeprom)
Definition
device.c:26
xwds_eeprom_destruct
void xwds_eeprom_destruct(struct xwds_eeprom *eeprom)
Definition
device.c:32
__xwbsp_api
#define __xwbsp_api
Definition
compiler.h:235
peripheral.h
玄武设备栈:I2C:外设
device.h
I2C EEPROM 设备
xwds_eeprom
Definition
device.h:38
xwds_eeprom::i2cp
struct xwds_i2cp i2cp
Definition
device.h:39
standard.h
XWOS的标准头文件
xwcd
peripheral
i2c
eeprom
device.c
制作者
1.9.7