lightranger11 2.1.0.0
lightranger11_t Struct Reference

LightRanger 11 Click context object. More...

#include <lightranger11.h>

Data Fields

digital_out_t rsc
 
digital_out_t lp
 
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 [LIGHTRANGER11_OFFSET_BUFFER_SIZE]
 
uint8_t temp_buf [LIGHTRANGER11_TEMP_BUFFER_SIZE]
 

Detailed Description

LightRanger 11 Click context object.

Context object definition of LightRanger 11 Click driver.

Field Documentation

◆ data_read_size

uint32_t data_read_size

Offset buffer.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ int_pin

digital_in_t int_pin

Interrupt pin.

◆ lp

digital_out_t lp

Comms enable pin.

◆ offset_data

uint8_t offset_data[LIGHTRANGER11_OFFSET_BUFFER_SIZE]

Temporary buffer used for internal driver processing.

◆ rsc

digital_out_t rsc

I2C interface reset pin.

◆ 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[LIGHTRANGER11_TEMP_BUFFER_SIZE]

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