eeprom3 2.0.0.0
eeprom3.h File Reference

This file contains API for EEPROM 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  eeprom3_t
 Click ctx object definition. More...
 
struct  eeprom3_cfg_t
 Click configuration structure definition. More...
 

Macros

#define EEPROM3_MAP_MIKROBUS(cfg, mikrobus)
 
#define EEPROM3_OK   0
 
#define EEPROM3_ERROR   -1
 

Functions

void eeprom3_cfg_setup (eeprom3_cfg_t *cfg)
 Config Object Initialization function.
 
err_t eeprom3_init (eeprom3_t *ctx, eeprom3_cfg_t *cfg)
 Initialization function.
 
void eeprom3_write_byte (eeprom3_t *ctx, uint16_t reg_address, uint8_t data_in)
 Generic write function.
 
void eeprom3_write_page (eeprom3_t *ctx, uint16_t reg_address, uint8_t *data_in, uint8_t count)
 Generic write page function.
 
void eeprom3_read (eeprom3_t *ctx, uint16_t reg_address, uint8_t *data_out, uint16_t count)
 Generic read function.
 

Detailed Description

This file contains API for EEPROM 3 Click driver.