Default configuration for Atlas Scientific pH OEM sensors. More...

Detailed Description

Default configuration for Atlas Scientific pH OEM sensors.

Author
Igor Knippenberg igor..nosp@m.knip.nosp@m.penbe.nosp@m.rg@g.nosp@m.mail..nosp@m.com

Definition in file ph_oem_params.h.

#include "board.h"
#include "saul_reg.h"
#include "ph_oem.h"
#include "ph_oem_regs.h"
+ Include dependency graph for ph_oem_params.h:

Go to the source code of this file.

Variables

static const ph_oem_params_t ph_oem_params []
 pH OEM defaults if not defined for a board or application More...
 
static const saul_reg_info_t ph_oem_saul_info []
 Additional meta information to keep in the SAUL registry. More...
 

Set default configuration parameters for the Atlas Scientific pH OEM driver

#define PH_OEM_PARAM_I2C   (I2C_DEV(0))
 
#define PH_OEM_PARAM_ADDR   (0x65)
 
#define PH_OEM_PARAM_INTERRUPT_PIN   (GPIO_UNDEF)
 
#define PH_OEM_PARAM_INTERRUPT_OPTION   (PH_OEM_IRQ_BOTH)
 
#define PH_OEM_PARAM_INTERRUPT_GPIO_MODE   (GPIO_IN_PD)
 
#define PH_OEM_PARAMS
 
#define PH_OEM_SAUL_INFO   { .name = "pH OEM sensor" }
 

Macro Definition Documentation

◆ PH_OEM_PARAMS

#define PH_OEM_PARAMS
Value:
{ .i2c = PH_OEM_PARAM_I2C, \
.addr = PH_OEM_PARAM_ADDR, \
.interrupt_pin = PH_OEM_PARAM_INTERRUPT_PIN, \
.gpio_mode = PH_OEM_PARAM_INTERRUPT_GPIO_MODE, \
.irq_option = PH_OEM_PARAM_INTERRUPT_OPTION }

Definition at line 52 of file ph_oem_params.h.

Variable Documentation

◆ ph_oem_params

Initial value:
=
{
PH_OEM_PARAMS
}

pH OEM defaults if not defined for a board or application

Definition at line 65 of file ph_oem_params.h.

◆ ph_oem_saul_info

const saul_reg_info_t ph_oem_saul_info[]
static
Initial value:
=
{
PH_OEM_SAUL_INFO
}

Additional meta information to keep in the SAUL registry.

Definition at line 73 of file ph_oem_params.h.