eeprom13 2.1.0.0
|
This file contains API for EEPROM 13 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | eeprom13_t |
EEPROM 13 Click context object. More... | |
struct | eeprom13_cfg_t |
EEPROM 13 Click configuration object. More... | |
Enumerations | |
enum | eeprom13_return_value_t { EEPROM13_OK = 0 , EEPROM13_ERROR = -1 } |
EEPROM 13 Click return value data. More... | |
Functions | |
void | eeprom13_cfg_setup (eeprom13_cfg_t *cfg) |
EEPROM 13 configuration object setup function. | |
err_t | eeprom13_init (eeprom13_t *ctx, eeprom13_cfg_t *cfg) |
EEPROM 13 initialization function. | |
void | eeprom13_hw_write_enable (eeprom13_t *ctx) |
EEPROM 13 hardware write enable function. | |
void | eeprom13_hw_write_disable (eeprom13_t *ctx) |
EEPROM 13 hardware write enable function. | |
err_t | eeprom13_generic_write (eeprom13_t *ctx, uint16_t reg, uint8_t *data_in, uint8_t len) |
EEPROM 13 I2C writing function. | |
err_t | eeprom13_generic_read (eeprom13_t *ctx, uint16_t reg, uint8_t *data_out, uint8_t len) |
EEPROM 13 I2C reading function. | |
err_t | eeprom13_memory_write (eeprom13_t *ctx, uint32_t mem_addr, uint8_t *data_in, uint8_t len) |
EEPROM 13 memory write function. | |
err_t | eeprom13_memory_read (eeprom13_t *ctx, uint32_t mem_addr, uint8_t *data_out, uint8_t len) |
EEPROM 13 memory write function. | |
err_t | eeprom13_memory_page_write (eeprom13_t *ctx, uint16_t page_addr, uint8_t *data_in, uint8_t len) |
EEPROM 13 memory page write function. | |
err_t | eeprom13_memory_page_read (eeprom13_t *ctx, uint16_t page_addr, uint8_t *data_out, uint8_t len) |
EEPROM 13 memory page read function. | |
err_t | eeprom13_id_page_write (eeprom13_t *ctx, uint16_t id_page_addr, uint8_t *data_in) |
EEPROM 13 identification page write function. | |
err_t | eeprom13_id_page_read (eeprom13_t *ctx, uint16_t id_page_addr, uint8_t *data_out) |
EEPROM 13 identification page read function. | |
err_t | eeprom13_config_dev_addr (eeprom13_t *ctx, uint8_t cda, uint8_t dal) |
EEPROM 13 configuate device address function. | |
err_t | eeprom13_sw_write_protect (eeprom13_t *ctx, uint8_t wpa, uint8_t bp, uint8_t wpl) |
EEPROM 13 software write protection function. | |
err_t | eeprom13_get_lock_status (eeprom13_t *ctx, uint8_t *lock_status) |
EEPROM 13 get lock/unlock status of the identification function. | |
This file contains API for EEPROM 13 Click Driver.