airflow 2.0.0.0
airflow_s Struct Reference

Air Flow Click context object. More...

#include <airflow.h>

Data Fields

digital_in_t rdy
 
i2c_master_t i2c
 
spi_master_t spi
 
uint8_t slave_address
 
pin_name_t chip_select
 
airflow_drv_t drv_sel
 
airflow_master_io_t write_f
 
airflow_master_io_t read_f
 
uint8_t major_fw_ver
 
uint8_t minor_fw_ver
 
char part_number [12]
 
char lot_number [8]
 
uint16_t pressure_range
 
char output_type
 
uint16_t scale_factor
 
char calibration_id [3]
 
uint8_t week
 
uint8_t year
 
uint16_t sequence_number
 

Detailed Description

Air Flow Click context object.

Context object definition of Air Flow Click driver.

Field Documentation

◆ calibration_id

char calibration_id[3]

◆ chip_select

pin_name_t chip_select

Chip select pin descriptor (used for SPI driver).

◆ drv_sel

airflow_drv_t drv_sel

Master driver interface selector.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ lot_number

char lot_number[8]

◆ major_fw_ver

uint8_t major_fw_ver

◆ minor_fw_ver

uint8_t minor_fw_ver

◆ output_type

char output_type

◆ part_number

char part_number[12]

◆ pressure_range

uint16_t pressure_range

◆ rdy

digital_in_t rdy

Data ready pin.

◆ read_f

Master read function.

◆ scale_factor

uint16_t scale_factor

◆ sequence_number

uint16_t sequence_number

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).

◆ spi

spi_master_t spi

SPI driver object.

◆ week

uint8_t week

◆ write_f

Master write function.

◆ year

uint8_t year

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