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

Go to the source code of this file.

## Macros
#define | PRESENCE_REG_REGISTER_COUNT 35U
#define | PRESENCE_REG_VERSION_ADDRESS 0U
#define | PRESENCE_REG_PROTOCOL_STATUS_ADDRESS 1U
#define | PRESENCE_REG_MEASURE_COUNTER_ADDRESS 2U
#define | PRESENCE_REG_DETECTOR_STATUS_ADDRESS 3U
#define | PRESENCE_REG_PRESENCE_RESULT_ADDRESS 16U
#define | PRESENCE_REG_PRESENCE_DISTANCE_ADDRESS 17U
#define | PRESENCE_REG_INTRA_PRESENCE_SCORE_ADDRESS 18U
#define | PRESENCE_REG_INTER_PRESENCE_SCORE_ADDRESS 19U
#define | PRESENCE_REG_PRESENCE_ACTUAL_FRAME_RATE_ADDRESS 32U
#define | PRESENCE_REG_SWEEPS_PER_FRAME_ADDRESS 64U
#define | PRESENCE_REG_INTER_FRAME_PRESENCE_TIMEOUT_ADDRESS 65U
#define | PRESENCE_REG_INTRA_DETECTION_ENABLED_ADDRESS 67U
#define | PRESENCE_REG_INTER_DETECTION_ENABLED_ADDRESS 68U
#define | PRESENCE_REG_FRAME_RATE_ADDRESS 69U
#define | PRESENCE_REG_INTRA_DETECTION_THRESHOLD_ADDRESS 70U
#define | PRESENCE_REG_INTER_DETECTION_THRESHOLD_ADDRESS 71U
#define | PRESENCE_REG_INTER_FRAME_DEVIATION_TIME_CONST_ADDRESS 72U
#define | PRESENCE_REG_INTER_FRAME_FAST_CUTOFF_ADDRESS 73U
#define | PRESENCE_REG_INTER_FRAME_SLOW_CUTOFF_ADDRESS 74U
#define | PRESENCE_REG_INTRA_FRAME_TIME_CONST_ADDRESS 75U
#define | PRESENCE_REG_INTRA_OUTPUT_TIME_CONST_ADDRESS 76U
#define | PRESENCE_REG_INTER_OUTPUT_TIME_CONST_ADDRESS 77U
#define | PRESENCE_REG_AUTO_PROFILE_ENABLED_ADDRESS 78U
#define | PRESENCE_REG_AUTO_STEP_LENGTH_ENABLED_ADDRESS 79U
#define | PRESENCE_REG_MANUAL_PROFILE_ADDRESS 80U
#define | PRESENCE_REG_MANUAL_STEP_LENGTH_ADDRESS 81U
#define | PRESENCE_REG_START_ADDRESS 82U
#define | PRESENCE_REG_END_ADDRESS 83U
#define | PRESENCE_REG_RESET_FILTERS_ON_PREPARE_ADDRESS 84U
#define | PRESENCE_REG_HWAAS_ADDRESS 85U
#define | PRESENCE_REG_AUTOMATIC_SUBSWEEPS_ADDRESS 86U
#define | PRESENCE_REG_SIGNAL_QUALITY_ADDRESS 87U
#define | PRESENCE_REG_DETECTION_ON_GPIO_ADDRESS 128U
#define | PRESENCE_REG_COMMAND_ADDRESS 256U
#define | PRESENCE_REG_APPLICATION_ID_ADDRESS 65535U
#define | PRESENCE_REG_VERSION_FIELD_MAJOR_POS 16U
#define | PRESENCE_REG_VERSION_FIELD_MAJOR_MASK 0xffff0000
#define | PRESENCE_REG_VERSION_FIELD_MINOR_POS 8U
#define | PRESENCE_REG_VERSION_FIELD_MINOR_MASK 0x0000ff00
#define | PRESENCE_REG_VERSION_FIELD_PATCH_POS 0U
#define | PRESENCE_REG_VERSION_FIELD_PATCH_MASK 0x000000ff
#define | PRESENCE_REG_PROTOCOL_STATUS_FIELD_PROTOCOL_STATE_ERROR_POS 0U
#define | PRESENCE_REG_PROTOCOL_STATUS_FIELD_PROTOCOL_STATE_ERROR_MASK 0x00000001
#define | PRESENCE_REG_PROTOCOL_STATUS_FIELD_PACKET_LENGTH_ERROR_POS 1U
#define | PRESENCE_REG_PROTOCOL_STATUS_FIELD_PACKET_LENGTH_ERROR_MASK 0x00000002
#define | PRESENCE_REG_PROTOCOL_STATUS_FIELD_ADDRESS_ERROR_POS 2U
#define | PRESENCE_REG_PROTOCOL_STATUS_FIELD_ADDRESS_ERROR_MASK 0x00000004
#define | PRESENCE_REG_PROTOCOL_STATUS_FIELD_WRITE_FAILED_POS 3U
#define | PRESENCE_REG_PROTOCOL_STATUS_FIELD_WRITE_FAILED_MASK 0x00000008
#define | PRESENCE_REG_PROTOCOL_STATUS_FIELD_WRITE_TO_READ_ONLY_POS 4U
#define | PRESENCE_REG_PROTOCOL_STATUS_FIELD_WRITE_TO_READ_ONLY_MASK 0x00000010
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_RSS_REGISTER_OK_POS 0U
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_RSS_REGISTER_OK_MASK 0x00000001
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_CONFIG_CREATE_OK_POS 1U
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_CONFIG_CREATE_OK_MASK 0x00000002
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CREATE_OK_POS 2U
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CREATE_OK_MASK 0x00000004
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CALIBRATE_OK_POS 3U
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CALIBRATE_OK_MASK 0x00000008
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CREATE_OK_POS 4U
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CREATE_OK_MASK 0x00000010
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_BUFFER_OK_POS 5U
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_BUFFER_OK_MASK 0x00000020
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_BUFFER_OK_POS 6U
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_BUFFER_OK_MASK 0x00000040
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_CONFIG_APPLY_OK_POS 7U
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_CONFIG_APPLY_OK_MASK 0x00000080
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_RSS_REGISTER_ERROR_POS 16U
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_RSS_REGISTER_ERROR_MASK 0x00010000
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_CONFIG_CREATE_ERROR_POS 17U
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_CONFIG_CREATE_ERROR_MASK 0x00020000
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CREATE_ERROR_POS 18U
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CREATE_ERROR_MASK 0x00040000
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CALIBRATE_ERROR_POS 19U
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CALIBRATE_ERROR_MASK 0x00080000
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CREATE_ERROR_POS 20U
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CREATE_ERROR_MASK 0x00100000
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_BUFFER_ERROR_POS 21U
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_BUFFER_ERROR_MASK 0x00200000
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_BUFFER_ERROR_POS 22U
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_BUFFER_ERROR_MASK 0x00400000
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_CONFIG_APPLY_ERROR_POS 23U
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_CONFIG_APPLY_ERROR_MASK 0x00800000
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_ERROR_POS 28U
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_ERROR_MASK 0x10000000
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_BUSY_POS 31U
#define | PRESENCE_REG_DETECTOR_STATUS_FIELD_BUSY_MASK 0x80000000
#define | PRESENCE_REG_PRESENCE_RESULT_FIELD_PRESENCE_DETECTED_POS 0U
#define | PRESENCE_REG_PRESENCE_RESULT_FIELD_PRESENCE_DETECTED_MASK 0x00000001
#define | PRESENCE_REG_PRESENCE_RESULT_FIELD_PRESENCE_DETECTED_STICKY_POS 1U
#define | PRESENCE_REG_PRESENCE_RESULT_FIELD_PRESENCE_DETECTED_STICKY_MASK 0x00000002
#define | PRESENCE_REG_PRESENCE_RESULT_FIELD_DETECTOR_ERROR_POS 15U
#define | PRESENCE_REG_PRESENCE_RESULT_FIELD_DETECTOR_ERROR_MASK 0x00008000
#define | PRESENCE_REG_PRESENCE_RESULT_FIELD_TEMPERATURE_POS 16U
#define | PRESENCE_REG_PRESENCE_RESULT_FIELD_TEMPERATURE_MASK 0xffff0000
#define | PRESENCE_REG_MANUAL_PROFILE_ENUM_PROFILE1 1U
#define | PRESENCE_REG_MANUAL_PROFILE_ENUM_PROFILE2 2U
#define | PRESENCE_REG_MANUAL_PROFILE_ENUM_PROFILE3 3U
#define | PRESENCE_REG_MANUAL_PROFILE_ENUM_PROFILE4 4U
#define | PRESENCE_REG_MANUAL_PROFILE_ENUM_PROFILE5 5U
#define | PRESENCE_REG_COMMAND_ENUM_APPLY_CONFIGURATION 1U
#define | PRESENCE_REG_COMMAND_ENUM_START_DETECTOR 2U
#define | PRESENCE_REG_COMMAND_ENUM_STOP_DETECTOR 3U
#define | PRESENCE_REG_COMMAND_ENUM_ENABLE_UART_LOGS 32U
#define | PRESENCE_REG_COMMAND_ENUM_DISABLE_UART_LOGS 33U
#define | PRESENCE_REG_COMMAND_ENUM_LOG_CONFIGURATION 34U
#define | PRESENCE_REG_COMMAND_ENUM_RESET_MODULE 0x52535421
#define | PRESENCE_REG_APPLICATION_ID_ENUM_DISTANCE_DETECTOR 1U
#define | PRESENCE_REG_APPLICATION_ID_ENUM_PRESENCE_DETECTOR 2U
#define | PRESENCE_REG_APPLICATION_ID_ENUM_REF_APP_BREATHING 3U
#define | PRESENCE_REG_APPLICATION_ID_ENUM_EXAMPLE_CARGO 4U
#define | PRESENCE_REG_SWEEPS_PER_FRAME_DEFAULT_VALUE 16U
#define | PRESENCE_REG_INTER_FRAME_PRESENCE_TIMEOUT_DEFAULT_VALUE 3U
#define | PRESENCE_REG_INTRA_DETECTION_ENABLED_DEFAULT_VALUE 1U
#define | PRESENCE_REG_INTER_DETECTION_ENABLED_DEFAULT_VALUE 1U
#define | PRESENCE_REG_FRAME_RATE_DEFAULT_VALUE 12000U
#define | PRESENCE_REG_INTRA_DETECTION_THRESHOLD_DEFAULT_VALUE 1300U
#define | PRESENCE_REG_INTER_DETECTION_THRESHOLD_DEFAULT_VALUE 1000U
#define | PRESENCE_REG_INTER_FRAME_DEVIATION_TIME_CONST_DEFAULT_VALUE 500U
#define | PRESENCE_REG_INTER_FRAME_FAST_CUTOFF_DEFAULT_VALUE 6000U
#define | PRESENCE_REG_INTER_FRAME_SLOW_CUTOFF_DEFAULT_VALUE 200U
#define | PRESENCE_REG_INTRA_FRAME_TIME_CONST_DEFAULT_VALUE 150U
#define | PRESENCE_REG_INTRA_OUTPUT_TIME_CONST_DEFAULT_VALUE 300U
#define | PRESENCE_REG_INTER_OUTPUT_TIME_CONST_DEFAULT_VALUE 2000U
#define | PRESENCE_REG_AUTO_PROFILE_ENABLED_DEFAULT_VALUE 1U
#define | PRESENCE_REG_AUTO_STEP_LENGTH_ENABLED_DEFAULT_VALUE 1U
#define | PRESENCE_REG_MANUAL_PROFILE_DEFAULT_VALUE PRESENCE_REG_MANUAL_PROFILE_ENUM_PROFILE4
#define | PRESENCE_REG_MANUAL_STEP_LENGTH_DEFAULT_VALUE 72U
#define | PRESENCE_REG_START_DEFAULT_VALUE 300U
#define | PRESENCE_REG_END_DEFAULT_VALUE 2500U
#define | PRESENCE_REG_RESET_FILTERS_ON_PREPARE_DEFAULT_VALUE 1U
#define | PRESENCE_REG_HWAAS_DEFAULT_VALUE 32U
#define | PRESENCE_REG_AUTOMATIC_SUBSWEEPS_DEFAULT_VALUE 1U
#define | PRESENCE_REG_SIGNAL_QUALITY_DEFAULT_VALUE 15000U
#define | PRESENCE_REG_DETECTION_ON_GPIO_DEFAULT_VALUE 0U

## Functions
void | presence_reg_protocol_setup (void)
void | presence_reg_protocol_write_default (void)
void | presence_reg_read_version (uint32_t *value)
void | presence_reg_read_protocol_status (uint32_t *value)
void | presence_reg_read_measure_counter (uint32_t *value)
void | presence_reg_read_detector_status (uint32_t *value)
void | presence_reg_read_presence_result (uint32_t *value)
void | presence_reg_read_presence_distance (uint32_t *value)
void | presence_reg_read_intra_presence_score (uint32_t *value)
void | presence_reg_read_inter_presence_score (uint32_t *value)
void | presence_reg_read_presence_actual_frame_rate (uint32_t *value)
void | presence_reg_read_sweeps_per_frame (uint32_t *value)
bool | presence_reg_write_sweeps_per_frame (const uint32_t value)
void | presence_reg_read_inter_frame_presence_timeout (uint32_t *value)
bool | presence_reg_write_inter_frame_presence_timeout (const uint32_t value)
void | presence_reg_read_intra_detection_enabled (uint32_t *value)
bool | presence_reg_write_intra_detection_enabled (const uint32_t value)
void | presence_reg_read_inter_detection_enabled (uint32_t *value)
bool | presence_reg_write_inter_detection_enabled (const uint32_t value)
void | presence_reg_read_frame_rate (uint32_t *value)
bool | presence_reg_write_frame_rate (const uint32_t value)
void | presence_reg_read_intra_detection_threshold (uint32_t *value)
bool | presence_reg_write_intra_detection_threshold (const uint32_t value)
void | presence_reg_read_inter_detection_threshold (uint32_t *value)
bool | presence_reg_write_inter_detection_threshold (const uint32_t value)
void | presence_reg_read_inter_frame_deviation_time_const (uint32_t *value)
bool | presence_reg_write_inter_frame_deviation_time_const (const uint32_t value)
void | presence_reg_read_inter_frame_fast_cutoff (uint32_t *value)
bool | presence_reg_write_inter_frame_fast_cutoff (const uint32_t value)
void | presence_reg_read_inter_frame_slow_cutoff (uint32_t *value)
bool | presence_reg_write_inter_frame_slow_cutoff (const uint32_t value)
void | presence_reg_read_intra_frame_time_const (uint32_t *value)
bool | presence_reg_write_intra_frame_time_const (const uint32_t value)
void | presence_reg_read_intra_output_time_const (uint32_t *value)
bool | presence_reg_write_intra_output_time_const (const uint32_t value)
void | presence_reg_read_inter_output_time_const (uint32_t *value)
bool | presence_reg_write_inter_output_time_const (const uint32_t value)
void | presence_reg_read_auto_profile_enabled (uint32_t *value)
bool | presence_reg_write_auto_profile_enabled (const uint32_t value)
void | presence_reg_read_auto_step_length_enabled (uint32_t *value)
bool | presence_reg_write_auto_step_length_enabled (const uint32_t value)
void | presence_reg_read_manual_profile (uint32_t *value)
bool | presence_reg_write_manual_profile (const uint32_t value)
void | presence_reg_read_manual_step_length (uint32_t *value)
bool | presence_reg_write_manual_step_length (const uint32_t value)
void | presence_reg_read_start (uint32_t *value)
bool | presence_reg_write_start (const uint32_t value)
void | presence_reg_read_end (uint32_t *value)
bool | presence_reg_write_end (const uint32_t value)
void | presence_reg_read_reset_filters_on_prepare (uint32_t *value)
bool | presence_reg_write_reset_filters_on_prepare (const uint32_t value)
void | presence_reg_read_hwaas (uint32_t *value)
bool | presence_reg_write_hwaas (const uint32_t value)
void | presence_reg_read_automatic_subsweeps (uint32_t *value)
bool | presence_reg_write_automatic_subsweeps (const uint32_t value)
void | presence_reg_read_signal_quality (uint32_t *value)
bool | presence_reg_write_signal_quality (const uint32_t value)
void | presence_reg_read_detection_on_gpio (uint32_t *value)
bool | presence_reg_write_detection_on_gpio (const uint32_t value)
bool | presence_reg_write_command (const uint32_t value)
void | presence_reg_read_application_id (uint32_t *value)

## Macro Definition Documentation

## ◆ PRESENCE_REG_APPLICATION_ID_ADDRESS

#define PRESENCE_REG_APPLICATION_ID_ADDRESS 65535U

Definition at line 48 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_APPLICATION_ID_ENUM_DISTANCE_DETECTOR

#define PRESENCE_REG_APPLICATION_ID_ENUM_DISTANCE_DETECTOR 1U

Definition at line 135 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_APPLICATION_ID_ENUM_EXAMPLE_CARGO

#define PRESENCE_REG_APPLICATION_ID_ENUM_EXAMPLE_CARGO 4U

Definition at line 138 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_APPLICATION_ID_ENUM_PRESENCE_DETECTOR

#define PRESENCE_REG_APPLICATION_ID_ENUM_PRESENCE_DETECTOR 2U

Definition at line 136 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_APPLICATION_ID_ENUM_REF_APP_BREATHING

#define PRESENCE_REG_APPLICATION_ID_ENUM_REF_APP_BREATHING 3U

Definition at line 137 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_AUTO_PROFILE_ENABLED_ADDRESS

#define PRESENCE_REG_AUTO_PROFILE_ENABLED_ADDRESS 78U

Definition at line 36 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_AUTO_PROFILE_ENABLED_DEFAULT_VALUE

#define PRESENCE_REG_AUTO_PROFILE_ENABLED_DEFAULT_VALUE 1U

Definition at line 154 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_AUTO_STEP_LENGTH_ENABLED_ADDRESS

#define PRESENCE_REG_AUTO_STEP_LENGTH_ENABLED_ADDRESS 79U

Definition at line 37 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_AUTO_STEP_LENGTH_ENABLED_DEFAULT_VALUE

#define PRESENCE_REG_AUTO_STEP_LENGTH_ENABLED_DEFAULT_VALUE 1U

Definition at line 155 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_AUTOMATIC_SUBSWEEPS_ADDRESS

#define PRESENCE_REG_AUTOMATIC_SUBSWEEPS_ADDRESS 86U

Definition at line 44 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_AUTOMATIC_SUBSWEEPS_DEFAULT_VALUE

#define PRESENCE_REG_AUTOMATIC_SUBSWEEPS_DEFAULT_VALUE 1U

Definition at line 162 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_COMMAND_ADDRESS

#define PRESENCE_REG_COMMAND_ADDRESS 256U

Definition at line 47 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_COMMAND_ENUM_APPLY_CONFIGURATION

#define PRESENCE_REG_COMMAND_ENUM_APPLY_CONFIGURATION 1U

Definition at line 126 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_COMMAND_ENUM_DISABLE_UART_LOGS

#define PRESENCE_REG_COMMAND_ENUM_DISABLE_UART_LOGS 33U

Definition at line 130 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_COMMAND_ENUM_ENABLE_UART_LOGS

#define PRESENCE_REG_COMMAND_ENUM_ENABLE_UART_LOGS 32U

Definition at line 129 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_COMMAND_ENUM_LOG_CONFIGURATION

#define PRESENCE_REG_COMMAND_ENUM_LOG_CONFIGURATION 34U

Definition at line 131 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_COMMAND_ENUM_RESET_MODULE

#define PRESENCE_REG_COMMAND_ENUM_RESET_MODULE 0x52535421

Definition at line 132 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_COMMAND_ENUM_START_DETECTOR

#define PRESENCE_REG_COMMAND_ENUM_START_DETECTOR 2U

Definition at line 127 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_COMMAND_ENUM_STOP_DETECTOR

#define PRESENCE_REG_COMMAND_ENUM_STOP_DETECTOR 3U

Definition at line 128 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTION_ON_GPIO_ADDRESS

#define PRESENCE_REG_DETECTION_ON_GPIO_ADDRESS 128U

Definition at line 46 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTION_ON_GPIO_DEFAULT_VALUE

#define PRESENCE_REG_DETECTION_ON_GPIO_DEFAULT_VALUE 0U

Definition at line 164 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_ADDRESS

#define PRESENCE_REG_DETECTOR_STATUS_ADDRESS 3U

Definition at line 17 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_BUSY_MASK

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_BUSY_MASK 0x80000000

Definition at line 106 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_BUSY_POS

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_BUSY_POS 31U

Definition at line 105 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_CONFIG_APPLY_ERROR_MASK

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_CONFIG_APPLY_ERROR_MASK 0x00800000

Definition at line 102 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_CONFIG_APPLY_ERROR_POS

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_CONFIG_APPLY_ERROR_POS 23U

Definition at line 101 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_CONFIG_APPLY_OK_MASK

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_CONFIG_APPLY_OK_MASK 0x00000080

Definition at line 86 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_CONFIG_APPLY_OK_POS

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_CONFIG_APPLY_OK_POS 7U

Definition at line 85 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_CONFIG_CREATE_ERROR_MASK

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_CONFIG_CREATE_ERROR_MASK 0x00020000

Definition at line 90 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_CONFIG_CREATE_ERROR_POS

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_CONFIG_CREATE_ERROR_POS 17U

Definition at line 89 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_CONFIG_CREATE_OK_MASK

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_CONFIG_CREATE_OK_MASK 0x00000002

Definition at line 74 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_CONFIG_CREATE_OK_POS

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_CONFIG_CREATE_OK_POS 1U

Definition at line 73 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_BUFFER_ERROR_MASK

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_BUFFER_ERROR_MASK 0x00200000

Definition at line 98 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_BUFFER_ERROR_POS

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_BUFFER_ERROR_POS 21U

Definition at line 97 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_BUFFER_OK_MASK

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_BUFFER_OK_MASK 0x00000020

Definition at line 82 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_BUFFER_OK_POS

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_BUFFER_OK_POS 5U

Definition at line 81 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CREATE_ERROR_MASK

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CREATE_ERROR_MASK 0x00100000

Definition at line 96 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CREATE_ERROR_POS

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CREATE_ERROR_POS 20U

Definition at line 95 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CREATE_OK_MASK

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CREATE_OK_MASK 0x00000010

Definition at line 80 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CREATE_OK_POS

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_CREATE_OK_POS 4U

Definition at line 79 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_ERROR_MASK

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_ERROR_MASK 0x10000000

Definition at line 104 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_ERROR_POS

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_DETECTOR_ERROR_POS 28U

Definition at line 103 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_RSS_REGISTER_ERROR_MASK

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_RSS_REGISTER_ERROR_MASK 0x00010000

Definition at line 88 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_RSS_REGISTER_ERROR_POS

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_RSS_REGISTER_ERROR_POS 16U

Definition at line 87 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_RSS_REGISTER_OK_MASK

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_RSS_REGISTER_OK_MASK 0x00000001

Definition at line 72 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_RSS_REGISTER_OK_POS

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_RSS_REGISTER_OK_POS 0U

Definition at line 71 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_BUFFER_ERROR_MASK

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_BUFFER_ERROR_MASK 0x00400000

Definition at line 100 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_BUFFER_ERROR_POS

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_BUFFER_ERROR_POS 22U

Definition at line 99 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_BUFFER_OK_MASK

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_BUFFER_OK_MASK 0x00000040

Definition at line 84 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_BUFFER_OK_POS

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_BUFFER_OK_POS 6U

Definition at line 83 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CALIBRATE_ERROR_MASK

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CALIBRATE_ERROR_MASK 0x00080000

Definition at line 94 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CALIBRATE_ERROR_POS

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CALIBRATE_ERROR_POS 19U

Definition at line 93 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CALIBRATE_OK_MASK

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CALIBRATE_OK_MASK 0x00000008

Definition at line 78 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CALIBRATE_OK_POS

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CALIBRATE_OK_POS 3U

Definition at line 77 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CREATE_ERROR_MASK

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CREATE_ERROR_MASK 0x00040000

Definition at line 92 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CREATE_ERROR_POS

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CREATE_ERROR_POS 18U

Definition at line 91 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CREATE_OK_MASK

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CREATE_OK_MASK 0x00000004

Definition at line 76 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CREATE_OK_POS

#define PRESENCE_REG_DETECTOR_STATUS_FIELD_SENSOR_CREATE_OK_POS 2U

Definition at line 75 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_END_ADDRESS

#define PRESENCE_REG_END_ADDRESS 83U

Definition at line 41 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_END_DEFAULT_VALUE

#define PRESENCE_REG_END_DEFAULT_VALUE 2500U

Definition at line 159 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_FRAME_RATE_ADDRESS

#define PRESENCE_REG_FRAME_RATE_ADDRESS 69U

Definition at line 27 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_FRAME_RATE_DEFAULT_VALUE

#define PRESENCE_REG_FRAME_RATE_DEFAULT_VALUE 12000U

Definition at line 145 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_HWAAS_ADDRESS

#define PRESENCE_REG_HWAAS_ADDRESS 85U

Definition at line 43 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_HWAAS_DEFAULT_VALUE

#define PRESENCE_REG_HWAAS_DEFAULT_VALUE 32U

Definition at line 161 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_INTER_DETECTION_ENABLED_ADDRESS

#define PRESENCE_REG_INTER_DETECTION_ENABLED_ADDRESS 68U

Definition at line 26 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_INTER_DETECTION_ENABLED_DEFAULT_VALUE

#define PRESENCE_REG_INTER_DETECTION_ENABLED_DEFAULT_VALUE 1U

Definition at line 144 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_INTER_DETECTION_THRESHOLD_ADDRESS

#define PRESENCE_REG_INTER_DETECTION_THRESHOLD_ADDRESS 71U

Definition at line 29 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_INTER_DETECTION_THRESHOLD_DEFAULT_VALUE

#define PRESENCE_REG_INTER_DETECTION_THRESHOLD_DEFAULT_VALUE 1000U

Definition at line 147 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_INTER_FRAME_DEVIATION_TIME_CONST_ADDRESS

#define PRESENCE_REG_INTER_FRAME_DEVIATION_TIME_CONST_ADDRESS 72U

Definition at line 30 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_INTER_FRAME_DEVIATION_TIME_CONST_DEFAULT_VALUE

#define PRESENCE_REG_INTER_FRAME_DEVIATION_TIME_CONST_DEFAULT_VALUE 500U

Definition at line 148 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_INTER_FRAME_FAST_CUTOFF_ADDRESS

#define PRESENCE_REG_INTER_FRAME_FAST_CUTOFF_ADDRESS 73U

Definition at line 31 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_INTER_FRAME_FAST_CUTOFF_DEFAULT_VALUE

#define PRESENCE_REG_INTER_FRAME_FAST_CUTOFF_DEFAULT_VALUE 6000U

Definition at line 149 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_INTER_FRAME_PRESENCE_TIMEOUT_ADDRESS

#define PRESENCE_REG_INTER_FRAME_PRESENCE_TIMEOUT_ADDRESS 65U

Definition at line 24 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_INTER_FRAME_PRESENCE_TIMEOUT_DEFAULT_VALUE

#define PRESENCE_REG_INTER_FRAME_PRESENCE_TIMEOUT_DEFAULT_VALUE 3U

Definition at line 142 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_INTER_FRAME_SLOW_CUTOFF_ADDRESS

#define PRESENCE_REG_INTER_FRAME_SLOW_CUTOFF_ADDRESS 74U

Definition at line 32 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_INTER_FRAME_SLOW_CUTOFF_DEFAULT_VALUE

#define PRESENCE_REG_INTER_FRAME_SLOW_CUTOFF_DEFAULT_VALUE 200U

Definition at line 150 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_INTER_OUTPUT_TIME_CONST_ADDRESS

#define PRESENCE_REG_INTER_OUTPUT_TIME_CONST_ADDRESS 77U

Definition at line 35 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_INTER_OUTPUT_TIME_CONST_DEFAULT_VALUE

#define PRESENCE_REG_INTER_OUTPUT_TIME_CONST_DEFAULT_VALUE 2000U

Definition at line 153 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_INTER_PRESENCE_SCORE_ADDRESS

#define PRESENCE_REG_INTER_PRESENCE_SCORE_ADDRESS 19U

Definition at line 21 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_INTRA_DETECTION_ENABLED_ADDRESS

#define PRESENCE_REG_INTRA_DETECTION_ENABLED_ADDRESS 67U

Definition at line 25 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_INTRA_DETECTION_ENABLED_DEFAULT_VALUE

#define PRESENCE_REG_INTRA_DETECTION_ENABLED_DEFAULT_VALUE 1U

Definition at line 143 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_INTRA_DETECTION_THRESHOLD_ADDRESS

#define PRESENCE_REG_INTRA_DETECTION_THRESHOLD_ADDRESS 70U

Definition at line 28 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_INTRA_DETECTION_THRESHOLD_DEFAULT_VALUE

#define PRESENCE_REG_INTRA_DETECTION_THRESHOLD_DEFAULT_VALUE 1300U

Definition at line 146 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_INTRA_FRAME_TIME_CONST_ADDRESS

#define PRESENCE_REG_INTRA_FRAME_TIME_CONST_ADDRESS 75U

Definition at line 33 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_INTRA_FRAME_TIME_CONST_DEFAULT_VALUE

#define PRESENCE_REG_INTRA_FRAME_TIME_CONST_DEFAULT_VALUE 150U

Definition at line 151 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_INTRA_OUTPUT_TIME_CONST_ADDRESS

#define PRESENCE_REG_INTRA_OUTPUT_TIME_CONST_ADDRESS 76U

Definition at line 34 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_INTRA_OUTPUT_TIME_CONST_DEFAULT_VALUE

#define PRESENCE_REG_INTRA_OUTPUT_TIME_CONST_DEFAULT_VALUE 300U

Definition at line 152 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_INTRA_PRESENCE_SCORE_ADDRESS

#define PRESENCE_REG_INTRA_PRESENCE_SCORE_ADDRESS 18U

Definition at line 20 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_MANUAL_PROFILE_ADDRESS

#define PRESENCE_REG_MANUAL_PROFILE_ADDRESS 80U

Definition at line 38 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_MANUAL_PROFILE_DEFAULT_VALUE

#define PRESENCE_REG_MANUAL_PROFILE_DEFAULT_VALUE PRESENCE_REG_MANUAL_PROFILE_ENUM_PROFILE4

Definition at line 156 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_MANUAL_PROFILE_ENUM_PROFILE1

#define PRESENCE_REG_MANUAL_PROFILE_ENUM_PROFILE1 1U

Definition at line 119 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_MANUAL_PROFILE_ENUM_PROFILE2

#define PRESENCE_REG_MANUAL_PROFILE_ENUM_PROFILE2 2U

Definition at line 120 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_MANUAL_PROFILE_ENUM_PROFILE3

#define PRESENCE_REG_MANUAL_PROFILE_ENUM_PROFILE3 3U

Definition at line 121 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_MANUAL_PROFILE_ENUM_PROFILE4

#define PRESENCE_REG_MANUAL_PROFILE_ENUM_PROFILE4 4U

Definition at line 122 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_MANUAL_PROFILE_ENUM_PROFILE5

#define PRESENCE_REG_MANUAL_PROFILE_ENUM_PROFILE5 5U

Definition at line 123 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_MANUAL_STEP_LENGTH_ADDRESS

#define PRESENCE_REG_MANUAL_STEP_LENGTH_ADDRESS 81U

Definition at line 39 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_MANUAL_STEP_LENGTH_DEFAULT_VALUE

#define PRESENCE_REG_MANUAL_STEP_LENGTH_DEFAULT_VALUE 72U

Definition at line 157 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_MEASURE_COUNTER_ADDRESS

#define PRESENCE_REG_MEASURE_COUNTER_ADDRESS 2U

Definition at line 16 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_PRESENCE_ACTUAL_FRAME_RATE_ADDRESS

#define PRESENCE_REG_PRESENCE_ACTUAL_FRAME_RATE_ADDRESS 32U

Definition at line 22 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_PRESENCE_DISTANCE_ADDRESS

#define PRESENCE_REG_PRESENCE_DISTANCE_ADDRESS 17U

Definition at line 19 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_PRESENCE_RESULT_ADDRESS

#define PRESENCE_REG_PRESENCE_RESULT_ADDRESS 16U

Definition at line 18 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_PRESENCE_RESULT_FIELD_DETECTOR_ERROR_MASK

#define PRESENCE_REG_PRESENCE_RESULT_FIELD_DETECTOR_ERROR_MASK 0x00008000

Definition at line 114 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_PRESENCE_RESULT_FIELD_DETECTOR_ERROR_POS

#define PRESENCE_REG_PRESENCE_RESULT_FIELD_DETECTOR_ERROR_POS 15U

Definition at line 113 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_PRESENCE_RESULT_FIELD_PRESENCE_DETECTED_MASK

#define PRESENCE_REG_PRESENCE_RESULT_FIELD_PRESENCE_DETECTED_MASK 0x00000001

Definition at line 110 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_PRESENCE_RESULT_FIELD_PRESENCE_DETECTED_POS

#define PRESENCE_REG_PRESENCE_RESULT_FIELD_PRESENCE_DETECTED_POS 0U

Definition at line 109 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_PRESENCE_RESULT_FIELD_PRESENCE_DETECTED_STICKY_MASK

#define PRESENCE_REG_PRESENCE_RESULT_FIELD_PRESENCE_DETECTED_STICKY_MASK 0x00000002

Definition at line 112 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_PRESENCE_RESULT_FIELD_PRESENCE_DETECTED_STICKY_POS

#define PRESENCE_REG_PRESENCE_RESULT_FIELD_PRESENCE_DETECTED_STICKY_POS 1U

Definition at line 111 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_PRESENCE_RESULT_FIELD_TEMPERATURE_MASK

#define PRESENCE_REG_PRESENCE_RESULT_FIELD_TEMPERATURE_MASK 0xffff0000

Definition at line 116 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_PRESENCE_RESULT_FIELD_TEMPERATURE_POS

#define PRESENCE_REG_PRESENCE_RESULT_FIELD_TEMPERATURE_POS 16U

Definition at line 115 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_PROTOCOL_STATUS_ADDRESS

#define PRESENCE_REG_PROTOCOL_STATUS_ADDRESS 1U

Definition at line 15 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_PROTOCOL_STATUS_FIELD_ADDRESS_ERROR_MASK

#define PRESENCE_REG_PROTOCOL_STATUS_FIELD_ADDRESS_ERROR_MASK 0x00000004

Definition at line 64 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_PROTOCOL_STATUS_FIELD_ADDRESS_ERROR_POS

#define PRESENCE_REG_PROTOCOL_STATUS_FIELD_ADDRESS_ERROR_POS 2U

Definition at line 63 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_PROTOCOL_STATUS_FIELD_PACKET_LENGTH_ERROR_MASK

#define PRESENCE_REG_PROTOCOL_STATUS_FIELD_PACKET_LENGTH_ERROR_MASK 0x00000002

Definition at line 62 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_PROTOCOL_STATUS_FIELD_PACKET_LENGTH_ERROR_POS

#define PRESENCE_REG_PROTOCOL_STATUS_FIELD_PACKET_LENGTH_ERROR_POS 1U

Definition at line 61 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_PROTOCOL_STATUS_FIELD_PROTOCOL_STATE_ERROR_MASK

#define PRESENCE_REG_PROTOCOL_STATUS_FIELD_PROTOCOL_STATE_ERROR_MASK 0x00000001

Definition at line 60 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_PROTOCOL_STATUS_FIELD_PROTOCOL_STATE_ERROR_POS

#define PRESENCE_REG_PROTOCOL_STATUS_FIELD_PROTOCOL_STATE_ERROR_POS 0U

Definition at line 59 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_PROTOCOL_STATUS_FIELD_WRITE_FAILED_MASK

#define PRESENCE_REG_PROTOCOL_STATUS_FIELD_WRITE_FAILED_MASK 0x00000008

Definition at line 66 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_PROTOCOL_STATUS_FIELD_WRITE_FAILED_POS

#define PRESENCE_REG_PROTOCOL_STATUS_FIELD_WRITE_FAILED_POS 3U

Definition at line 65 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_PROTOCOL_STATUS_FIELD_WRITE_TO_READ_ONLY_MASK

#define PRESENCE_REG_PROTOCOL_STATUS_FIELD_WRITE_TO_READ_ONLY_MASK 0x00000010

Definition at line 68 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_PROTOCOL_STATUS_FIELD_WRITE_TO_READ_ONLY_POS

#define PRESENCE_REG_PROTOCOL_STATUS_FIELD_WRITE_TO_READ_ONLY_POS 4U

Definition at line 67 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_REGISTER_COUNT

#define PRESENCE_REG_REGISTER_COUNT 35U

Definition at line 11 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_RESET_FILTERS_ON_PREPARE_ADDRESS

#define PRESENCE_REG_RESET_FILTERS_ON_PREPARE_ADDRESS 84U

Definition at line 42 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_RESET_FILTERS_ON_PREPARE_DEFAULT_VALUE

#define PRESENCE_REG_RESET_FILTERS_ON_PREPARE_DEFAULT_VALUE 1U

Definition at line 160 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_SIGNAL_QUALITY_ADDRESS

#define PRESENCE_REG_SIGNAL_QUALITY_ADDRESS 87U

Definition at line 45 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_SIGNAL_QUALITY_DEFAULT_VALUE

#define PRESENCE_REG_SIGNAL_QUALITY_DEFAULT_VALUE 15000U

Definition at line 163 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_START_ADDRESS

#define PRESENCE_REG_START_ADDRESS 82U

Definition at line 40 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_START_DEFAULT_VALUE

#define PRESENCE_REG_START_DEFAULT_VALUE 300U

Definition at line 158 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_SWEEPS_PER_FRAME_ADDRESS

#define PRESENCE_REG_SWEEPS_PER_FRAME_ADDRESS 64U

Definition at line 23 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_SWEEPS_PER_FRAME_DEFAULT_VALUE

#define PRESENCE_REG_SWEEPS_PER_FRAME_DEFAULT_VALUE 16U

Definition at line 141 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_VERSION_ADDRESS

#define PRESENCE_REG_VERSION_ADDRESS 0U

Definition at line 14 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_VERSION_FIELD_MAJOR_MASK

#define PRESENCE_REG_VERSION_FIELD_MAJOR_MASK 0xffff0000

Definition at line 52 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_VERSION_FIELD_MAJOR_POS

#define PRESENCE_REG_VERSION_FIELD_MAJOR_POS 16U

Definition at line 51 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_VERSION_FIELD_MINOR_MASK

#define PRESENCE_REG_VERSION_FIELD_MINOR_MASK 0x0000ff00

Definition at line 54 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_VERSION_FIELD_MINOR_POS

#define PRESENCE_REG_VERSION_FIELD_MINOR_POS 8U

Definition at line 53 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_VERSION_FIELD_PATCH_MASK

#define PRESENCE_REG_VERSION_FIELD_PATCH_MASK 0x000000ff

Definition at line 56 of file presence_reg_protocol.h.

## ◆ PRESENCE_REG_VERSION_FIELD_PATCH_POS

#define PRESENCE_REG_VERSION_FIELD_PATCH_POS 0U

Definition at line 55 of file presence_reg_protocol.h.

## Function Documentation

## ◆ presence_reg_protocol_setup()

void presence_reg_protocol_setup | ( | void |  | ) |

The presence protocol setup function.

Definition at line 197 of file presence_reg_protocol.c.

## ◆ presence_reg_protocol_write_default()

void presence_reg_protocol_write_default | ( | void |  | ) |

The presence protocol write default register value function.

Definition at line 203 of file presence_reg_protocol.c.

## ◆ presence_reg_read_application_id()

void presence_reg_read_application_id | ( | uint32_t * | value | ) |

Read: The application id register.

Definition at line 29 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_auto_profile_enabled()

void presence_reg_read_auto_profile_enabled | ( | uint32_t * | value | ) |

Read: Enable/Disable automatic selection of profile based on start point of measurement.

Definition at line 405 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_auto_step_length_enabled()

void presence_reg_read_auto_step_length_enabled | ( | uint32_t * | value | ) |

Read: Enable/Disable automatic selection of step length based on the profile.

Definition at line 429 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_automatic_subsweeps()

void presence_reg_read_automatic_subsweeps | ( | uint32_t * | value | ) |

Read: Enable/Disable use of subsweeps.

Definition at line 636 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_detection_on_gpio()

void presence_reg_read_detection_on_gpio | ( | uint32_t * | value | ) |

Read: Output presence detection on generic gpio

Definition at line 683 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_detector_status()

void presence_reg_read_detector_status | ( | uint32_t * | value | ) |

Read: Get detector status flags.

Definition at line 77 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_end()

void presence_reg_read_end | ( | uint32_t * | value | ) |

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

Definition at line 568 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_frame_rate()

void presence_reg_read_frame_rate | ( | uint32_t * | value | ) |

Read: The presence detector frame rate. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 198 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_hwaas()

void presence_reg_read_hwaas | ( | uint32_t * | value | ) |

Read: The hardware accelerated average samples (HWAAS).

Definition at line 615 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_inter_detection_enabled()

void presence_reg_read_inter_detection_enabled | ( | uint32_t * | value | ) |

Read: Enable to detect slower movements between frames.

Definition at line 174 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_inter_detection_threshold()

void presence_reg_read_inter_detection_threshold | ( | uint32_t * | value | ) |

Read: This is the threshold for detecting slower movements between frames. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 244 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_inter_frame_deviation_time_const()

void presence_reg_read_inter_frame_deviation_time_const | ( | uint32_t * | value | ) |

Read: The time constant of the low pass filter for the inter-frame deviation between fast and slow. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 267 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_inter_frame_fast_cutoff()

void presence_reg_read_inter_frame_fast_cutoff | ( | uint32_t * | value | ) |

Read: The cutoff frequency of the low pass filter for the fast filtered absolute sweep mean. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 290 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_inter_frame_presence_timeout()

void presence_reg_read_inter_frame_presence_timeout | ( | uint32_t * | value | ) |

Read: Number of seconds the inter-frame presence score needs to decrease before exponential scaling starts for faster decline. Should be between 0 and 30 where 0 means no timeout. Note:

Definition at line 129 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_inter_frame_slow_cutoff()

void presence_reg_read_inter_frame_slow_cutoff | ( | uint32_t * | value | ) |

Read: The cutoff frequency of the low pass filter for the slow filtered absolute sweep mean. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 313 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_inter_output_time_const()

void presence_reg_read_inter_output_time_const | ( | uint32_t * | value | ) |

Read: The time constant for the output in the inter-frame part. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 382 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_inter_presence_score()

void presence_reg_read_inter_presence_score | ( | uint32_t * | value | ) |

Read: A measure of the amount of slow motion detected. Just like the configuration register inter_detection_threshold, this field is a factor 1000 larger than the RSS value.

Definition at line 101 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_intra_detection_enabled()

void presence_reg_read_intra_detection_enabled | ( | uint32_t * | value | ) |

Read: Enable to detect faster movements inside frames.

Definition at line 150 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_intra_detection_threshold()

void presence_reg_read_intra_detection_threshold | ( | uint32_t * | value | ) |

Read: The threshold for detecting faster movements inside frames. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 221 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_intra_frame_time_const()

void presence_reg_read_intra_frame_time_const | ( | uint32_t * | value | ) |

Read: The time constant for the depthwise filtering in the intra-frame part. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 336 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_intra_output_time_const()

void presence_reg_read_intra_output_time_const | ( | uint32_t * | value | ) |

Read: The time constant for the output in the intra-frame part. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 359 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_intra_presence_score()

void presence_reg_read_intra_presence_score | ( | uint32_t * | value | ) |

Read: A measure of the amount of fast motion detected. Just like the configuration register intra_detection_threshold, this field is a factor 1000 larger than the RSS value.

Definition at line 94 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_manual_profile()

void presence_reg_read_manual_profile | ( | uint32_t * | value | ) |

Read: The profile to use. The profile will only be used if profile auto selection was disabled.

Definition at line 453 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_manual_step_length()

void presence_reg_read_manual_step_length | ( | uint32_t * | value | ) |

Read: The number of steps between each data point. The manual step length will only be used if step length auto selection was disabled.

Definition at line 524 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_measure_counter()

void presence_reg_read_measure_counter | ( | uint32_t * | value | ) |

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

Definition at line 72 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_presence_actual_frame_rate()

void presence_reg_read_presence_actual_frame_rate | ( | uint32_t * | value | ) |

Read: The actual frame rate of the presence detector.

Definition at line 704 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_presence_distance()

void presence_reg_read_presence_distance | ( | uint32_t * | value | ) |

Read: The distance, in millimeters, for the detected presence

Definition at line 87 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_presence_result()

void presence_reg_read_presence_result | ( | uint32_t * | value | ) |

Read: The result from the presence detector.

Definition at line 82 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_protocol_status()

void presence_reg_read_protocol_status | ( | uint32_t * | value | ) |

Read: Get protocol error flags.

Definition at line 39 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_reset_filters_on_prepare()

void presence_reg_read_reset_filters_on_prepare | ( | uint32_t * | value | ) |

Read: Enable/Disable reset of the presence filters during start/restart.

Definition at line 591 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_signal_quality()

void presence_reg_read_signal_quality | ( | uint32_t * | value | ) |

Read: Signal quality.

Definition at line 660 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_start()

void presence_reg_read_start | ( | uint32_t * | value | ) |

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

Definition at line 545 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_sweeps_per_frame()

void presence_reg_read_sweeps_per_frame | ( | uint32_t * | value | ) |

Read: The number of sweeps that will be captured in each frame (measurement).

Definition at line 108 of file presence_reg_protocol_access.c.

## ◆ presence_reg_read_version()

void presence_reg_read_version | ( | uint32_t * | value | ) |

Read: Get the RSS version.

Definition at line 34 of file presence_reg_protocol_access.c.

## ◆ presence_reg_write_auto_profile_enabled()

bool presence_reg_write_auto_profile_enabled | ( | const uint32_t | value | ) |

Write: Enable/Disable automatic selection of profile based on start point of measurement.

Definition at line 414 of file presence_reg_protocol_access.c.

## ◆ presence_reg_write_auto_step_length_enabled()

bool presence_reg_write_auto_step_length_enabled | ( | const uint32_t | value | ) |

Write: Enable/Disable automatic selection of step length based on the profile.

Definition at line 438 of file presence_reg_protocol_access.c.

## ◆ presence_reg_write_automatic_subsweeps()

bool presence_reg_write_automatic_subsweeps | ( | const uint32_t | value | ) |

Write: Enable/Disable use of subsweeps.

Definition at line 645 of file presence_reg_protocol_access.c.

## ◆ presence_reg_write_command()

bool presence_reg_write_command | ( | const uint32_t | value | ) |

Write: Execute command.

Definition at line 709 of file presence_reg_protocol_access.c.

## ◆ presence_reg_write_detection_on_gpio()

bool presence_reg_write_detection_on_gpio | ( | const uint32_t | value | ) |

Write: Output presence detection on generic gpio

Definition at line 695 of file presence_reg_protocol_access.c.

## ◆ presence_reg_write_end()

bool presence_reg_write_end | ( | const uint32_t | value | ) |

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

Definition at line 576 of file presence_reg_protocol_access.c.

## ◆ presence_reg_write_frame_rate()

bool presence_reg_write_frame_rate | ( | const uint32_t | value | ) |

Write: The presence detector frame rate. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 206 of file presence_reg_protocol_access.c.

## ◆ presence_reg_write_hwaas()

bool presence_reg_write_hwaas | ( | const uint32_t | value | ) |

Write: The hardware accelerated average samples (HWAAS).

Definition at line 622 of file presence_reg_protocol_access.c.

## ◆ presence_reg_write_inter_detection_enabled()

bool presence_reg_write_inter_detection_enabled | ( | const uint32_t | value | ) |

Write: Enable to detect slower movements between frames.

Definition at line 183 of file presence_reg_protocol_access.c.

## ◆ presence_reg_write_inter_detection_threshold()

bool presence_reg_write_inter_detection_threshold | ( | const uint32_t | value | ) |

Write: This is the threshold for detecting slower movements between frames. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 252 of file presence_reg_protocol_access.c.

## ◆ presence_reg_write_inter_frame_deviation_time_const()

bool presence_reg_write_inter_frame_deviation_time_const | ( | const uint32_t | value | ) |

Write: The time constant of the low pass filter for the inter-frame deviation between fast and slow. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 275 of file presence_reg_protocol_access.c.

## ◆ presence_reg_write_inter_frame_fast_cutoff()

bool presence_reg_write_inter_frame_fast_cutoff | ( | const uint32_t | value | ) |

Write: The cutoff frequency of the low pass filter for the fast filtered absolute sweep mean. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 298 of file presence_reg_protocol_access.c.

## ◆ presence_reg_write_inter_frame_presence_timeout()

bool presence_reg_write_inter_frame_presence_timeout | ( | const uint32_t | value | ) |

Write: Number of seconds the inter-frame presence score needs to decrease before exponential scaling starts for faster decline. Should be between 0 and 30 where 0 means no timeout. Note:

Definition at line 136 of file presence_reg_protocol_access.c.

## ◆ presence_reg_write_inter_frame_slow_cutoff()

bool presence_reg_write_inter_frame_slow_cutoff | ( | const uint32_t | value | ) |

Write: The cutoff frequency of the low pass filter for the slow filtered absolute sweep mean. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 321 of file presence_reg_protocol_access.c.

## ◆ presence_reg_write_inter_output_time_const()

bool presence_reg_write_inter_output_time_const | ( | const uint32_t | value | ) |

Write: The time constant for the output in the inter-frame part. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 390 of file presence_reg_protocol_access.c.

## ◆ presence_reg_write_intra_detection_enabled()

bool presence_reg_write_intra_detection_enabled | ( | const uint32_t | value | ) |

Write: Enable to detect faster movements inside frames.

Definition at line 159 of file presence_reg_protocol_access.c.

## ◆ presence_reg_write_intra_detection_threshold()

bool presence_reg_write_intra_detection_threshold | ( | const uint32_t | value | ) |

Write: The threshold for detecting faster movements inside frames. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 229 of file presence_reg_protocol_access.c.

## ◆ presence_reg_write_intra_frame_time_const()

bool presence_reg_write_intra_frame_time_const | ( | const uint32_t | value | ) |

Write: The time constant for the depthwise filtering in the intra-frame part. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 344 of file presence_reg_protocol_access.c.

## ◆ presence_reg_write_intra_output_time_const()

bool presence_reg_write_intra_output_time_const | ( | const uint32_t | value | ) |

Write: The time constant for the output in the intra-frame part. Note: This value is a factor 1000 larger than the RSS value.

Definition at line 367 of file presence_reg_protocol_access.c.

## ◆ presence_reg_write_manual_profile()

bool presence_reg_write_manual_profile | ( | const uint32_t | value | ) |

Write: The profile to use. The profile will only be used if profile auto selection was disabled.

Definition at line 483 of file presence_reg_protocol_access.c.

## ◆ presence_reg_write_manual_step_length()

bool presence_reg_write_manual_step_length | ( | const uint32_t | value | ) |

Write: The number of steps between each data point. The manual step length will only be used if step length auto selection was disabled.

Definition at line 531 of file presence_reg_protocol_access.c.

## ◆ presence_reg_write_reset_filters_on_prepare()

bool presence_reg_write_reset_filters_on_prepare | ( | const uint32_t | value | ) |

Write: Enable/Disable reset of the presence filters during start/restart.

Definition at line 600 of file presence_reg_protocol_access.c.

## ◆ presence_reg_write_signal_quality()

bool presence_reg_write_signal_quality | ( | const uint32_t | value | ) |

Write: Signal quality.

Definition at line 668 of file presence_reg_protocol_access.c.

## ◆ presence_reg_write_start()

bool presence_reg_write_start | ( | const uint32_t | value | ) |

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

Definition at line 553 of file presence_reg_protocol_access.c.

## ◆ presence_reg_write_sweeps_per_frame()

bool presence_reg_write_sweeps_per_frame | ( | const uint32_t | value | ) |

Write: The number of sweeps that will be captured in each frame (measurement).

Definition at line 115 of file presence_reg_protocol_access.c.