ph2 2.1.0.0
ph2_cfg_t Struct Reference

pH 2 Click configuration object. More...

#include <ph2.h>

Data Fields

pin_name_t an
 
pin_name_t scl
 
pin_name_t sda
 
pin_name_t dq
 
pin_name_t st1
 
pin_name_t st2
 
analog_in_resolution_t resolution
 
float vref
 
uint32_t i2c_speed
 
uint8_t i2c_address
 
ph2_drv_t drv_sel
 

Detailed Description

pH 2 Click configuration object.

Configuration object definition of pH 2 Click driver.

Field Documentation

◆ an

pin_name_t an

Analog pin descriptor.

◆ dq

pin_name_t dq

Thermpo data pin.

◆ drv_sel

ph2_drv_t drv_sel

Master driver interface selector.

◆ i2c_address

uint8_t i2c_address

I2C slave address.

◆ i2c_speed

uint32_t i2c_speed

I2C serial speed.

◆ resolution

analog_in_resolution_t resolution

ADC resolution.

◆ scl

pin_name_t scl

Clock pin descriptor for I2C driver.

◆ sda

pin_name_t sda

Bidirectional data pin descriptor for I2C driver.

◆ st1

pin_name_t st1

Status 1 pin.

◆ st2

pin_name_t st2

Status 2 pin.

◆ vref

float vref

ADC reference voltage.


The documentation for this struct was generated from the following file: