ambient18 2.0.0.0
ambient18_t Struct Reference

Ambient 18 Click context object. More...

#include <ambient18.h>

Data Fields

digital_out_t gc1
 
digital_out_t gc2
 
analog_in_t adc
 
i2c_master_t i2c
 
uint8_t slave_address
 
pin_name_t chip_select
 
float vref
 
ambient18_drv_t drv_sel
 
uint8_t gain_mode
 

Detailed Description

Ambient 18 Click context object.

Context object definition of Ambient 18 Click driver.

Field Documentation

◆ adc

analog_in_t adc

ADC module object.

◆ chip_select

pin_name_t chip_select

Chip select pin descriptor (used for SPI driver).

◆ drv_sel

ambient18_drv_t drv_sel

Master driver interface selector.

◆ gain_mode

uint8_t gain_mode

Sensor gain mode.

◆ gc1

digital_out_t gc1

Mode setting pin 1.

◆ gc2

digital_out_t gc2

Mode setting pin 2.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).

◆ vref

float vref

ADC reference voltage.


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