altitude5 2.0.0.0
altitude5_s Struct Reference

Altitude 5 Click context object. More...

#include <altitude5.h>

Data Fields

analog_in_t adc
 
i2c_master_t i2c
 
uint8_t slave_address
 
altitude5_drv_t drv_sel
 
altitude5_master_io_t read_adc_f
 
int16_t offset
 
float sea_lvl_pressure
 
float temperature
 

Detailed Description

Altitude 5 Click context object.

Context object definition of Altitude 5 Click driver.

Field Documentation

◆ adc

analog_in_t adc

ADC module object.

◆ drv_sel

altitude5_drv_t drv_sel

Master driver interface selector.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ offset

int16_t offset

ADC offset.

◆ read_adc_f

Master write function.

◆ sea_lvl_pressure

float sea_lvl_pressure

Sea-level pressure.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).

◆ temperature

float temperature

Temperature degree Celsius.


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