Default configuration for jc42. More...

Detailed Description

Default configuration for jc42.

Author
Koen Zandberg koen@.nosp@m.berg.nosp@m.zand..nosp@m.net
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file jc42_params.h.

#include "board.h"
#include "jc42.h"
#include "periph/i2c.h"
+ Include dependency graph for jc42_params.h:

Go to the source code of this file.

Variables

static const jc42_params_t jc42_params []
 Configure JC42. More...
 
static const saul_reg_info_t jc42_saul_info []
 Configure SAUL registry entries. More...
 

Set default configuration parameters for the JC42

#define JC42_PARAM_I2C_DEV   I2C_DEV(0)
 
#define JC42_PARAM_ADDR   (0x18)
 
#define JC42_PARAM_SPEED   I2C_SPEED_FAST
 
#define JC42_PARAMS
 
#define JC42_SAUL_INFO   { .name= "jc42" }
 

Macro Definition Documentation

◆ JC42_PARAMS

#define JC42_PARAMS
Value:
{ .i2c = JC42_PARAM_I2C_DEV, \
.speed = JC42_PARAM_SPEED, \
.addr = JC42_PARAM_ADDR }

Definition at line 47 of file jc42_params.h.

Variable Documentation

◆ jc42_params

const jc42_params_t jc42_params[]
static
Initial value:
=
{
JC42_PARAMS
}

Configure JC42.

Definition at line 59 of file jc42_params.h.

◆ jc42_saul_info

const saul_reg_info_t jc42_saul_info[]
static
Initial value:
=
{
JC42_SAUL_INFO
}

Configure SAUL registry entries.

Definition at line 67 of file jc42_params.h.