proximity16 2.1.0.0
proximity16_t Struct Reference

Proximity 16 Click context object. More...

#include <proximity16.h>

Data Fields

digital_out_t i2c_rst
 
digital_out_t lpn
 
digital_in_t int_pin
 
i2c_master_t i2c
 
uint8_t slave_address
 
uint8_t stream_count
 
uint32_t data_read_size
 
uint8_t offset_data [PROXIMITY16_OFFSET_BUFFER_SIZE]
 
uint8_t temp_buf [PROXIMITY16_TEMP_BUFFER_SIZE]
 

Detailed Description

Proximity 16 Click context object.

Context object definition of Proximity 16 Click driver.

Field Documentation

◆ data_read_size

uint32_t data_read_size

Offset buffer.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ i2c_rst

digital_out_t i2c_rst

I2C interface reset pin, active high.

◆ int_pin

digital_in_t int_pin

Interrupt pin.

◆ lpn

digital_out_t lpn

LP mode communication enable pin, active high.

◆ offset_data

uint8_t offset_data[PROXIMITY16_OFFSET_BUFFER_SIZE]

Temporary buffer used for internal driver processing.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver). Results stream count, value auto-incremented at each range.

◆ stream_count

uint8_t stream_count

Size of data read though I2C.

◆ temp_buf

uint8_t temp_buf[PROXIMITY16_TEMP_BUFFER_SIZE]

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