Go to the documentation of this file.
4 #ifndef I2C_DISTANCE_DETECTOR_H_
5 #define I2C_DISTANCE_DETECTOR_H_
bool i2c_distance_detector_get_measure_on_wakeup(void)
Get measure on wake up state.
uint32_t i2c_distance_detector_get_status(void)
Get distance detector status.
uint32_t i2c_distance_detector_get_result(void)
Get distance detector result.
float i2c_distance_detector_get_peak_distance(uint16_t peak_id)
Get the peak distance for a specific peak id.
uint32_t i2c_distance_detector_get_counter(void)
Get distance detector measure counter.
acc_detector_distance_config_t * i2c_distance_detector_get_config(void)
Get distance detector configuration handle.
void i2c_distance_detector_measure_on_wakeup(bool enable)
Enable/Disable measure on wake up.
bool i2c_distance_detector_command(uint32_t command)
Send command to be executed to i2c distance detector.
float i2c_distance_detector_get_peak_strength(uint16_t peak_id)
Get the peak strength for a specific peak id.
struct acc_detector_distance_config acc_detector_distance_config_t