Chirp SonicLib
4.5.2
|
Internal driver types for operation with the Chirp ultrasonic sensor. More...
Go to the source code of this file.
Classes | |
struct | ch_rangefinder_algo_config_t |
Algorithm configuration. More... | |
struct | ch_rangefinder_api_funcs_t |
struct | ch_thresholds_t |
Multiple detection threshold structure. More... | |
Macros | |
#define | CH101_COMMON_NUM_THRESHOLDS (6) |
#define | CH_NUM_THRESHOLDS (LEN_THRESH) |
#define | CHX01_COMMON_NUM_THRESHOLDS (6) |
Typedefs | |
typedef uint16_t(* | ch_get_rx_holdoff_func_t) (ch_dev_t *dev_ptr) |
typedef uint16_t(* | ch_get_threshold_func_t) (ch_dev_t *dev_ptr, uint8_t threshold_index) |
typedef uint8_t(* | ch_get_thresholds_func_t) (ch_dev_t *dev_ptr, ch_thresholds_t *thresh_ptr) |
typedef uint32_t(* | ch_get_tof_us_func_t) (ch_dev_t *dev_ptr) |
typedef uint8_t(* | ch_set_rx_holdoff_func_t) (ch_dev_t *dev_ptr, uint16_t rx_holdoff) |
typedef uint8_t(* | ch_set_static_range_func_t) (ch_dev_t *dev_ptr, uint16_t static_range) |
typedef uint8_t(* | ch_set_threshold_func_t) (ch_dev_t *dev_ptr, uint8_t threshold_index, uint16_t amplitude) |
typedef uint8_t(* | ch_set_thresholds_func_t) (ch_dev_t *dev_ptr, ch_thresholds_t *thresh_ptr) |
Internal driver types for operation with the Chirp ultrasonic sensor.
This file contains range finding types shared whith firmware doing range finding.
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.
#define CH_NUM_THRESHOLDS (LEN_THRESH) |
Number of internal detection thresholds (Shasta).