Chirp SonicLib  2.1.0
Public Attributes | List of all members
ch_config_t Struct Reference

Combined configuration structure. More...

#include <soniclib.h>

Public Attributes

ch_mode_t mode
 
uint16_t max_range
 
uint16_t static_range
 
uint16_t sample_interval
 
ch_thresholds_tthresh_ptr
 
ch_time_plan_t time_plan
 
uint8_t enable_target_int
 

Detailed Description

Combined configuration structure.

Member Data Documentation

◆ enable_target_int

uint8_t ch_config_t::enable_target_int

enable(1) or disable(0) target detection interrupt

◆ max_range

uint16_t ch_config_t::max_range

maximum range, in mm

◆ mode

ch_mode_t ch_config_t::mode

operating mode

◆ sample_interval

uint16_t ch_config_t::sample_interval

sample interval, only used if in free-running mode

◆ static_range

uint16_t ch_config_t::static_range

static target rejection range, in mm (0 if unused)

◆ thresh_ptr

ch_thresholds_t* ch_config_t::thresh_ptr

ptr to detection thresholds structure (if supported), should be NULL (0) for CH101

◆ time_plan

ch_time_plan_t ch_config_t::time_plan

time plan, should be 0 for CH201


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