at24mac_params.h File Reference

Default configuration for the AT24MAC chip. More...

Detailed Description

Default configuration for the AT24MAC chip.

Author
Benjamin Valentin benja.nosp@m.min..nosp@m.valen.nosp@m.tin@.nosp@m.ml-pa.nosp@m..com

Definition in file at24mac_params.h.

#include "board.h"
#include "at24mac.h"
+ Include dependency graph for at24mac_params.h:

Go to the source code of this file.

Variables

static const at24mac_params_t at24mac_params []
 Configuration for AT24MACs. More...
 

Set default configuration parameters for AT24Mac driver

#define AT24MAC_PARAM_I2C_DEV   I2C_DEV(0)
 
#define AT24MAC_PARAM_I2C_ADDR   (0x58)
 
#define AT24MAC_PARAM_TYPE   (AT24MAC6XX)
 
#define AT24MAC_PARAMS
 

Macro Definition Documentation

◆ AT24MAC_PARAMS

#define AT24MAC_PARAMS
Value:
{ .i2c_dev = AT24MAC_PARAM_I2C_DEV, \
.i2c_addr = AT24MAC_PARAM_I2C_ADDR,\
.type = AT24MAC_PARAM_TYPE }

Definition at line 44 of file at24mac_params.h.

Variable Documentation

◆ at24mac_params

const at24mac_params_t at24mac_params[]
static
Initial value:
=
{
AT24MAC_PARAMS
}

Configuration for AT24MACs.

Definition at line 53 of file at24mac_params.h.