Loading...
Searching...
No Matches

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 "board.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.
 
static const saul_reg_info_t ds18_saul_reg_info []
 Configure SAUL registry entries.
 
#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_PARAM_PIN

#define DS18_PARAM_PIN   (GPIO_PIN(0, 0))

Set default configuration parameters for the ds18.

Definition at line 35 of file ds18_params.h.

◆ DS18_PARAM_PULL

#define DS18_PARAM_PULL   (GPIO_OD_PU)

Definition at line 38 of file ds18_params.h.

◆ DS18_PARAMS_DEFAULT

#define DS18_PARAMS_DEFAULT
Value:
{ .pin = DS18_PARAM_PIN, \
.out_mode = DS18_PARAM_PULL }
#define DS18_PARAM_PIN
Set default configuration parameters for the ds18.
Definition ds18_params.h:35

Definition at line 41 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 48 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 60 of file ds18_params.h.