eeprom9 2.1.0.0
|
This file contains API for EEPROM 9 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
#include "spi_specifics.h"
Go to the source code of this file.
Data Structures | |
struct | eeprom9_t |
EEPROM 9 Click context object. More... | |
struct | eeprom9_cfg_t |
EEPROM 9 Click configuration object. More... | |
struct | id_data_t |
EEPROM 9 Click identification data. More... | |
Enumerations | |
enum | eeprom9_return_value_t { EEPROM9_OK = 0 , EEPROM9_ERROR = -1 } |
EEPROM 9 Click return value data. More... | |
Functions | |
void | eeprom9_cfg_setup (eeprom9_cfg_t *cfg) |
EEPROM 9 configuration object setup function. | |
err_t | eeprom9_init (eeprom9_t *ctx, eeprom9_cfg_t *cfg) |
EEPROM 9 initialization function. | |
err_t | eeprom9_generic_write (eeprom9_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
EEPROM 9 data writing function. | |
err_t | eeprom9_generic_read (eeprom9_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
EEPROM 9 data reading function. | |
void | eeprom9_set_hold (eeprom9_t *ctx, uint8_t en_hold) |
EEPROM 9 set hold pin state function. | |
void | eeprom9_set_write_protection (eeprom9_t *ctx, uint8_t en_wp) |
EEPROM 9 set write protection state function. | |
err_t | eeprom9_send_cmd (eeprom9_t *ctx, uint8_t cmd) |
EEPROM 9 send command function. | |
err_t | eeprom9_set_write_enable (eeprom9_t *ctx, uint8_t en_write) |
EEPROM 9 enable write function. | |
err_t | eeprom9_read_memory (eeprom9_t *ctx, uint32_t mem_addr, uint8_t *data_out, uint8_t len) |
EEPROM 9 memory reading function. | |
err_t | eeprom9_write_memory (eeprom9_t *ctx, uint32_t mem_addr, uint8_t *data_in, uint8_t len) |
EEPROM 9 memory writing function. | |
err_t | eeprom5_get_status_reg (eeprom9_t *ctx, uint8_t *status_data) |
EEPROM 9 read status function. | |
err_t | eeprom9_chip_erase (eeprom9_t *ctx) |
EEPROM 9 chip memory erase function. | |
err_t | eeprom9_block_erase (eeprom9_t *ctx, uint32_t block_addr) |
EEPROM 9 memory block erase function. | |
err_t | eeprom9_sector_erase (eeprom9_t *ctx, uint32_t sector_addr) |
EEPROM 9 memory sector erase function. | |
err_t | eeprom9_page_erase (eeprom9_t *ctx, uint32_t page_addr) |
EEPROM 9 memory page erase function. | |
err_t | eeprom9_read_identification (eeprom9_t *ctx, id_data_t *id_data) |
EEPROM 9 read identification function. | |
This file contains API for EEPROM 9 Click Driver.