|
Chirp SonicLib
4.7.1
|
Log data structure. More...
#include <soniclib.h>
Public Attributes | |
| uint16_t | amplitude |
| uint8_t | annotation |
| uint16_t | num_samples |
| ch_output_type_t | output_type |
| uint32_t | range |
| union { | |
| ch_iq_sample_t * iq_sample_ptr | |
| uint16_t * mag_data_ptr | |
| } | raw_data |
| uint8_t | rx_sensor_id |
| uint16_t | start_sample |
| uint8_t | tx_sensor_id |
Log data structure.
| uint16_t ch_log_data_t::amplitude |
amplitude value of the measured ultrasound signal. from ch_get_amplitude()
| uint8_t ch_log_data_t::annotation |
annotation data added by the users
| ch_iq_sample_t* ch_log_data_t::iq_sample_ptr |
pointer to ch_iq_data_t structure containing the I/Q data
| uint16_t* ch_log_data_t::mag_data_ptr |
pointer to mag data buffer containing amplitude data
| uint16_t ch_log_data_t::num_samples |
number of samples to read from sensor
| ch_output_type_t ch_log_data_t::output_type |
output type
| uint32_t ch_log_data_t::range |
measured range as a 32-bit integer. From ch_get_range()
| uint8_t ch_log_data_t::rx_sensor_id |
sensor which is receiving the ultrasound pulse
| uint16_t ch_log_data_t::start_sample |
starting sample number within measurement data
| uint8_t ch_log_data_t::tx_sensor_id |
sensor which is transmitting the ultrasound pulse