Default configuration for the MAX31865 driver. More...

Detailed Description

Default configuration for the MAX31865 driver.

Author
David Picard

Definition in file max31865_params.h.

#include "board.h"
#include "saul_reg.h"
#include "max31865.h"
#include "max31865_internal.h"
#include "max31865_lut.h"
+ Include dependency graph for max31865_params.h:

Go to the source code of this file.

Variables

static const max31865_params_t max31865_params []
 Configuration structs for the MAX31865 driver. More...
 
static const saul_reg_info_t max31865_saul_info []
 Allocate and configure entries to the SAUL registry. More...
 

Default configuration for the MAX31865 driver

#define MAX31865_PARAM_SPI   (SPI_DEV(0))
 Default SPI bus for the MAX31865 driver.
 
#define MAX31865_PARAM_CS_PIN   (GPIO_PIN(0, 5))
 Default CS pin for the MAX31865 driver.
 
#define MAX31865_PARAM_CFG_BYTE
 Configuration byte definition. More...
 
#define MAX31865_PARAM_TEMP_THRES_LOW   -19900
 Low temperature threshold.
 
#define MAX31865_PARAM_TEMP_THRES_HIGH   64900
 High temperature threshold.
 
#define MAX31865_PARAMS
 Default parameters for the MAX31865 driver. More...
 
#define MAX31865_SAUL_INFO   { .name = "max31865_rtd" }
 Default SAUL info for the MAX31865 driver.
 

Macro Definition Documentation

◆ MAX31865_PARAM_CFG_BYTE

#define MAX31865_PARAM_CFG_BYTE
Value:
MAX31865_CFG_CONV_AUTO | \
MAX31865_CFG_3WIRE | \
MAX31865_CFG_FILTER_50HZ
#define MAX31865_CFG_VBIAS_ON
Enable Vbias.

Configuration byte definition.

Definition at line 55 of file max31865_params.h.

◆ MAX31865_PARAMS

#define MAX31865_PARAMS
Value:
{ \
.cs_pin = MAX31865_PARAM_CS_PIN, \
.cfg_byte = MAX31865_PARAM_CFG_BYTE, \
.temp_low_threshold = MAX31865_PARAM_TEMP_THRES_LOW, \
.temp_high_threshold = MAX31865_PARAM_TEMP_THRES_HIGH, \
.lut = &max31865_lut, \
.lut_numlines = MAX31865_LUT_NUMLINES, \
}
static const int32_t max31865_lut[][4]
Default lookup table for temperature conversion.
Definition: max31865_lut.h:46
#define MAX31865_LUT_NUMLINES
Number of lines in max31865_lut.
Definition: max31865_lut.h:30
#define MAX31865_PARAM_TEMP_THRES_HIGH
High temperature threshold.
#define MAX31865_PARAM_SPI
Default SPI bus for the MAX31865 driver.
#define MAX31865_PARAM_CS_PIN
Default CS pin for the MAX31865 driver.
#define MAX31865_PARAM_TEMP_THRES_LOW
Low temperature threshold.
#define MAX31865_PARAM_CFG_BYTE
Configuration byte definition.

Default parameters for the MAX31865 driver.

Definition at line 79 of file max31865_params.h.

Variable Documentation

◆ max31865_params

const max31865_params_t max31865_params[]
static
Initial value:
=
{
}
#define MAX31865_PARAMS
Default parameters for the MAX31865 driver.

Configuration structs for the MAX31865 driver.

Definition at line 100 of file max31865_params.h.

◆ max31865_saul_info

const saul_reg_info_t max31865_saul_info[]
static
Initial value:
=
{
}
#define MAX31865_SAUL_INFO
Default SAUL info for the MAX31865 driver.

Allocate and configure entries to the SAUL registry.

Definition at line 108 of file max31865_params.h.