XWOS API
4.0
XWOS C/C++ API参考手册
|
中等密度(32Ki/64Ki/128Ki/256Ki/512Ki/1Mi/2Mi bits)EEPROM驱动 更多...
#include <xwos/standard.h>
#include <string.h>
#include <xwcd/ds/device.h>
#include <xwcd/ds/soc/gpio.h>
#include <xwcd/ds/i2c/peripheral.h>
#include <xwcd/peripheral/i2c/eeprom/device.h>
#include <xwcd/peripheral/i2c/eeprom/driver.h>
函数 | |
static xwer_t | at24md_putc (struct xwds_eeprom *eeprom, xwu8_t data, xwsq_t addr, xwtm_t to) |
static xwer_t | at24md_getc (struct xwds_eeprom *eeprom, xwu8_t *buf, xwsq_t addr, xwtm_t to) |
static xwer_t | at24md_pgwrite (struct xwds_eeprom *eeprom, xwu8_t *data, xwsz_t *size, xwsq_t pgidx, xwtm_t to) |
static xwer_t | at24md_pgread (struct xwds_eeprom *eeprom, xwu8_t *buf, xwsz_t *size, xwsq_t pgidx, xwtm_t to) |
变量 | |
const struct xwds_eeprom_driver | at24md_drv |
中等密度(32Ki/64Ki/128Ki/256Ki/512Ki/1Mi/2Mi bits)EEPROM驱动
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
在文件 at24md.c 中定义.
|
static |
<No error
|
static |
<No error
<No error
|
static |
|
static |
const struct xwds_eeprom_driver at24md_drv |