Loading...
Searching...
No Matches

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.
 
static const saul_reg_info_t max31865_saul_info []
 Allocate and configure entries to the SAUL registry.
 

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.
 
#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.
 
#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:
#define MAX31865_CFG_3WIRE
3-wire resistor connection
#define MAX31865_CFG_FILTER_50HZ
Filter out 50Hz if set, or 60Hz otherwise.
#define MAX31865_CFG_VBIAS_ON
Enable Vbias.
#define MAX31865_CFG_CONV_AUTO
Enable automatic conversion mode.

Configuration byte definition.

Definition at line 55 of file max31865_params.h.

◆ MAX31865_PARAM_CS_PIN

#define MAX31865_PARAM_CS_PIN   (GPIO_PIN(0, 5))

Default CS pin for the MAX31865 driver.

Definition at line 48 of file max31865_params.h.

◆ MAX31865_PARAM_SPI

#define MAX31865_PARAM_SPI   (SPI_DEV(0))

Default SPI bus for the MAX31865 driver.

Definition at line 41 of file max31865_params.h.

◆ MAX31865_PARAM_TEMP_THRES_HIGH

#define MAX31865_PARAM_TEMP_THRES_HIGH   64900

High temperature threshold.

Definition at line 72 of file max31865_params.h.

◆ MAX31865_PARAM_TEMP_THRES_LOW

#define MAX31865_PARAM_TEMP_THRES_LOW   -19900

Low temperature threshold.

Definition at line 65 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.
#define MAX31865_LUT_NUMLINES
Number of lines in max31865_lut.
#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.

◆ MAX31865_SAUL_INFO

#define MAX31865_SAUL_INFO   { .name = "max31865_rtd" }

Default SAUL info for the MAX31865 driver.

Definition at line 93 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.