altitude5 2.0.0.0
altitude5_cfg_t Struct Reference

Altitude 5 Click configuration object. More...

#include <altitude5.h>

Data Fields

pin_name_t an
 
analog_in_resolution_t resolution
 
float vref
 
pin_name_t scl
 
pin_name_t sda
 
uint32_t i2c_speed
 
uint8_t i2c_address
 
altitude5_drv_t drv_sel
 
int16_t adc_offset
 
float sea_level_pressure
 
float temperature_degree_celsius
 

Detailed Description

Altitude 5 Click configuration object.

Configuration object definition of Altitude 5 Click driver.

Field Documentation

◆ adc_offset

int16_t adc_offset

ADC offset.

◆ an

pin_name_t an

Analog pin descriptor.

◆ drv_sel

altitude5_drv_t drv_sel

◆ 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.

◆ sea_level_pressure

float sea_level_pressure

Sea-level pressure.

◆ temperature_degree_celsius

float temperature_degree_celsius

Temperature degree Celsius.

◆ vref

float vref

ADC reference voltage.


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