Loading...
Searching...
No Matches

Default configuration for BMP180. More...

Detailed Description

#include "board.h"
#include "bmp180.h"
#include "bmp180_internals.h"
#include "saul_reg.h"
+ Include dependency graph for bmp180_params.h:

Go to the source code of this file.

Variables

static const bmp180_params_t bmp180_params []
 Configure BMP180.
 
static const saul_reg_info_t bmp180_saul_info []
 Configure SAUL registry entries.
 

Set default configuration parameters for the BMP180

#define BMP180_PARAM_I2C_DEV   I2C_DEV(0)
 
#define BMP180_PARAM_I2C_ADDR   BMP180_ADDR
 
#define BMP180_PARAM_OVERSAMPLING   BMP180_ULTRALOWPOWER
 
#define BMP180_PARAMS
 
#define BMP180_SAUL_INFO   { .name = "bmp180" }
 

Macro Definition Documentation

◆ BMP180_PARAM_I2C_ADDR

#define BMP180_PARAM_I2C_ADDR   BMP180_ADDR

Definition at line 41 of file bmp180_params.h.

◆ BMP180_PARAM_I2C_DEV

#define BMP180_PARAM_I2C_DEV   I2C_DEV(0)

Definition at line 38 of file bmp180_params.h.

◆ BMP180_PARAM_OVERSAMPLING

#define BMP180_PARAM_OVERSAMPLING   BMP180_ULTRALOWPOWER

Definition at line 44 of file bmp180_params.h.

◆ BMP180_PARAMS

#define BMP180_PARAMS
Value:
{ .i2c_dev = BMP180_PARAM_I2C_DEV, \
.i2c_addr = BMP180_PARAM_I2C_ADDR, \
.oversampling = BMP180_PARAM_OVERSAMPLING }

Definition at line 48 of file bmp180_params.h.

◆ BMP180_SAUL_INFO

#define BMP180_SAUL_INFO   { .name = "bmp180" }

Definition at line 53 of file bmp180_params.h.

Variable Documentation

◆ bmp180_params

const bmp180_params_t bmp180_params[]
static
Initial value:
=
{
BMP180_PARAMS
}

Configure BMP180.

Definition at line 60 of file bmp180_params.h.

◆ bmp180_saul_info

const saul_reg_info_t bmp180_saul_info[]
static
Initial value:
=
{
BMP180_SAUL_INFO
}

Configure SAUL registry entries.

Definition at line 68 of file bmp180_params.h.