Chirp SonicLib
2.1.0
|
Internal driver functions for operation with the Chirp ultrasonic sensor. More...
Go to the source code of this file.
Functions | |
uint8_t | ch_common_set_mode (ch_dev_t *dev_ptr, ch_mode_t mode) |
uint8_t | ch_common_fw_load (ch_dev_t *dev_ptr) |
uint8_t | ch_common_set_sample_interval (ch_dev_t *dev_ptr, uint16_t interval_ms) |
uint8_t | ch_common_set_num_samples (ch_dev_t *dev_ptr, uint16_t num_samples) |
uint8_t | ch_common_set_max_range (ch_dev_t *dev_ptr, uint16_t max_range_mm) |
uint8_t | ch_common_set_static_range (ch_dev_t *dev_ptr, uint16_t samples) |
uint32_t | ch_common_get_range (ch_dev_t *dev_ptr, ch_range_t range_type) |
uint16_t | ch_common_get_amplitude (ch_dev_t *dev_ptr) |
uint8_t | ch_common_get_locked_state (ch_dev_t *dev_ptr) |
uint32_t | ch_common_get_op_freq (ch_dev_t *dev_ptr) |
void | ch_common_prepare_pulse_timer (ch_dev_t *dev_ptr) |
void | ch_common_store_pt_result (ch_dev_t *dev_ptr) |
void | ch_common_store_op_freq (ch_dev_t *dev_ptr) |
void | ch_common_store_bandwidth (ch_dev_t *dev_ptr) |
void | ch_common_store_scale_factor (ch_dev_t *dev_ptr) |
uint8_t | ch_common_set_thresholds (ch_dev_t *dev_ptr, ch_thresholds_t *thresholds_ptr) |
uint8_t | ch_common_get_thresholds (ch_dev_t *dev_ptr, ch_thresholds_t *thresholds_ptr) |
uint16_t | ch_common_mm_to_samples (ch_dev_t *dev_ptr, uint16_t num_mm) |
uint16_t | ch_common_samples_to_mm (ch_dev_t *dev_ptr, uint16_t num_samples) |
uint8_t | ch_common_get_iq_data (ch_dev_t *dev_ptr, ch_iq_sample_t *buf_ptr, uint16_t start_sample, uint16_t num_samples, ch_io_mode_t nonblock) |
uint8_t | ch_common_set_sample_window (ch_dev_t *dev_ptr, uint16_t start_sample, uint16_t end_sample) |
uint8_t | ch_common_set_time_plan (ch_dev_t *dev_ptr, ch_time_plan_t time_plan) |
ch_time_plan_t | ch_common_get_time_plan (ch_dev_t *dev_ptr) |
uint16_t | ch_common_get_amplitude_avg (ch_dev_t *dev_ptr) |
uint8_t | ch_common_get_amplitude_data (ch_dev_t *dev_ptr, uint16_t *buf_ptr, uint16_t start_sample, uint16_t num_samples, ch_io_mode_t mode) |
uint8_t | ch_common_set_rx_holdoff (ch_dev_t *dev_ptr, uint16_t rx_holdoff) |
uint16_t | ch_common_get_rx_holdoff (ch_dev_t *dev_ptr) |
Internal driver functions for operation with the Chirp ultrasonic sensor.
This file contains common implementations of sensor support routines. These are suitable for use with most standard sensor firmware images. The firmware-specific init function will set up various function pointers to either the common implementations in this file, or corresponding firmware-specific implementations.
You should not need to edit this file or call the driver functions directly. Doing so will reduce your ability to benefit from future enhancements and releases from Chirp.