eeram3 2.0.0.0
|
This file contains API for EERAM 3 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 | eeram3_t |
EERAM 3 Click context object. More... | |
struct | eeram3_cfg_t |
EERAM 3 Click configuration object. More... | |
Enumerations | |
enum | eeram3_return_value_t { EERAM3_OK = 0 , EERAM3_ERROR = -1 } |
EERAM 3 Click return value data. More... | |
Functions | |
void | eeram3_cfg_setup (eeram3_cfg_t *cfg) |
EERAM 3 configuration object setup function. | |
err_t | eeram3_init (eeram3_t *ctx, eeram3_cfg_t *cfg) |
EERAM 3 initialization function. | |
void | eeram3_default_cfg (eeram3_t *ctx) |
EERAM 3 default configuration function. | |
err_t | eeram3_write_opcode (eeram3_t *ctx, uint8_t opcode) |
EERAM 3 write opcode function. | |
err_t | eeram3_read_opcode (eeram3_t *ctx, uint8_t opcode, uint8_t *data_out, uint8_t len) |
EERAM 3 read opcode function. | |
void | eeram3_set_hld_pin (eeram3_t *ctx, uint8_t state) |
EERAM 3 set HLD pin function. | |
err_t | eeram3_enable_write (eeram3_t *ctx) |
EERAM 3 enable write function. | |
err_t | eeram3_disable_write (eeram3_t *ctx) |
EERAM 3 disable write function. | |
err_t | eeram3_set_block_protection (eeram3_t *ctx, uint8_t block_protect) |
EERAM 3 set block protection function. | |
err_t | eeram3_write_status (eeram3_t *ctx, uint8_t status) |
EERAM 3 write status function. | |
err_t | eeram3_read_status (eeram3_t *ctx, uint8_t *status) |
EERAM 3 read status function. | |
err_t | eeram3_enter_hibernate_mode (eeram3_t *ctx) |
EERAM 3 enter hibernate mode function. | |
void | eeram3_wakeup_from_hibernate (eeram3_t *ctx) |
EERAM 3 wake up from hibernate function. | |
err_t | eeram3_memory_write (eeram3_t *ctx, uint16_t address, uint8_t *data_in, uint16_t len) |
EERAM 3 memory write function. | |
err_t | eeram3_memory_read (eeram3_t *ctx, uint16_t address, uint8_t *data_out, uint16_t len) |
EERAM 3 memory read function. | |
err_t | eeram3_memory_secure_write (eeram3_t *ctx, uint16_t address, uint8_t *data_in, uint8_t len) |
EERAM 3 memory write function. | |
err_t | eeram3_memory_secure_read (eeram3_t *ctx, uint16_t address, uint8_t *data_out, uint8_t len) |
EERAM 3 memory secure read function. | |
err_t | eeram3_read_last_written_address (eeram3_t *ctx, uint16_t *address) |
EERAM 3 read last written address function. | |
err_t | eeram3_nv_user_space_write (eeram3_t *ctx, uint16_t data_in) |
EERAM 3 nv user space write function. | |
err_t | eeram3_nv_user_space_read (eeram3_t *ctx, uint16_t *data_out) |
EERAM 3 nv user space read function. | |
err_t | eeram3_store_data (eeram3_t *ctx) |
EERAM 3 store data function. | |
err_t | eeram3_recall_data (eeram3_t *ctx) |
EERAM 3 recall data function. | |
err_t | eeram3_autostore_enable (eeram3_t *ctx) |
EERAM 3 autostore enable function. | |
err_t | eeram3_autostore_disable (eeram3_t *ctx) |
EERAM 3 autostore disable function. | |
This file contains API for EERAM 3 Click Driver.