Macros | Functions
distance_reg_protocol.h File Reference
`#include <stdbool.h>`
`#include <stdint.h>`

Go to the source code of this file.

## Macros
#define | DISTANCE_REG_REGISTER_COUNT 40U
#define | DISTANCE_REG_VERSION_ADDRESS 0U
#define | DISTANCE_REG_PROTOCOL_STATUS_ADDRESS 1U
#define | DISTANCE_REG_MEASURE_COUNTER_ADDRESS 2U
#define | DISTANCE_REG_DETECTOR_STATUS_ADDRESS 3U
#define | DISTANCE_REG_DISTANCE_RESULT_ADDRESS 16U
#define | DISTANCE_REG_PEAK0_DISTANCE_ADDRESS 17U
#define | DISTANCE_REG_PEAK1_DISTANCE_ADDRESS 18U
#define | DISTANCE_REG_PEAK2_DISTANCE_ADDRESS 19U
#define | DISTANCE_REG_PEAK3_DISTANCE_ADDRESS 20U
#define | DISTANCE_REG_PEAK4_DISTANCE_ADDRESS 21U
#define | DISTANCE_REG_PEAK5_DISTANCE_ADDRESS 22U
#define | DISTANCE_REG_PEAK6_DISTANCE_ADDRESS 23U
#define | DISTANCE_REG_PEAK7_DISTANCE_ADDRESS 24U
#define | DISTANCE_REG_PEAK8_DISTANCE_ADDRESS 25U
#define | DISTANCE_REG_PEAK9_DISTANCE_ADDRESS 26U
#define | DISTANCE_REG_PEAK0_STRENGTH_ADDRESS 27U
#define | DISTANCE_REG_PEAK1_STRENGTH_ADDRESS 28U
#define | DISTANCE_REG_PEAK2_STRENGTH_ADDRESS 29U
#define | DISTANCE_REG_PEAK3_STRENGTH_ADDRESS 30U
#define | DISTANCE_REG_PEAK4_STRENGTH_ADDRESS 31U
#define | DISTANCE_REG_PEAK5_STRENGTH_ADDRESS 32U
#define | DISTANCE_REG_PEAK6_STRENGTH_ADDRESS 33U
#define | DISTANCE_REG_PEAK7_STRENGTH_ADDRESS 34U
#define | DISTANCE_REG_PEAK8_STRENGTH_ADDRESS 35U
#define | DISTANCE_REG_PEAK9_STRENGTH_ADDRESS 36U
#define | DISTANCE_REG_START_ADDRESS 64U
#define | DISTANCE_REG_END_ADDRESS 65U
#define | DISTANCE_REG_MAX_STEP_LENGTH_ADDRESS 66U
#define | DISTANCE_REG_CLOSE_RANGE_LEAKAGE_CANCELLATION_ADDRESS 67U
#define | DISTANCE_REG_SIGNAL_QUALITY_ADDRESS 68U
#define | DISTANCE_REG_MAX_PROFILE_ADDRESS 69U
#define | DISTANCE_REG_THRESHOLD_METHOD_ADDRESS 70U
#define | DISTANCE_REG_PEAK_SORTING_ADDRESS 71U
#define | DISTANCE_REG_NUM_FRAMES_RECORDED_THRESHOLD_ADDRESS 72U
#define | DISTANCE_REG_FIXED_AMPLITUDE_THRESHOLD_VALUE_ADDRESS 73U
#define | DISTANCE_REG_THRESHOLD_SENSITIVITY_ADDRESS 74U
#define | DISTANCE_REG_REFLECTOR_SHAPE_ADDRESS 75U
#define | DISTANCE_REG_FIXED_STRENGTH_THRESHOLD_VALUE_ADDRESS 76U
#define | DISTANCE_REG_MEASURE_ON_WAKEUP_ADDRESS 128U
#define | DISTANCE_REG_COMMAND_ADDRESS 256U
#define | DISTANCE_REG_VERSION_FIELD_MAJOR_POS 16U
#define | DISTANCE_REG_VERSION_FIELD_MAJOR_MASK 0xffff0000
#define | DISTANCE_REG_VERSION_FIELD_MINOR_POS 8U
#define | DISTANCE_REG_VERSION_FIELD_MINOR_MASK 0x0000ff00
#define | DISTANCE_REG_VERSION_FIELD_PATCH_POS 0U
#define | DISTANCE_REG_VERSION_FIELD_PATCH_MASK 0x000000ff
#define | DISTANCE_REG_PROTOCOL_STATUS_FIELD_PROTOCOL_STATE_ERROR_POS 0U
#define | DISTANCE_REG_PROTOCOL_STATUS_FIELD_PROTOCOL_STATE_ERROR_MASK 0x00000001
#define | DISTANCE_REG_PROTOCOL_STATUS_FIELD_PACKET_LENGTH_ERROR_POS 1U
#define | DISTANCE_REG_PROTOCOL_STATUS_FIELD_PACKET_LENGTH_ERROR_MASK 0x00000002
#define | DISTANCE_REG_PROTOCOL_STATUS_FIELD_ADDRESS_ERROR_POS 2U
#define | DISTANCE_REG_PROTOCOL_STATUS_FIELD_ADDRESS_ERROR_MASK 0x00000004
#define | DISTANCE_REG_PROTOCOL_STATUS_FIELD_WRITE_FAILED_POS 3U
#define | DISTANCE_REG_PROTOCOL_STATUS_FIELD_WRITE_FAILED_MASK 0x00000008
#define | DISTANCE_REG_PROTOCOL_STATUS_FIELD_WRITE_TO_READ_ONLY_POS 4U
#define | DISTANCE_REG_PROTOCOL_STATUS_FIELD_WRITE_TO_READ_ONLY_MASK 0x00000010
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_RSS_REGISTER_OK_POS 0U
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_RSS_REGISTER_OK_MASK 0x00000001
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_CONFIG_CREATE_OK_POS 1U
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_CONFIG_CREATE_OK_MASK 0x00000002
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CREATE_OK_POS 2U
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CREATE_OK_MASK 0x00000004
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CREATE_OK_POS 3U
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CREATE_OK_MASK 0x00000008
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_BUFFER_OK_POS 4U
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_BUFFER_OK_MASK 0x00000010
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_BUFFER_OK_POS 5U
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_BUFFER_OK_MASK 0x00000020
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_CALIBRATION_BUFFER_OK_POS 6U
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_CALIBRATION_BUFFER_OK_MASK 0x00000040
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_CONFIG_APPLY_OK_POS 7U
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_CONFIG_APPLY_OK_MASK 0x00000080
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CALIBRATE_OK_POS 8U
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CALIBRATE_OK_MASK 0x00000100
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CALIBRATE_OK_POS 9U
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CALIBRATE_OK_MASK 0x00000200
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_RSS_REGISTER_ERROR_POS 16U
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_RSS_REGISTER_ERROR_MASK 0x00010000
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_CONFIG_CREATE_ERROR_POS 17U
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_CONFIG_CREATE_ERROR_MASK 0x00020000
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CREATE_ERROR_POS 18U
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CREATE_ERROR_MASK 0x00040000
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CREATE_ERROR_POS 19U
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CREATE_ERROR_MASK 0x00080000
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_BUFFER_ERROR_POS 20U
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_BUFFER_ERROR_MASK 0x00100000
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_BUFFER_ERROR_POS 21U
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_BUFFER_ERROR_MASK 0x00200000
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_CALIBRATION_BUFFER_ERROR_POS 22U
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_CALIBRATION_BUFFER_ERROR_MASK 0x00400000
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_CONFIG_APPLY_ERROR_POS 23U
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_CONFIG_APPLY_ERROR_MASK 0x00800000
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CALIBRATE_ERROR_POS 24U
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CALIBRATE_ERROR_MASK 0x01000000
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CALIBRATE_ERROR_POS 25U
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CALIBRATE_ERROR_MASK 0x02000000
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_ERROR_POS 28U
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_ERROR_MASK 0x10000000
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_BUSY_POS 31U
#define | DISTANCE_REG_DETECTOR_STATUS_FIELD_BUSY_MASK 0x80000000
#define | DISTANCE_REG_DISTANCE_RESULT_FIELD_NUM_DISTANCES_POS 0U
#define | DISTANCE_REG_DISTANCE_RESULT_FIELD_NUM_DISTANCES_MASK 0x0000000f
#define | DISTANCE_REG_DISTANCE_RESULT_FIELD_NEAR_START_EDGE_POS 8U
#define | DISTANCE_REG_DISTANCE_RESULT_FIELD_NEAR_START_EDGE_MASK 0x00000100
#define | DISTANCE_REG_DISTANCE_RESULT_FIELD_CALIBRATION_NEEDED_POS 9U
#define | DISTANCE_REG_DISTANCE_RESULT_FIELD_CALIBRATION_NEEDED_MASK 0x00000200
#define | DISTANCE_REG_DISTANCE_RESULT_FIELD_MEASURE_DISTANCE_ERROR_POS 10U
#define | DISTANCE_REG_DISTANCE_RESULT_FIELD_MEASURE_DISTANCE_ERROR_MASK 0x00000400
#define | DISTANCE_REG_DISTANCE_RESULT_FIELD_TEMPERATURE_POS 16U
#define | DISTANCE_REG_DISTANCE_RESULT_FIELD_TEMPERATURE_MASK 0xffff0000
#define | DISTANCE_REG_MAX_PROFILE_ENUM_PROFILE1 1U
#define | DISTANCE_REG_MAX_PROFILE_ENUM_PROFILE2 2U
#define | DISTANCE_REG_MAX_PROFILE_ENUM_PROFILE3 3U
#define | DISTANCE_REG_MAX_PROFILE_ENUM_PROFILE4 4U
#define | DISTANCE_REG_MAX_PROFILE_ENUM_PROFILE5 5U
#define | DISTANCE_REG_THRESHOLD_METHOD_ENUM_FIXED_AMPLITUDE 1U
#define | DISTANCE_REG_THRESHOLD_METHOD_ENUM_RECORDED 2U
#define | DISTANCE_REG_THRESHOLD_METHOD_ENUM_CFAR 3U
#define | DISTANCE_REG_THRESHOLD_METHOD_ENUM_FIXED_STRENGTH 4U
#define | DISTANCE_REG_PEAK_SORTING_ENUM_CLOSEST 1U
#define | DISTANCE_REG_PEAK_SORTING_ENUM_STRONGEST 2U
#define | DISTANCE_REG_REFLECTOR_SHAPE_ENUM_GENERIC 1U
#define | DISTANCE_REG_REFLECTOR_SHAPE_ENUM_PLANAR 2U
#define | DISTANCE_REG_COMMAND_ENUM_APPLY_CONFIG_AND_CALIBRATE 1U
#define | DISTANCE_REG_COMMAND_ENUM_MEASURE_DISTANCE 2U
#define | DISTANCE_REG_COMMAND_ENUM_APPLY_CONFIGURATION 3U
#define | DISTANCE_REG_COMMAND_ENUM_CALIBRATE 4U
#define | DISTANCE_REG_COMMAND_ENUM_RECALIBRATE 5U
#define | DISTANCE_REG_COMMAND_ENUM_ENABLE_UART_LOGS 32U
#define | DISTANCE_REG_COMMAND_ENUM_DISABLE_UART_LOGS 33U
#define | DISTANCE_REG_COMMAND_ENUM_LOG_CONFIGURATION 34U
#define | DISTANCE_REG_COMMAND_ENUM_RESET_MODULE 0x52535421
#define | DISTANCE_REG_START_DEFAULT_VALUE 250U
#define | DISTANCE_REG_END_DEFAULT_VALUE 3000U
#define | DISTANCE_REG_MAX_STEP_LENGTH_DEFAULT_VALUE 0U
#define | DISTANCE_REG_CLOSE_RANGE_LEAKAGE_CANCELLATION_DEFAULT_VALUE 1U
#define | DISTANCE_REG_SIGNAL_QUALITY_DEFAULT_VALUE 15000U
#define | DISTANCE_REG_MAX_PROFILE_DEFAULT_VALUE DISTANCE_REG_MAX_PROFILE_ENUM_PROFILE5
#define | DISTANCE_REG_THRESHOLD_METHOD_DEFAULT_VALUE DISTANCE_REG_THRESHOLD_METHOD_ENUM_CFAR
#define | DISTANCE_REG_PEAK_SORTING_DEFAULT_VALUE DISTANCE_REG_PEAK_SORTING_ENUM_STRONGEST
#define | DISTANCE_REG_NUM_FRAMES_RECORDED_THRESHOLD_DEFAULT_VALUE 100U
#define | DISTANCE_REG_FIXED_AMPLITUDE_THRESHOLD_VALUE_DEFAULT_VALUE 100000U
#define | DISTANCE_REG_THRESHOLD_SENSITIVITY_DEFAULT_VALUE 500U
#define | DISTANCE_REG_REFLECTOR_SHAPE_DEFAULT_VALUE DISTANCE_REG_REFLECTOR_SHAPE_ENUM_GENERIC
#define | DISTANCE_REG_FIXED_STRENGTH_THRESHOLD_VALUE_DEFAULT_VALUE 0U
#define | DISTANCE_REG_MEASURE_ON_WAKEUP_DEFAULT_VALUE 0U

## Functions
void | distance_reg_protocol_setup (void)
void | distance_reg_protocol_write_default (void)
void | distance_reg_read_version (uint32_t *value)
void | distance_reg_read_protocol_status (uint32_t *value)
void | distance_reg_read_measure_counter (uint32_t *value)
void | distance_reg_read_detector_status (uint32_t *value)
void | distance_reg_read_distance_result (uint32_t *value)
void | distance_reg_read_peak0_distance (uint32_t *value)
void | distance_reg_read_peak1_distance (uint32_t *value)
void | distance_reg_read_peak2_distance (uint32_t *value)
void | distance_reg_read_peak3_distance (uint32_t *value)
void | distance_reg_read_peak4_distance (uint32_t *value)
void | distance_reg_read_peak5_distance (uint32_t *value)
void | distance_reg_read_peak6_distance (uint32_t *value)
void | distance_reg_read_peak7_distance (uint32_t *value)
void | distance_reg_read_peak8_distance (uint32_t *value)
void | distance_reg_read_peak9_distance (uint32_t *value)
void | distance_reg_read_peak0_strength (uint32_t *value)
void | distance_reg_read_peak1_strength (uint32_t *value)
void | distance_reg_read_peak2_strength (uint32_t *value)
void | distance_reg_read_peak3_strength (uint32_t *value)
void | distance_reg_read_peak4_strength (uint32_t *value)
void | distance_reg_read_peak5_strength (uint32_t *value)
void | distance_reg_read_peak6_strength (uint32_t *value)
void | distance_reg_read_peak7_strength (uint32_t *value)
void | distance_reg_read_peak8_strength (uint32_t *value)
void | distance_reg_read_peak9_strength (uint32_t *value)
void | distance_reg_read_start (uint32_t *value)
bool | distance_reg_write_start (const uint32_t value)
void | distance_reg_read_end (uint32_t *value)
bool | distance_reg_write_end (const uint32_t value)
void | distance_reg_read_max_step_length (uint32_t *value)
bool | distance_reg_write_max_step_length (const uint32_t value)
void | distance_reg_read_close_range_leakage_cancellation (uint32_t *value)
bool | distance_reg_write_close_range_leakage_cancellation (const uint32_t value)
void | distance_reg_read_signal_quality (uint32_t *value)
bool | distance_reg_write_signal_quality (const uint32_t value)
void | distance_reg_read_max_profile (uint32_t *value)
bool | distance_reg_write_max_profile (const uint32_t value)
void | distance_reg_read_threshold_method (uint32_t *value)
bool | distance_reg_write_threshold_method (const uint32_t value)
void | distance_reg_read_peak_sorting (uint32_t *value)
bool | distance_reg_write_peak_sorting (const uint32_t value)
void | distance_reg_read_num_frames_recorded_threshold (uint32_t *value)
bool | distance_reg_write_num_frames_recorded_threshold (const uint32_t value)
void | distance_reg_read_fixed_amplitude_threshold_value (uint32_t *value)
bool | distance_reg_write_fixed_amplitude_threshold_value (const uint32_t value)
void | distance_reg_read_threshold_sensitivity (uint32_t *value)
bool | distance_reg_write_threshold_sensitivity (const uint32_t value)
void | distance_reg_read_reflector_shape (uint32_t *value)
bool | distance_reg_write_reflector_shape (const uint32_t value)
void | distance_reg_read_fixed_strength_threshold_value (uint32_t *value)
bool | distance_reg_write_fixed_strength_threshold_value (const uint32_t value)
void | distance_reg_read_measure_on_wakeup (uint32_t *value)
bool | distance_reg_write_measure_on_wakeup (const uint32_t value)
bool | distance_reg_write_command (const uint32_t value)

## Macro Definition Documentation

## ◆ DISTANCE_REG_CLOSE_RANGE_LEAKAGE_CANCELLATION_ADDRESS

#define DISTANCE_REG_CLOSE_RANGE_LEAKAGE_CANCELLATION_ADDRESS 67U

Definition at line 42 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_CLOSE_RANGE_LEAKAGE_CANCELLATION_DEFAULT_VALUE

#define DISTANCE_REG_CLOSE_RANGE_LEAKAGE_CANCELLATION_DEFAULT_VALUE 1U

Definition at line 169 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_COMMAND_ADDRESS

#define DISTANCE_REG_COMMAND_ADDRESS 256U

Definition at line 53 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_COMMAND_ENUM_APPLY_CONFIG_AND_CALIBRATE

#define DISTANCE_REG_COMMAND_ENUM_APPLY_CONFIG_AND_CALIBRATE 1U

Definition at line 155 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_COMMAND_ENUM_APPLY_CONFIGURATION

#define DISTANCE_REG_COMMAND_ENUM_APPLY_CONFIGURATION 3U

Definition at line 157 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_COMMAND_ENUM_CALIBRATE

#define DISTANCE_REG_COMMAND_ENUM_CALIBRATE 4U

Definition at line 158 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_COMMAND_ENUM_DISABLE_UART_LOGS

#define DISTANCE_REG_COMMAND_ENUM_DISABLE_UART_LOGS 33U

Definition at line 161 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_COMMAND_ENUM_ENABLE_UART_LOGS

#define DISTANCE_REG_COMMAND_ENUM_ENABLE_UART_LOGS 32U

Definition at line 160 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_COMMAND_ENUM_LOG_CONFIGURATION

#define DISTANCE_REG_COMMAND_ENUM_LOG_CONFIGURATION 34U

Definition at line 162 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_COMMAND_ENUM_MEASURE_DISTANCE

#define DISTANCE_REG_COMMAND_ENUM_MEASURE_DISTANCE 2U

Definition at line 156 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_COMMAND_ENUM_RECALIBRATE

#define DISTANCE_REG_COMMAND_ENUM_RECALIBRATE 5U

Definition at line 159 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_COMMAND_ENUM_RESET_MODULE

#define DISTANCE_REG_COMMAND_ENUM_RESET_MODULE 0x52535421

Definition at line 163 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_ADDRESS

#define DISTANCE_REG_DETECTOR_STATUS_ADDRESS 3U

Definition at line 17 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_BUSY_MASK

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_BUSY_MASK 0x80000000

Definition at line 119 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_BUSY_POS

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_BUSY_POS 31U

Definition at line 118 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_CALIBRATION_BUFFER_ERROR_MASK

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_CALIBRATION_BUFFER_ERROR_MASK 0x00400000

Definition at line 109 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_CALIBRATION_BUFFER_ERROR_POS

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_CALIBRATION_BUFFER_ERROR_POS 22U

Definition at line 108 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_CALIBRATION_BUFFER_OK_MASK

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_CALIBRATION_BUFFER_OK_MASK 0x00000040

Definition at line 89 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_CALIBRATION_BUFFER_OK_POS

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_CALIBRATION_BUFFER_OK_POS 6U

Definition at line 88 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_CONFIG_APPLY_ERROR_MASK

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_CONFIG_APPLY_ERROR_MASK 0x00800000

Definition at line 111 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_CONFIG_APPLY_ERROR_POS

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_CONFIG_APPLY_ERROR_POS 23U

Definition at line 110 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_CONFIG_APPLY_OK_MASK

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_CONFIG_APPLY_OK_MASK 0x00000080

Definition at line 91 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_CONFIG_APPLY_OK_POS

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_CONFIG_APPLY_OK_POS 7U

Definition at line 90 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_CONFIG_CREATE_ERROR_MASK

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_CONFIG_CREATE_ERROR_MASK 0x00020000

Definition at line 99 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_CONFIG_CREATE_ERROR_POS

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_CONFIG_CREATE_ERROR_POS 17U

Definition at line 98 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_CONFIG_CREATE_OK_MASK

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_CONFIG_CREATE_OK_MASK 0x00000002

Definition at line 79 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_CONFIG_CREATE_OK_POS

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_CONFIG_CREATE_OK_POS 1U

Definition at line 78 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_BUFFER_ERROR_MASK

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_BUFFER_ERROR_MASK 0x00100000

Definition at line 105 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_BUFFER_ERROR_POS

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_BUFFER_ERROR_POS 20U

Definition at line 104 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_BUFFER_OK_MASK

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_BUFFER_OK_MASK 0x00000010

Definition at line 85 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_BUFFER_OK_POS

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_BUFFER_OK_POS 4U

Definition at line 84 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CALIBRATE_ERROR_MASK

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CALIBRATE_ERROR_MASK 0x02000000

Definition at line 115 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CALIBRATE_ERROR_POS

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CALIBRATE_ERROR_POS 25U

Definition at line 114 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CALIBRATE_OK_MASK

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CALIBRATE_OK_MASK 0x00000200

Definition at line 95 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CALIBRATE_OK_POS

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CALIBRATE_OK_POS 9U

Definition at line 94 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CREATE_ERROR_MASK

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CREATE_ERROR_MASK 0x00080000

Definition at line 103 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CREATE_ERROR_POS

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CREATE_ERROR_POS 19U

Definition at line 102 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CREATE_OK_MASK

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CREATE_OK_MASK 0x00000008

Definition at line 83 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CREATE_OK_POS

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CREATE_OK_POS 3U

Definition at line 82 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_ERROR_MASK

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_ERROR_MASK 0x10000000

Definition at line 117 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_ERROR_POS

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_ERROR_POS 28U

Definition at line 116 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_RSS_REGISTER_ERROR_MASK

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_RSS_REGISTER_ERROR_MASK 0x00010000

Definition at line 97 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_RSS_REGISTER_ERROR_POS

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_RSS_REGISTER_ERROR_POS 16U

Definition at line 96 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_RSS_REGISTER_OK_MASK

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_RSS_REGISTER_OK_MASK 0x00000001

Definition at line 77 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_RSS_REGISTER_OK_POS

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_RSS_REGISTER_OK_POS 0U

Definition at line 76 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_BUFFER_ERROR_MASK

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_BUFFER_ERROR_MASK 0x00200000

Definition at line 107 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_BUFFER_ERROR_POS

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_BUFFER_ERROR_POS 21U

Definition at line 106 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_BUFFER_OK_MASK

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_BUFFER_OK_MASK 0x00000020

Definition at line 87 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_BUFFER_OK_POS

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_BUFFER_OK_POS 5U

Definition at line 86 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CALIBRATE_ERROR_MASK

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CALIBRATE_ERROR_MASK 0x01000000

Definition at line 113 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CALIBRATE_ERROR_POS

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CALIBRATE_ERROR_POS 24U

Definition at line 112 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CALIBRATE_OK_MASK

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CALIBRATE_OK_MASK 0x00000100

Definition at line 93 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CALIBRATE_OK_POS

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CALIBRATE_OK_POS 8U

Definition at line 92 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CREATE_ERROR_MASK

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CREATE_ERROR_MASK 0x00040000

Definition at line 101 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CREATE_ERROR_POS

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CREATE_ERROR_POS 18U

Definition at line 100 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CREATE_OK_MASK

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CREATE_OK_MASK 0x00000004

Definition at line 81 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CREATE_OK_POS

#define DISTANCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CREATE_OK_POS 2U

Definition at line 80 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DISTANCE_RESULT_ADDRESS

#define DISTANCE_REG_DISTANCE_RESULT_ADDRESS 16U

Definition at line 18 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DISTANCE_RESULT_FIELD_CALIBRATION_NEEDED_MASK

#define DISTANCE_REG_DISTANCE_RESULT_FIELD_CALIBRATION_NEEDED_MASK 0x00000200

Definition at line 127 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DISTANCE_RESULT_FIELD_CALIBRATION_NEEDED_POS

#define DISTANCE_REG_DISTANCE_RESULT_FIELD_CALIBRATION_NEEDED_POS 9U

Definition at line 126 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DISTANCE_RESULT_FIELD_MEASURE_DISTANCE_ERROR_MASK

#define DISTANCE_REG_DISTANCE_RESULT_FIELD_MEASURE_DISTANCE_ERROR_MASK 0x00000400

Definition at line 129 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DISTANCE_RESULT_FIELD_MEASURE_DISTANCE_ERROR_POS

#define DISTANCE_REG_DISTANCE_RESULT_FIELD_MEASURE_DISTANCE_ERROR_POS 10U

Definition at line 128 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DISTANCE_RESULT_FIELD_NEAR_START_EDGE_MASK

#define DISTANCE_REG_DISTANCE_RESULT_FIELD_NEAR_START_EDGE_MASK 0x00000100

Definition at line 125 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DISTANCE_RESULT_FIELD_NEAR_START_EDGE_POS

#define DISTANCE_REG_DISTANCE_RESULT_FIELD_NEAR_START_EDGE_POS 8U

Definition at line 124 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DISTANCE_RESULT_FIELD_NUM_DISTANCES_MASK

#define DISTANCE_REG_DISTANCE_RESULT_FIELD_NUM_DISTANCES_MASK 0x0000000f

Definition at line 123 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DISTANCE_RESULT_FIELD_NUM_DISTANCES_POS

#define DISTANCE_REG_DISTANCE_RESULT_FIELD_NUM_DISTANCES_POS 0U

Definition at line 122 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DISTANCE_RESULT_FIELD_TEMPERATURE_MASK

#define DISTANCE_REG_DISTANCE_RESULT_FIELD_TEMPERATURE_MASK 0xffff0000

Definition at line 131 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_DISTANCE_RESULT_FIELD_TEMPERATURE_POS

#define DISTANCE_REG_DISTANCE_RESULT_FIELD_TEMPERATURE_POS 16U

Definition at line 130 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_END_ADDRESS

#define DISTANCE_REG_END_ADDRESS 65U

Definition at line 40 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_END_DEFAULT_VALUE

#define DISTANCE_REG_END_DEFAULT_VALUE 3000U

Definition at line 167 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_FIXED_AMPLITUDE_THRESHOLD_VALUE_ADDRESS

#define DISTANCE_REG_FIXED_AMPLITUDE_THRESHOLD_VALUE_ADDRESS 73U

Definition at line 48 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_FIXED_AMPLITUDE_THRESHOLD_VALUE_DEFAULT_VALUE

#define DISTANCE_REG_FIXED_AMPLITUDE_THRESHOLD_VALUE_DEFAULT_VALUE 100000U

Definition at line 175 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_FIXED_STRENGTH_THRESHOLD_VALUE_ADDRESS

#define DISTANCE_REG_FIXED_STRENGTH_THRESHOLD_VALUE_ADDRESS 76U

Definition at line 51 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_FIXED_STRENGTH_THRESHOLD_VALUE_DEFAULT_VALUE

#define DISTANCE_REG_FIXED_STRENGTH_THRESHOLD_VALUE_DEFAULT_VALUE 0U

Definition at line 178 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_MAX_PROFILE_ADDRESS

#define DISTANCE_REG_MAX_PROFILE_ADDRESS 69U

Definition at line 44 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_MAX_PROFILE_DEFAULT_VALUE

#define DISTANCE_REG_MAX_PROFILE_DEFAULT_VALUE DISTANCE_REG_MAX_PROFILE_ENUM_PROFILE5

Definition at line 171 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_MAX_PROFILE_ENUM_PROFILE1

#define DISTANCE_REG_MAX_PROFILE_ENUM_PROFILE1 1U

Definition at line 134 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_MAX_PROFILE_ENUM_PROFILE2

#define DISTANCE_REG_MAX_PROFILE_ENUM_PROFILE2 2U

Definition at line 135 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_MAX_PROFILE_ENUM_PROFILE3

#define DISTANCE_REG_MAX_PROFILE_ENUM_PROFILE3 3U

Definition at line 136 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_MAX_PROFILE_ENUM_PROFILE4

#define DISTANCE_REG_MAX_PROFILE_ENUM_PROFILE4 4U

Definition at line 137 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_MAX_PROFILE_ENUM_PROFILE5

#define DISTANCE_REG_MAX_PROFILE_ENUM_PROFILE5 5U

Definition at line 138 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_MAX_STEP_LENGTH_ADDRESS

#define DISTANCE_REG_MAX_STEP_LENGTH_ADDRESS 66U

Definition at line 41 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_MAX_STEP_LENGTH_DEFAULT_VALUE

#define DISTANCE_REG_MAX_STEP_LENGTH_DEFAULT_VALUE 0U

Definition at line 168 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_MEASURE_COUNTER_ADDRESS

#define DISTANCE_REG_MEASURE_COUNTER_ADDRESS 2U

Definition at line 16 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_MEASURE_ON_WAKEUP_ADDRESS

#define DISTANCE_REG_MEASURE_ON_WAKEUP_ADDRESS 128U

Definition at line 52 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_MEASURE_ON_WAKEUP_DEFAULT_VALUE

#define DISTANCE_REG_MEASURE_ON_WAKEUP_DEFAULT_VALUE 0U

Definition at line 179 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_NUM_FRAMES_RECORDED_THRESHOLD_ADDRESS

#define DISTANCE_REG_NUM_FRAMES_RECORDED_THRESHOLD_ADDRESS 72U

Definition at line 47 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_NUM_FRAMES_RECORDED_THRESHOLD_DEFAULT_VALUE

#define DISTANCE_REG_NUM_FRAMES_RECORDED_THRESHOLD_DEFAULT_VALUE 100U

Definition at line 174 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PEAK0_DISTANCE_ADDRESS

#define DISTANCE_REG_PEAK0_DISTANCE_ADDRESS 17U

Definition at line 19 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PEAK0_STRENGTH_ADDRESS

#define DISTANCE_REG_PEAK0_STRENGTH_ADDRESS 27U

Definition at line 29 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PEAK1_DISTANCE_ADDRESS

#define DISTANCE_REG_PEAK1_DISTANCE_ADDRESS 18U

Definition at line 20 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PEAK1_STRENGTH_ADDRESS

#define DISTANCE_REG_PEAK1_STRENGTH_ADDRESS 28U

Definition at line 30 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PEAK2_DISTANCE_ADDRESS

#define DISTANCE_REG_PEAK2_DISTANCE_ADDRESS 19U

Definition at line 21 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PEAK2_STRENGTH_ADDRESS

#define DISTANCE_REG_PEAK2_STRENGTH_ADDRESS 29U

Definition at line 31 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PEAK3_DISTANCE_ADDRESS

#define DISTANCE_REG_PEAK3_DISTANCE_ADDRESS 20U

Definition at line 22 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PEAK3_STRENGTH_ADDRESS

#define DISTANCE_REG_PEAK3_STRENGTH_ADDRESS 30U

Definition at line 32 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PEAK4_DISTANCE_ADDRESS

#define DISTANCE_REG_PEAK4_DISTANCE_ADDRESS 21U

Definition at line 23 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PEAK4_STRENGTH_ADDRESS

#define DISTANCE_REG_PEAK4_STRENGTH_ADDRESS 31U

Definition at line 33 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PEAK5_DISTANCE_ADDRESS

#define DISTANCE_REG_PEAK5_DISTANCE_ADDRESS 22U

Definition at line 24 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PEAK5_STRENGTH_ADDRESS

#define DISTANCE_REG_PEAK5_STRENGTH_ADDRESS 32U

Definition at line 34 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PEAK6_DISTANCE_ADDRESS

#define DISTANCE_REG_PEAK6_DISTANCE_ADDRESS 23U

Definition at line 25 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PEAK6_STRENGTH_ADDRESS

#define DISTANCE_REG_PEAK6_STRENGTH_ADDRESS 33U

Definition at line 35 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PEAK7_DISTANCE_ADDRESS

#define DISTANCE_REG_PEAK7_DISTANCE_ADDRESS 24U

Definition at line 26 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PEAK7_STRENGTH_ADDRESS

#define DISTANCE_REG_PEAK7_STRENGTH_ADDRESS 34U

Definition at line 36 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PEAK8_DISTANCE_ADDRESS

#define DISTANCE_REG_PEAK8_DISTANCE_ADDRESS 25U

Definition at line 27 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PEAK8_STRENGTH_ADDRESS

#define DISTANCE_REG_PEAK8_STRENGTH_ADDRESS 35U

Definition at line 37 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PEAK9_DISTANCE_ADDRESS

#define DISTANCE_REG_PEAK9_DISTANCE_ADDRESS 26U

Definition at line 28 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PEAK9_STRENGTH_ADDRESS

#define DISTANCE_REG_PEAK9_STRENGTH_ADDRESS 36U

Definition at line 38 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PEAK_SORTING_ADDRESS

#define DISTANCE_REG_PEAK_SORTING_ADDRESS 71U

Definition at line 46 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PEAK_SORTING_DEFAULT_VALUE

#define DISTANCE_REG_PEAK_SORTING_DEFAULT_VALUE DISTANCE_REG_PEAK_SORTING_ENUM_STRONGEST

Definition at line 173 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PEAK_SORTING_ENUM_CLOSEST

#define DISTANCE_REG_PEAK_SORTING_ENUM_CLOSEST 1U

Definition at line 147 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PEAK_SORTING_ENUM_STRONGEST

#define DISTANCE_REG_PEAK_SORTING_ENUM_STRONGEST 2U

Definition at line 148 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PROTOCOL_STATUS_ADDRESS

#define DISTANCE_REG_PROTOCOL_STATUS_ADDRESS 1U

Definition at line 15 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PROTOCOL_STATUS_FIELD_ADDRESS_ERROR_MASK

#define DISTANCE_REG_PROTOCOL_STATUS_FIELD_ADDRESS_ERROR_MASK 0x00000004

Definition at line 69 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PROTOCOL_STATUS_FIELD_ADDRESS_ERROR_POS

#define DISTANCE_REG_PROTOCOL_STATUS_FIELD_ADDRESS_ERROR_POS 2U

Definition at line 68 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PROTOCOL_STATUS_FIELD_PACKET_LENGTH_ERROR_MASK

#define DISTANCE_REG_PROTOCOL_STATUS_FIELD_PACKET_LENGTH_ERROR_MASK 0x00000002

Definition at line 67 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PROTOCOL_STATUS_FIELD_PACKET_LENGTH_ERROR_POS

#define DISTANCE_REG_PROTOCOL_STATUS_FIELD_PACKET_LENGTH_ERROR_POS 1U

Definition at line 66 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PROTOCOL_STATUS_FIELD_PROTOCOL_STATE_ERROR_MASK

#define DISTANCE_REG_PROTOCOL_STATUS_FIELD_PROTOCOL_STATE_ERROR_MASK 0x00000001

Definition at line 65 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PROTOCOL_STATUS_FIELD_PROTOCOL_STATE_ERROR_POS

#define DISTANCE_REG_PROTOCOL_STATUS_FIELD_PROTOCOL_STATE_ERROR_POS 0U

Definition at line 64 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PROTOCOL_STATUS_FIELD_WRITE_FAILED_MASK

#define DISTANCE_REG_PROTOCOL_STATUS_FIELD_WRITE_FAILED_MASK 0x00000008

Definition at line 71 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PROTOCOL_STATUS_FIELD_WRITE_FAILED_POS

#define DISTANCE_REG_PROTOCOL_STATUS_FIELD_WRITE_FAILED_POS 3U

Definition at line 70 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PROTOCOL_STATUS_FIELD_WRITE_TO_READ_ONLY_MASK

#define DISTANCE_REG_PROTOCOL_STATUS_FIELD_WRITE_TO_READ_ONLY_MASK 0x00000010

Definition at line 73 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_PROTOCOL_STATUS_FIELD_WRITE_TO_READ_ONLY_POS

#define DISTANCE_REG_PROTOCOL_STATUS_FIELD_WRITE_TO_READ_ONLY_POS 4U

Definition at line 72 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_REFLECTOR_SHAPE_ADDRESS

#define DISTANCE_REG_REFLECTOR_SHAPE_ADDRESS 75U

Definition at line 50 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_REFLECTOR_SHAPE_DEFAULT_VALUE

#define DISTANCE_REG_REFLECTOR_SHAPE_DEFAULT_VALUE DISTANCE_REG_REFLECTOR_SHAPE_ENUM_GENERIC

Definition at line 177 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_REFLECTOR_SHAPE_ENUM_GENERIC

#define DISTANCE_REG_REFLECTOR_SHAPE_ENUM_GENERIC 1U

Definition at line 151 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_REFLECTOR_SHAPE_ENUM_PLANAR

#define DISTANCE_REG_REFLECTOR_SHAPE_ENUM_PLANAR 2U

Definition at line 152 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_REGISTER_COUNT

#define DISTANCE_REG_REGISTER_COUNT 40U

Definition at line 11 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_SIGNAL_QUALITY_ADDRESS

#define DISTANCE_REG_SIGNAL_QUALITY_ADDRESS 68U

Definition at line 43 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_SIGNAL_QUALITY_DEFAULT_VALUE

#define DISTANCE_REG_SIGNAL_QUALITY_DEFAULT_VALUE 15000U

Definition at line 170 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_START_ADDRESS

#define DISTANCE_REG_START_ADDRESS 64U

Definition at line 39 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_START_DEFAULT_VALUE

#define DISTANCE_REG_START_DEFAULT_VALUE 250U

Definition at line 166 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_THRESHOLD_METHOD_ADDRESS

#define DISTANCE_REG_THRESHOLD_METHOD_ADDRESS 70U

Definition at line 45 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_THRESHOLD_METHOD_DEFAULT_VALUE

#define DISTANCE_REG_THRESHOLD_METHOD_DEFAULT_VALUE DISTANCE_REG_THRESHOLD_METHOD_ENUM_CFAR

Definition at line 172 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_THRESHOLD_METHOD_ENUM_CFAR

#define DISTANCE_REG_THRESHOLD_METHOD_ENUM_CFAR 3U

Definition at line 143 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_THRESHOLD_METHOD_ENUM_FIXED_AMPLITUDE

#define DISTANCE_REG_THRESHOLD_METHOD_ENUM_FIXED_AMPLITUDE 1U

Definition at line 141 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_THRESHOLD_METHOD_ENUM_FIXED_STRENGTH

#define DISTANCE_REG_THRESHOLD_METHOD_ENUM_FIXED_STRENGTH 4U

Definition at line 144 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_THRESHOLD_METHOD_ENUM_RECORDED

#define DISTANCE_REG_THRESHOLD_METHOD_ENUM_RECORDED 2U

Definition at line 142 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_THRESHOLD_SENSITIVITY_ADDRESS

#define DISTANCE_REG_THRESHOLD_SENSITIVITY_ADDRESS 74U

Definition at line 49 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_THRESHOLD_SENSITIVITY_DEFAULT_VALUE

#define DISTANCE_REG_THRESHOLD_SENSITIVITY_DEFAULT_VALUE 500U

Definition at line 176 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_VERSION_ADDRESS

#define DISTANCE_REG_VERSION_ADDRESS 0U

Definition at line 14 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_VERSION_FIELD_MAJOR_MASK

#define DISTANCE_REG_VERSION_FIELD_MAJOR_MASK 0xffff0000

Definition at line 57 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_VERSION_FIELD_MAJOR_POS

#define DISTANCE_REG_VERSION_FIELD_MAJOR_POS 16U

Definition at line 56 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_VERSION_FIELD_MINOR_MASK

#define DISTANCE_REG_VERSION_FIELD_MINOR_MASK 0x0000ff00

Definition at line 59 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_VERSION_FIELD_MINOR_POS

#define DISTANCE_REG_VERSION_FIELD_MINOR_POS 8U

Definition at line 58 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_VERSION_FIELD_PATCH_MASK

#define DISTANCE_REG_VERSION_FIELD_PATCH_MASK 0x000000ff

Definition at line 61 of file distance_reg_protocol.h.

## ◆ DISTANCE_REG_VERSION_FIELD_PATCH_POS

#define DISTANCE_REG_VERSION_FIELD_PATCH_POS 0U

Definition at line 60 of file distance_reg_protocol.h.

## Function Documentation

## ◆ distance_reg_protocol_setup()

void distance_reg_protocol_setup | ( | void |  | ) |

The distance protocol setup function.

Definition at line 222 of file distance_reg_protocol.c.

## ◆ distance_reg_protocol_write_default()

void distance_reg_protocol_write_default | ( | void |  | ) |

The distance protocol write default register value function.

Definition at line 228 of file distance_reg_protocol.c.

## ◆ distance_reg_read_close_range_leakage_cancellation()

void distance_reg_read_close_range_leakage_cancellation | ( | uint32_t * | value | ) |

Read: Enable the close range leakage cancellation logic.

Definition at line 306 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_detector_status()

void distance_reg_read_detector_status | ( | uint32_t * | value | ) |

Read: Get detector status flags.

Definition at line 101 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_distance_result()

void distance_reg_read_distance_result | ( | uint32_t * | value | ) |

Read: The result from the distance detector.

Definition at line 107 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_end()

void distance_reg_read_end | ( | uint32_t * | value | ) |

Read: The end of measured interval in millimeters. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 258 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_fixed_amplitude_threshold_value()

void distance_reg_read_fixed_amplitude_threshold_value | ( | uint32_t * | value | ) |

Read: Fixed amplitude threshold value Note: This value is a factor 1000 larger than the RSS value.

Definition at line 572 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_fixed_strength_threshold_value()

void distance_reg_read_fixed_strength_threshold_value | ( | uint32_t * | value | ) |

Read: Fixed strength threshold value Note: This value is a factor 1000 larger than the RSS value.

Definition at line 597 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_max_profile()

void distance_reg_read_max_profile | ( | uint32_t * | value | ) |

Read: Max profile.

Definition at line 354 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_max_step_length()

void distance_reg_read_max_step_length | ( | uint32_t * | value | ) |

Read: Used to limit step length. If set to 0 (default), the step length is calculated based on profile.

Definition at line 283 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_measure_counter()

void distance_reg_read_measure_counter | ( | uint32_t * | value | ) |

Read: Get the measure counter, the number of measurements performed since restart.

Definition at line 95 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_measure_on_wakeup()

void distance_reg_read_measure_on_wakeup | ( | uint32_t * | value | ) |

Read: Perform measure on wake up.

Definition at line 702 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_num_frames_recorded_threshold()

void distance_reg_read_num_frames_recorded_threshold | ( | uint32_t * | value | ) |

Read: The number frames to use for recorded threshold.

Definition at line 549 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_peak0_distance()

void distance_reg_read_peak0_distance | ( | uint32_t * | value | ) |

Read: The distance to peak 0. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 113 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_peak0_strength()

void distance_reg_read_peak0_strength | ( | uint32_t * | value | ) |

Read: The reflective strength of peak 0. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 173 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_peak1_distance()

void distance_reg_read_peak1_distance | ( | uint32_t * | value | ) |

Read: The distance to peak 1. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 119 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_peak1_strength()

void distance_reg_read_peak1_strength | ( | uint32_t * | value | ) |

Read: The reflective strength of peak 1. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 179 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_peak2_distance()

void distance_reg_read_peak2_distance | ( | uint32_t * | value | ) |

Read: The distance to peak 2. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 125 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_peak2_strength()

void distance_reg_read_peak2_strength | ( | uint32_t * | value | ) |

Read: The reflective strength of peak 2. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 185 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_peak3_distance()

void distance_reg_read_peak3_distance | ( | uint32_t * | value | ) |

Read: The distance to peak 3. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 131 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_peak3_strength()

void distance_reg_read_peak3_strength | ( | uint32_t * | value | ) |

Read: The reflective strength of peak 3. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 191 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_peak4_distance()

void distance_reg_read_peak4_distance | ( | uint32_t * | value | ) |

Read: The distance to peak 4. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 137 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_peak4_strength()

void distance_reg_read_peak4_strength | ( | uint32_t * | value | ) |

Read: The reflective strength of peak 4. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 197 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_peak5_distance()

void distance_reg_read_peak5_distance | ( | uint32_t * | value | ) |

Read: The distance to peak 5. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 143 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_peak5_strength()

void distance_reg_read_peak5_strength | ( | uint32_t * | value | ) |

Read: The reflective strength of peak 5. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 203 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_peak6_distance()

void distance_reg_read_peak6_distance | ( | uint32_t * | value | ) |

Read: The distance to peak 6. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 149 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_peak6_strength()

void distance_reg_read_peak6_strength | ( | uint32_t * | value | ) |

Read: The reflective strength of peak 6. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 209 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_peak7_distance()

void distance_reg_read_peak7_distance | ( | uint32_t * | value | ) |

Read: The distance to peak 7. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 155 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_peak7_strength()

void distance_reg_read_peak7_strength | ( | uint32_t * | value | ) |

Read: The reflective strength of peak 7. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 215 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_peak8_distance()

void distance_reg_read_peak8_distance | ( | uint32_t * | value | ) |

Read: The distance to peak 8. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 161 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_peak8_strength()

void distance_reg_read_peak8_strength | ( | uint32_t * | value | ) |

Read: The reflective strength of peak 8. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 221 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_peak9_distance()

void distance_reg_read_peak9_distance | ( | uint32_t * | value | ) |

Read: The distance to peak 9. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 167 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_peak9_strength()

void distance_reg_read_peak9_strength | ( | uint32_t * | value | ) |

Read: The reflective strength of peak 9. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 227 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_peak_sorting()

void distance_reg_read_peak_sorting | ( | uint32_t * | value | ) |

Read: Peak sorting method.

Definition at line 494 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_protocol_status()

void distance_reg_read_protocol_status | ( | uint32_t * | value | ) |

Read: Get protocol error flags.

Definition at line 61 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_reflector_shape()

void distance_reg_read_reflector_shape | ( | uint32_t * | value | ) |

Read: Reflector shape.

Definition at line 647 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_signal_quality()

void distance_reg_read_signal_quality | ( | uint32_t * | value | ) |

Read: High signal quality results in a better SNR (because of higher HWAAS) and higher power consumption. Note:This value is a factor 1000 larger than the RSS value.

Definition at line 329 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_start()

void distance_reg_read_start | ( | uint32_t * | value | ) |

Read: The start of measured interval in millimeters. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 233 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_threshold_method()

void distance_reg_read_threshold_method | ( | uint32_t * | value | ) |

Read: Threshold method.

Definition at line 427 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_threshold_sensitivity()

void distance_reg_read_threshold_sensitivity | ( | uint32_t * | value | ) |

Read: Threshold sensitivity (0 <= sensitivity <= 1000) Note: This value is a factor 1000 larger than the RSS value.

Definition at line 622 of file distance_reg_protocol_access.c.

## ◆ distance_reg_read_version()

void distance_reg_read_version | ( | uint32_t * | value | ) |

Read: Get the RSS version.

Definition at line 55 of file distance_reg_protocol_access.c.

## ◆ distance_reg_write_close_range_leakage_cancellation()

bool distance_reg_write_close_range_leakage_cancellation | ( | const uint32_t | value | ) |

Write: Enable the close range leakage cancellation logic.

Definition at line 314 of file distance_reg_protocol_access.c.

## ◆ distance_reg_write_command()

bool distance_reg_write_command | ( | const uint32_t | value | ) |

Write: Execute command.

Definition at line 725 of file distance_reg_protocol_access.c.

## ◆ distance_reg_write_end()

bool distance_reg_write_end | ( | const uint32_t | value | ) |

Write: The end of measured interval in millimeters. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 267 of file distance_reg_protocol_access.c.

## ◆ distance_reg_write_fixed_amplitude_threshold_value()

bool distance_reg_write_fixed_amplitude_threshold_value | ( | const uint32_t | value | ) |

Write: Fixed amplitude threshold value Note: This value is a factor 1000 larger than the RSS value.

Definition at line 581 of file distance_reg_protocol_access.c.

## ◆ distance_reg_write_fixed_strength_threshold_value()

bool distance_reg_write_fixed_strength_threshold_value | ( | const uint32_t | value | ) |

Write: Fixed strength threshold value Note: This value is a factor 1000 larger than the RSS value.

Definition at line 606 of file distance_reg_protocol_access.c.

## ◆ distance_reg_write_max_profile()

bool distance_reg_write_max_profile | ( | const uint32_t | value | ) |

Write: Max profile.

Definition at line 385 of file distance_reg_protocol_access.c.

## ◆ distance_reg_write_max_step_length()

bool distance_reg_write_max_step_length | ( | const uint32_t | value | ) |

Write: Used to limit step length. If set to 0 (default), the step length is calculated based on profile.

Definition at line 291 of file distance_reg_protocol_access.c.

## ◆ distance_reg_write_measure_on_wakeup()

bool distance_reg_write_measure_on_wakeup | ( | const uint32_t | value | ) |

Write: Perform measure on wake up.

Definition at line 715 of file distance_reg_protocol_access.c.

## ◆ distance_reg_write_num_frames_recorded_threshold()

bool distance_reg_write_num_frames_recorded_threshold | ( | const uint32_t | value | ) |

Write: The number frames to use for recorded threshold.

Definition at line 557 of file distance_reg_protocol_access.c.

## ◆ distance_reg_write_peak_sorting()

bool distance_reg_write_peak_sorting | ( | const uint32_t | value | ) |

Write: Peak sorting method.

Definition at line 516 of file distance_reg_protocol_access.c.

## ◆ distance_reg_write_reflector_shape()

bool distance_reg_write_reflector_shape | ( | const uint32_t | value | ) |

Write: Reflector shape.

Definition at line 669 of file distance_reg_protocol_access.c.

## ◆ distance_reg_write_signal_quality()

bool distance_reg_write_signal_quality | ( | const uint32_t | value | ) |

Write: High signal quality results in a better SNR (because of higher HWAAS) and higher power consumption. Note:This value is a factor 1000 larger than the RSS value.

Definition at line 338 of file distance_reg_protocol_access.c.

## ◆ distance_reg_write_start()

bool distance_reg_write_start | ( | const uint32_t | value | ) |

Write: The start of measured interval in millimeters. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 242 of file distance_reg_protocol_access.c.

## ◆ distance_reg_write_threshold_method()

bool distance_reg_write_threshold_method | ( | const uint32_t | value | ) |

Write: Threshold method.

Definition at line 455 of file distance_reg_protocol_access.c.

## ◆ distance_reg_write_threshold_sensitivity()

bool distance_reg_write_threshold_sensitivity | ( | const uint32_t | value | ) |

Write: Threshold sensitivity (0 <= sensitivity <= 1000) Note: This value is a factor 1000 larger than the RSS value.

Definition at line 631 of file distance_reg_protocol_access.c.