Loading...
Searching...
No Matches
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.
 

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_PARAM_I2C_ADDR

#define AT24MAC_PARAM_I2C_ADDR   (0x58)

Definition at line 37 of file at24mac_params.h.

◆ AT24MAC_PARAM_I2C_DEV

#define AT24MAC_PARAM_I2C_DEV   I2C_DEV(0)

Definition at line 34 of file at24mac_params.h.

◆ AT24MAC_PARAM_TYPE

#define AT24MAC_PARAM_TYPE   (AT24MAC6XX)

Definition at line 40 of file at24mac_params.h.

◆ 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.