Default configuration for DS1822 and DS18B20 temperature sensors. More...

Detailed Description

Default configuration for DS1822 and DS18B20 temperature sensors.

Author
Frits Kuipers frits.nosp@m..kui.nosp@m.pers@.nosp@m.gmai.nosp@m.l.com

Definition in file ds18_params.h.

#include "ds18.h"
#include "saul_reg.h"
+ Include dependency graph for ds18_params.h:

Go to the source code of this file.

Variables

static const ds18_params_t ds18_params []
 Configure ds18. More...
 
static const saul_reg_info_t ds18_saul_reg_info []
 Configure SAUL registry entries. More...
 
#define DS18_PARAM_PIN   (GPIO_PIN(0, 0))
 Set default configuration parameters for the ds18.
 
#define DS18_PARAM_PULL   (GPIO_OD_PU)
 
#define DS18_PARAMS_DEFAULT
 

Macro Definition Documentation

◆ DS18_PARAMS_DEFAULT

#define DS18_PARAMS_DEFAULT
Value:
{ .pin = DS18_PARAM_PIN, \
.out_mode = DS18_PARAM_PULL }

Definition at line 40 of file ds18_params.h.

Variable Documentation

◆ ds18_params

const ds18_params_t ds18_params[]
static
Initial value:
=
{
DS18_PARAMS_DEFAULT,
}

Configure ds18.

Definition at line 47 of file ds18_params.h.

◆ ds18_saul_reg_info

const saul_reg_info_t ds18_saul_reg_info[]
static
Initial value:
=
{
{ .name = "ds18" }
}

Configure SAUL registry entries.

Definition at line 59 of file ds18_params.h.

DS18_PARAM_PIN
#define DS18_PARAM_PIN
Set default configuration parameters for the ds18.
Definition: ds18_params.h:34