fram3 2.0.0.0
|
This file contains API for FRAM 3 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 | fram3_t |
Click ctx object definition. More... | |
struct | fram3_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | fram3_cfg_setup (fram3_cfg_t *cfg) |
Config Object Initialization function. | |
FRAM3_RETVAL | fram3_init (fram3_t *ctx, fram3_cfg_t *cfg) |
Initialization function. | |
void | fram3_generic_write (fram3_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | fram3_generic_read (fram3_t *ctx, uint8_t *tx_buf, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
uint8_t | fram3_read_free_access_memory (fram3_t *ctx, uint8_t start_addr, uint8_t *data_buf, uint8_t n_buf_size) |
Memory read function. | |
uint8_t | fram3_write_free_access_memory (fram3_t *ctx, uint8_t start_addr, uint8_t *data_buf, uint8_t n_buf_size) |
Memory write function. | |
This file contains API for FRAM 3 Click driver.