smoke2 2.0.0.0
smoke2_s Struct Reference

Smoke 2 Click context object. More...

#include <smoke2.h>

Data Fields

digital_in_t int_pin
 
i2c_master_t i2c
 
spi_master_t spi
 
uint8_t slave_address
 
pin_name_t chip_select
 
smoke2_drv_t drv_sel
 
smoke2_master_io_t write_f
 
smoke2_master_io_t read_f
 
uint16_t calibration_value
 
uint16_t threshold_value
 
uint8_t enabled_slot
 

Detailed Description

Smoke 2 Click context object.

Context object definition of Smoke 2 Click driver.

Field Documentation

◆ calibration_value

uint16_t calibration_value

◆ chip_select

pin_name_t chip_select

Chip select pin descriptor (used for SPI driver).

◆ drv_sel

smoke2_drv_t drv_sel

Master driver interface selector.

◆ enabled_slot

uint8_t enabled_slot

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ int_pin

digital_in_t int_pin

Interrupt.

◆ read_f

Master read function.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).

◆ spi

spi_master_t spi

SPI driver object.

◆ threshold_value

uint16_t threshold_value

◆ write_f

Master write function.


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