Default configuration for TCS37727 devices. More...

Detailed Description

Default configuration for TCS37727 devices.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file tcs37727_params.h.

#include "board.h"
#include "tcs37727.h"
#include "saul_reg.h"
+ Include dependency graph for tcs37727_params.h:

Go to the source code of this file.

Variables

static const tcs37727_params_t tcs37727_params []
 TCS37727 configuration. More...
 
static const saul_reg_info_t tcs37727_saul_info []
 Additional meta information to keep in the SAUL registry. More...
 

Set default configuration parameters for TCS37727 devices

#define TCS37727_PARAM_I2C   I2C_DEV(0)
 
#define TCS37727_PARAM_ADDR   (TCS37727_I2C_ADDRESS)
 
#define TCS37727_PARAM_ATIME   (CONFIG_TCS37727_ATIME_DEFAULT)
 
#define TCS37727_PARAMS
 
#define TCS37727_SAUL_INFO   { .name = "tcs37727" }
 

Macro Definition Documentation

◆ TCS37727_PARAMS

#define TCS37727_PARAMS
Value:
{ .i2c = TCS37727_PARAM_I2C, \
.addr = TCS37727_PARAM_ADDR, \
.atime = TCS37727_PARAM_ATIME }

Definition at line 45 of file tcs37727_params.h.

Variable Documentation

◆ tcs37727_params

const tcs37727_params_t tcs37727_params[]
static
Initial value:
=
{
TCS37727_PARAMS
}

TCS37727 configuration.

Definition at line 57 of file tcs37727_params.h.

◆ tcs37727_saul_info

const saul_reg_info_t tcs37727_saul_info[]
static
Initial value:
=
{
TCS37727_SAUL_INFO
}

Additional meta information to keep in the SAUL registry.

Definition at line 65 of file tcs37727_params.h.