49 .
name =
"xwds.eeprom",
54#if defined(XWCDCFG_ds_PM) && (1 == XWCDCFG_ds_PM)
86 msg.
size =
sizeof(txdata);
143 memcpy(&txdata[2],
data, wrsz);
static xwer_t at24md_pgread(struct xwds_eeprom *eeprom, xwu8_t *buf, xwsz_t *size, xwsq_t pgidx, xwtm_t to)
static xwer_t at24md_pgwrite(struct xwds_eeprom *eeprom, xwu8_t *data, xwsz_t *size, xwsq_t pgidx, xwtm_t to)
const struct xwds_eeprom_driver at24md_drv
static xwer_t at24md_getc(struct xwds_eeprom *eeprom, xwu8_t *buf, xwsq_t addr, xwtm_t to)
static xwer_t at24md_putc(struct xwds_eeprom *eeprom, xwu8_t data, xwsq_t addr, xwtm_t to)
xwer_t xwds_i2cm_xfer(struct xwds_i2cm *i2cm, struct xwds_i2c_msg *msg, xwtm_t to)
XWDS API:传输I2C消息
xws64_t xwtm_t
XWOS系统时间 (有符号)
xwer_t xwds_eeprom_drv_start(struct xwds_device *dev)
EEPROM基本驱动:启动设备
xwer_t xwds_eeprom_drv_suspend(struct xwds_device *dev)
EEPROM基本驱动:继续设备
xwer_t xwds_eeprom_drv_stop(struct xwds_device *dev)
EEPROM基本驱动:停止设备
xwer_t xwds_eeprom_drv_resume(struct xwds_device *dev)
EEPROM基本驱动:暂停设备
struct xwds_i2cp_driver i2cp
const struct xwds_eeprom_parameter parameter