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

Default configuration for AMS CCS811 digital gas sensors. More...

Detailed Description

Default configuration for AMS CCS811 digital gas sensors.

Author
Gunar Schorcht gunar.nosp@m.@sch.nosp@m.orcht.nosp@m..net

Definition in file ccs811_params.h.

#include "board.h"
#include "ccs811.h"
#include "saul_reg.h"
+ Include dependency graph for ccs811_params.h:

Go to the source code of this file.

Variables

static const ccs811_params_t ccs811_params []
 CCS811 configuration.
 
static const saul_reg_info_t ccs811_saul_info []
 Additional meta information to keep in the SAUL registry.
 

CCS811 default configuration parameters

#define CCS811_PARAM_I2C_DEV   (I2C_DEV(0))
 
#define CCS811_PARAM_I2C_ADDR   (CCS811_I2C_ADDRESS_1)
 
#define CCS811_PARAM_MODE   (CCS811_MODE_1S)
 
#define CCS811_PARAM_RESET_PIN   (GPIO_UNDEF)
 
#define CCS811_PARAM_WAKE_PIN   (GPIO_UNDEF)
 
#define CCS811_PARAM_INT_PIN   (GPIO_PIN(0, 0))
 
#define CCS811_PARAM_INT_MODE   (CCS811_INT_NONE)
 
#define CCS811_PARAMS
 
#define CCS811_SAUL_INFO   { .name = "ccs811" }
 

Macro Definition Documentation

◆ CCS811_PARAM_I2C_ADDR

#define CCS811_PARAM_I2C_ADDR   (CCS811_I2C_ADDRESS_1)

Definition at line 36 of file ccs811_params.h.

◆ CCS811_PARAM_I2C_DEV

#define CCS811_PARAM_I2C_DEV   (I2C_DEV(0))

Definition at line 33 of file ccs811_params.h.

◆ CCS811_PARAM_INT_MODE

#define CCS811_PARAM_INT_MODE   (CCS811_INT_NONE)

Definition at line 51 of file ccs811_params.h.

◆ CCS811_PARAM_INT_PIN

#define CCS811_PARAM_INT_PIN   (GPIO_PIN(0, 0))

Definition at line 48 of file ccs811_params.h.

◆ CCS811_PARAM_MODE

#define CCS811_PARAM_MODE   (CCS811_MODE_1S)

Definition at line 39 of file ccs811_params.h.

◆ CCS811_PARAM_RESET_PIN

#define CCS811_PARAM_RESET_PIN   (GPIO_UNDEF)

Definition at line 42 of file ccs811_params.h.

◆ CCS811_PARAM_WAKE_PIN

#define CCS811_PARAM_WAKE_PIN   (GPIO_UNDEF)

Definition at line 45 of file ccs811_params.h.

◆ CCS811_PARAMS

#define CCS811_PARAMS
Value:
{ .i2c_dev = CCS811_PARAM_I2C_DEV, \
.i2c_addr = CCS811_PARAM_I2C_ADDR, \
.mode = CCS811_PARAM_MODE, \
.wake_pin = CCS811_PARAM_WAKE_PIN, \
.reset_pin = CCS811_PARAM_RESET_PIN \
}

Definition at line 65 of file ccs811_params.h.

◆ CCS811_SAUL_INFO

#define CCS811_SAUL_INFO   { .name = "ccs811" }

Definition at line 74 of file ccs811_params.h.

Variable Documentation

◆ ccs811_params

const ccs811_params_t ccs811_params[]
static
Initial value:
=
{
CCS811_PARAMS
}

CCS811 configuration.

Definition at line 81 of file ccs811_params.h.

◆ ccs811_saul_info

const saul_reg_info_t ccs811_saul_info[]
static
Initial value:
=
{
CCS811_SAUL_INFO
}

Additional meta information to keep in the SAUL registry.

Definition at line 89 of file ccs811_params.h.