altitude6 2.0.0.0
altitude6_s Struct Reference

Altitude 6 Click context object. More...

#include <altitude6.h>

Data Fields

i2c_master_t i2c
 
spi_master_t spi
 
uint8_t slave_address
 
pin_name_t chip_select
 
altitude6_drv_t drv_sel
 
altitude6_master_io_t write_f
 
altitude6_master_io_t read_f
 
float sea_lvl_pressure
 
uint16_t press_sens_c1
 
uint16_t press_off_c2
 
uint16_t press_tcs_c3
 
uint16_t press_tco_c4
 
uint16_t press_tref_c5
 
uint16_t press_tempsens_c6
 
uint8_t ratio_temp
 
uint8_t ratio_press
 

Detailed Description

Altitude 6 Click context object.

Context object definition of Altitude 6 Click driver.

Field Documentation

◆ chip_select

pin_name_t chip_select

Chip select pin descriptor (used for SPI driver).

◆ drv_sel

altitude6_drv_t drv_sel

Master driver interface selector.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ press_off_c2

uint16_t press_off_c2

Pressure offset.

◆ press_sens_c1

uint16_t press_sens_c1

Pressure sensitivity.

◆ press_tco_c4

uint16_t press_tco_c4

Temperature coefficient of pressure offset.

◆ press_tcs_c3

uint16_t press_tcs_c3

Temperature coefficient of pressure sensitivity.

◆ press_tempsens_c6

uint16_t press_tempsens_c6

Temperature coefficient of the temperature.

◆ press_tref_c5

uint16_t press_tref_c5

Reference temperature.

◆ ratio_press

uint8_t ratio_press

Pressure ratio.

◆ ratio_temp

uint8_t ratio_temp

Temperature ratio.

◆ read_f

Master read function.

◆ sea_lvl_pressure

float sea_lvl_pressure

Sea-level pressure.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).

◆ spi

spi_master_t spi

SPI driver object.

◆ write_f

Master write function.


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