All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

Default configuration for Seesaw Soil devices. More...

Detailed Description

Default configuration for Seesaw Soil devices.

Author
Viktor Gal vikto.nosp@m.r.ga.nosp@m.l@mae.nosp@m.th.c.nosp@m.om

Definition in file seesaw_soil_params.h.

#include "board.h"
#include "seesaw_soil.h"
#include "saul_reg.h"
+ Include dependency graph for seesaw_soil_params.h:

Go to the source code of this file.

Variables

static const seesaw_soil_params_t seesaw_soil_params []
 Seesaw Soil configuration.
 
static const saul_reg_info_t seesaw_soil_saul_info []
 Additional meta information to keep in the SAUL registry.
 

Set default configuration parameters for the SEESAW_SOIL driver

#define SEESAW_SOIL_PARAM_I2C   I2C_DEV(0)
 
#define SEESAW_SOIL_PARAM_ADDR   (CONFIG_SEESAW_SOIL_I2C_ADDRESS)
 
#define SEESAW_SOIL_PARAMS
 
#define SEESAW_SOIL_SAUL_INFO   { .name = "seesaw_soil" }
 

Macro Definition Documentation

◆ SEESAW_SOIL_PARAM_ADDR

#define SEESAW_SOIL_PARAM_ADDR   (CONFIG_SEESAW_SOIL_I2C_ADDRESS)

Definition at line 38 of file seesaw_soil_params.h.

◆ SEESAW_SOIL_PARAM_I2C

#define SEESAW_SOIL_PARAM_I2C   I2C_DEV(0)

Definition at line 35 of file seesaw_soil_params.h.

◆ SEESAW_SOIL_PARAMS

#define SEESAW_SOIL_PARAMS
Value:
{ .i2c = SEESAW_SOIL_PARAM_I2C, \
.addr = SEESAW_SOIL_PARAM_ADDR }

Definition at line 42 of file seesaw_soil_params.h.

◆ SEESAW_SOIL_SAUL_INFO

#define SEESAW_SOIL_SAUL_INFO   { .name = "seesaw_soil" }

Definition at line 46 of file seesaw_soil_params.h.

Variable Documentation

◆ seesaw_soil_params

const seesaw_soil_params_t seesaw_soil_params[]
static
Initial value:
=
{
SEESAW_SOIL_PARAMS
}

Seesaw Soil configuration.

Definition at line 53 of file seesaw_soil_params.h.

◆ seesaw_soil_saul_info

const saul_reg_info_t seesaw_soil_saul_info[]
static
Initial value:
=
{
SEESAW_SOIL_SAUL_INFO
}

Additional meta information to keep in the SAUL registry.

Definition at line 61 of file seesaw_soil_params.h.