Home
last modified time | relevance | path

Searched refs:status (Results 1 – 25 of 68) sorted by relevance

123

/hal_st-3.4.0/sensor/vl53l1x/api/core/src/
Dvl53l1_register_funcs.c78 #define LOG_FUNCTION_END(status, ...) \ argument
79 _LOG_FUNCTION_END(VL53L1_TRACE_MODULE_REGISTERS, status, ##__VA_ARGS__)
80 #define LOG_FUNCTION_END_FMT(status, fmt, ...) \ argument
81 _LOG_FUNCTION_END_FMT(VL53L1_TRACE_MODULE_REGISTERS, status, fmt, ##__VA_ARGS__)
94 VL53L1_Error status = VL53L1_ERROR_NONE; in VL53L1_i2c_encode_static_nvm_managed() local
123 LOG_FUNCTION_END(status); in VL53L1_i2c_encode_static_nvm_managed()
126 return status; in VL53L1_i2c_encode_static_nvm_managed()
140 VL53L1_Error status = VL53L1_ERROR_NONE; in VL53L1_i2c_decode_static_nvm_managed() local
168 LOG_FUNCTION_END(status); in VL53L1_i2c_decode_static_nvm_managed()
170 return status; in VL53L1_i2c_decode_static_nvm_managed()
[all …]
Dvl53l1_api_core.c90 #define LOG_FUNCTION_END(status, ...) \ argument
91 _LOG_FUNCTION_END(VL53L1_TRACE_MODULE_CORE, status, ##__VA_ARGS__)
92 #define LOG_FUNCTION_END_FMT(status, fmt, ...) \ argument
93 _LOG_FUNCTION_END_FMT(VL53L1_TRACE_MODULE_CORE, status, \
129 VL53L1_Error status = VL53L1_ERROR_NONE; in VL53L1_get_device_firmware_version() local
133 if (status == VL53L1_ERROR_NONE) /*lint !e774 always true*/ in VL53L1_get_device_firmware_version()
134 status = VL53L1_disable_firmware(Dev); in VL53L1_get_device_firmware_version()
136 if (status == VL53L1_ERROR_NONE) in VL53L1_get_device_firmware_version()
137 status = VL53L1_RdWord( in VL53L1_get_device_firmware_version()
142 if (status == VL53L1_ERROR_NONE) in VL53L1_get_device_firmware_version()
[all …]
Dvl53l1_api_calibration.c92 #define LOG_FUNCTION_END(status, ...) \ argument
93 _LOG_FUNCTION_END(VL53L1_TRACE_MODULE_CORE, status, ##__VA_ARGS__)
94 #define LOG_FUNCTION_END_FMT(status, fmt, ...) \ argument
95 _LOG_FUNCTION_END_FMT(VL53L1_TRACE_MODULE_CORE, status, \
112 VL53L1_Error status = VL53L1_ERROR_NONE; in VL53L1_run_ref_spad_char() local
125 if (status == VL53L1_ERROR_NONE) /*lint !e774 always true*/ in VL53L1_run_ref_spad_char()
126 status = VL53L1_enable_powerforce(Dev); in VL53L1_run_ref_spad_char()
132 if (status == VL53L1_ERROR_NONE) in VL53L1_run_ref_spad_char()
133 status = in VL53L1_run_ref_spad_char()
147 if (status == VL53L1_ERROR_NONE) in VL53L1_run_ref_spad_char()
[all …]
Dvl53l1_wait.c81 #define LOG_FUNCTION_END(status, ...) \ argument
82 _LOG_FUNCTION_END(VL53L1_TRACE_MODULE_CORE, status, ##__VA_ARGS__)
83 #define LOG_FUNCTION_END_FMT(status, fmt, ...) \ argument
84 _LOG_FUNCTION_END_FMT(VL53L1_TRACE_MODULE_CORE, status, \
95 VL53L1_Error status = VL53L1_ERROR_NONE; in VL53L1_wait_for_boot_completion() local
106 status = in VL53L1_wait_for_boot_completion()
116 while (fw_ready == 0x00 && status == VL53L1_ERROR_NONE) { in VL53L1_wait_for_boot_completion()
117 status = VL53L1_is_boot_complete( in VL53L1_wait_for_boot_completion()
121 if (status == VL53L1_ERROR_NONE) { in VL53L1_wait_for_boot_completion()
122 status = VL53L1_WaitMs( in VL53L1_wait_for_boot_completion()
[all …]
Dvl53l1_api_preset_modes.c80 #define LOG_FUNCTION_END(status, ...) \ argument
81 _LOG_FUNCTION_END(VL53L1_TRACE_MODULE_API, status, ##__VA_ARGS__)
82 #define LOG_FUNCTION_END_FMT(status, fmt, ...) \ argument
83 _LOG_FUNCTION_END_FMT(VL53L1_TRACE_MODULE_API, status, fmt, ##__VA_ARGS__)
94 VL53L1_Error status = VL53L1_ERROR_NONE; in VL53L1_init_refspadchar_config_struct() local
120 LOG_FUNCTION_END(status); in VL53L1_init_refspadchar_config_struct()
122 return status; in VL53L1_init_refspadchar_config_struct()
135 VL53L1_Error status = VL53L1_ERROR_NONE; in VL53L1_init_ssc_config_struct() local
167 LOG_FUNCTION_END(status); in VL53L1_init_ssc_config_struct()
169 return status; in VL53L1_init_ssc_config_struct()
[all …]
Dvl53l1_core.c87 #define LOG_FUNCTION_END(status, ...) \ argument
88 _LOG_FUNCTION_END(VL53L1_TRACE_MODULE_CORE, status, ##__VA_ARGS__)
89 #define LOG_FUNCTION_END_FMT(status, fmt, ...) \ argument
91 status, fmt, ##__VA_ARGS__)
150 VL53L1_Error status = VL53L1_ERROR_NONE; in VL53L1_update_ll_driver_rd_state() local
249 LOG_FUNCTION_END(status); in VL53L1_update_ll_driver_rd_state()
251 return status; in VL53L1_update_ll_driver_rd_state()
265 VL53L1_Error status = VL53L1_ERROR_NONE; in VL53L1_check_ll_driver_rd_state() local
311 status = VL53L1_ERROR_GPH_SYNC_CHECK_FAIL; in VL53L1_check_ll_driver_rd_state()
315 status = VL53L1_ERROR_STREAM_COUNT_CHECK_FAIL; in VL53L1_check_ll_driver_rd_state()
[all …]
Dvl53l1_api.c93 #define LOG_FUNCTION_END(status, ...) \ argument
94 _LOG_FUNCTION_END(VL53L1_TRACE_MODULE_API, status, ##__VA_ARGS__)
95 #define LOG_FUNCTION_END_FMT(status, fmt, ...) \ argument
96 _LOG_FUNCTION_END_FMT(VL53L1_TRACE_MODULE_API, status, \
159 VL53L1_Error status = VL53L1_ERROR_NONE; in VL53L1_nvm_enable() local
166 if (status == VL53L1_ERROR_NONE) /*lint !e774 always true*/ in VL53L1_nvm_enable()
167 status = VL53L1_disable_firmware(Dev); in VL53L1_nvm_enable()
172 if (status == VL53L1_ERROR_NONE) in VL53L1_nvm_enable()
173 status = VL53L1_enable_powerforce(Dev); in VL53L1_nvm_enable()
179 if (status == VL53L1_ERROR_NONE) in VL53L1_nvm_enable()
[all …]
Dvl53l1_silicon_core.c79 #define LOG_FUNCTION_END(status, ...) \ argument
80 _LOG_FUNCTION_END(VL53L1_TRACE_MODULE_CORE, status, ##__VA_ARGS__)
81 #define LOG_FUNCTION_END_FMT(status, fmt, ...) \ argument
82 _LOG_FUNCTION_END_FMT(VL53L1_TRACE_MODULE_CORE, status, fmt, ##__VA_ARGS__)
96 VL53L1_Error status = VL53L1_ERROR_NONE; in VL53L1_is_firmware_ready_silicon() local
105 status = VL53L1_ReadMulti( in VL53L1_is_firmware_ready_silicon()
111 if (status == VL53L1_ERROR_NONE) { in VL53L1_is_firmware_ready_silicon()
143 LOG_FUNCTION_END(status); in VL53L1_is_firmware_ready_silicon()
145 return status; in VL53L1_is_firmware_ready_silicon()
Dvl53l1_api_strings.c76 #define LOG_FUNCTION_END(status, ...) \ argument
77 _LOG_FUNCTION_END(VL53L1_TRACE_MODULE_API, status, ##__VA_ARGS__)
78 #define LOG_FUNCTION_END_FMT(status, fmt, ...) \ argument
79 _LOG_FUNCTION_END_FMT(VL53L1_TRACE_MODULE_API, status, fmt, \
87 VL53L1_Error status = VL53L1_ERROR_NONE; in VL53L1_get_range_status_string() local
126 LOG_FUNCTION_END(status); in VL53L1_get_range_status_string()
127 return status; in VL53L1_get_range_status_string()
135 VL53L1_Error status = VL53L1_ERROR_NONE; in VL53L1_get_pal_state_string() local
182 LOG_FUNCTION_END(status); in VL53L1_get_pal_state_string()
183 return status; in VL53L1_get_pal_state_string()
Dvl53l1_error_strings.c75 #define LOG_FUNCTION_END(status, ...) \ argument
76 _LOG_FUNCTION_END(VL53L1_TRACE_MODULE_API, status, ##__VA_ARGS__)
77 #define LOG_FUNCTION_END_FMT(status, fmt, ...) \ argument
79 status, fmt, ##__VA_ARGS__)
Dvl53l1_core_support.c83 #define LOG_FUNCTION_END(status, ...) \ argument
84 _LOG_FUNCTION_END(VL53L1_TRACE_MODULE_CORE, status, ##__VA_ARGS__)
85 #define LOG_FUNCTION_END_FMT(status, fmt, ...) \ argument
87 status, fmt, ##__VA_ARGS__)
Dvl53l1_api_debug.c76 #define LOG_FUNCTION_END(status, ...) \ argument
77 _LOG_FUNCTION_END(VL53L1_TRACE_MODULE_CORE, status, ##__VA_ARGS__)
78 #define LOG_FUNCTION_END_FMT(status, fmt, ...) \ argument
79 _LOG_FUNCTION_END_FMT(VL53L1_TRACE_MODULE_CORE, status, \
97 VL53L1_Error status = VL53L1_ERROR_NONE; in VL53L1_get_additional_data() local
115 LOG_FUNCTION_END(status); in VL53L1_get_additional_data()
117 return status; in VL53L1_get_additional_data()
/hal_st-3.4.0/sensor/vl53l0x/api/core/src/
Dvl53l0x_api_calibration.c39 #define LOG_FUNCTION_END(status, ...) \ argument
40 _LOG_FUNCTION_END(TRACE_MODULE_API, status, ##__VA_ARGS__)
41 #define LOG_FUNCTION_END_FMT(status, fmt, ...) \ argument
42 _LOG_FUNCTION_END_FMT(TRACE_MODULE_API, status, fmt, ##__VA_ARGS__)
466 VL53L0X_Error status = VL53L0X_ERROR_NONE; in enable_spad_bit() local
474 status = VL53L0X_ERROR_REF_SPAD_INIT; in enable_spad_bit()
478 return status; in enable_spad_bit()
485 VL53L0X_Error status = VL53L0X_ERROR_NONE; in count_enabled_spads() local
503 status = VL53L0X_ERROR_REF_SPAD_INIT; in count_enabled_spads()
536 return status; in count_enabled_spads()
[all …]
Dvl53l0x_api_ranging.c38 #define LOG_FUNCTION_END(status, ...) \ argument
39 _LOG_FUNCTION_END(TRACE_MODULE_API, status, ##__VA_ARGS__)
40 #define LOG_FUNCTION_END_FMT(status, fmt, ...) \ argument
41 _LOG_FUNCTION_END_FMT(TRACE_MODULE_API, status, fmt, ##__VA_ARGS__)
/hal_st-3.4.0/sensor/stmemsc/lps33k_STdC/driver/
Dlps33k_reg.c388 lps33k_status_t status; in lps33k_press_data_ready_get() local
391 ret = lps33k_read_reg(ctx, LPS33K_STATUS, (uint8_t *)&status, 1); in lps33k_press_data_ready_get()
392 *val = status.p_da; in lps33k_press_data_ready_get()
407 lps33k_status_t status; in lps33k_temp_data_ready_get() local
410 ret = lps33k_read_reg(ctx, LPS33K_STATUS, (uint8_t *)&status, 1); in lps33k_temp_data_ready_get()
411 *val = status.t_da; in lps33k_temp_data_ready_get()
426 lps33k_status_t status; in lps33k_press_data_ovr_get() local
429 ret = lps33k_read_reg(ctx, LPS33K_STATUS, (uint8_t *)&status, 1); in lps33k_press_data_ovr_get()
430 *val = status.p_or; in lps33k_press_data_ovr_get()
445 lps33k_status_t status; in lps33k_temp_data_ovr_get() local
[all …]
/hal_st-3.4.0/sensor/stmemsc/stts22h_STdC/driver/
Dstts22h_reg.c301 stts22h_status_t status; in stts22h_temp_flag_data_ready_get() local
304 ret = stts22h_read_reg(ctx, STTS22H_STATUS, (uint8_t *)&status, 1); in stts22h_temp_flag_data_ready_get()
306 if (status.busy == PROPERTY_DISABLE) in stts22h_temp_flag_data_ready_get()
392 stts22h_status_t status; in stts22h_dev_status_get() local
395 ret = stts22h_read_reg(ctx, STTS22H_STATUS, (uint8_t *)&status, 1); in stts22h_dev_status_get()
396 val->busy = status.busy; in stts22h_dev_status_get()
633 stts22h_status_t status; in stts22h_temp_trshld_src_get() local
636 ret = stts22h_read_reg(ctx, STTS22H_STATUS, (uint8_t *)&status, 1); in stts22h_temp_trshld_src_get()
637 val->under_thl = status.under_thl; in stts22h_temp_trshld_src_get()
638 val->over_thh = status.over_thh; in stts22h_temp_trshld_src_get()
/hal_st-3.4.0/sensor/stmemsc/lps28dfw_STdC/driver/
Dlps28dfw_reg.c320 lps28dfw_status_t status; in lps28dfw_status_get() local
331 ret = lps28dfw_read_reg(ctx, LPS28DFW_STATUS, (uint8_t *)&status, 1); in lps28dfw_status_get()
340 val->drdy_pres = status.p_da; in lps28dfw_status_get()
341 val->drdy_temp = status.t_da; in lps28dfw_status_get()
342 val->ovr_pres = status.p_or; in lps28dfw_status_get()
343 val->ovr_temp = status.t_or; in lps28dfw_status_get()
425 lps28dfw_status_t status; in lps28dfw_all_sources_get() local
428 ret = lps28dfw_read_reg(ctx, LPS28DFW_STATUS, (uint8_t *)&status, 1); in lps28dfw_all_sources_get()
440 val->drdy_pres = status.p_da; in lps28dfw_all_sources_get()
441 val->drdy_temp = status.t_da; in lps28dfw_all_sources_get()
/hal_st-3.4.0/sensor/stmemsc/lps22df_STdC/driver/
Dlps22df_reg.c326 lps22df_status_t status; in lps22df_status_get() local
337 ret = lps22df_read_reg(ctx, LPS22DF_STATUS, (uint8_t *)&status, 1); in lps22df_status_get()
346 val->drdy_pres = status.p_da; in lps22df_status_get()
347 val->drdy_temp = status.t_da; in lps22df_status_get()
348 val->ovr_pres = status.p_or; in lps22df_status_get()
349 val->ovr_temp = status.t_or; in lps22df_status_get()
433 lps22df_status_t status; in lps22df_all_sources_get() local
436 ret = lps22df_read_reg(ctx, LPS22DF_STATUS, (uint8_t *)&status, 1); in lps22df_all_sources_get()
448 val->drdy_pres = status.p_da; in lps22df_all_sources_get()
449 val->drdy_temp = status.t_da; in lps22df_all_sources_get()
/hal_st-3.4.0/sensor/stmemsc/ilps28qsw_STdC/driver/
Dilps28qsw_reg.c276 ilps28qsw_status_t status; in ilps28qsw_status_get() local
287 ret = ilps28qsw_read_reg(ctx, ILPS28QSW_STATUS, (uint8_t *)&status, 1); in ilps28qsw_status_get()
296 val->drdy_pres = status.p_da; in ilps28qsw_status_get()
297 val->drdy_temp = status.t_da; in ilps28qsw_status_get()
298 val->ovr_pres = status.p_or; in ilps28qsw_status_get()
299 val->ovr_temp = status.t_or; in ilps28qsw_status_get()
363 ilps28qsw_status_t status; in ilps28qsw_all_sources_get() local
366 ret = ilps28qsw_read_reg(ctx, ILPS28QSW_STATUS, (uint8_t *)&status, 1); in ilps28qsw_all_sources_get()
378 val->drdy_pres = status.p_da; in ilps28qsw_all_sources_get()
379 val->drdy_temp = status.t_da; in ilps28qsw_all_sources_get()
/hal_st-3.4.0/sensor/stmemsc/lps33w_STdC/driver/
Dlps33w_reg.c620 lps33w_status_t status; in lps33w_press_data_ready_get() local
623 ret = lps33w_read_reg(ctx, LPS33W_STATUS, (uint8_t *)&status, 1); in lps33w_press_data_ready_get()
624 *val = status.p_da; in lps33w_press_data_ready_get()
639 lps33w_status_t status; in lps33w_temp_data_ready_get() local
642 ret = lps33w_read_reg(ctx, LPS33W_STATUS, (uint8_t *)&status, 1); in lps33w_temp_data_ready_get()
643 *val = status.t_da; in lps33w_temp_data_ready_get()
658 lps33w_status_t status; in lps33w_press_data_ovr_get() local
661 ret = lps33w_read_reg(ctx, LPS33W_STATUS, (uint8_t *)&status, 1); in lps33w_press_data_ovr_get()
662 *val = status.p_or; in lps33w_press_data_ovr_get()
677 lps33w_status_t status; in lps33w_temp_data_ovr_get() local
[all …]
/hal_st-3.4.0/sensor/stmemsc/lps33hw_STdC/driver/
Dlps33hw_reg.c622 lps33hw_status_t status; in lps33hw_press_data_ready_get() local
625 ret = lps33hw_read_reg(ctx, LPS33HW_STATUS, (uint8_t *)&status, 1); in lps33hw_press_data_ready_get()
626 *val = status.p_da; in lps33hw_press_data_ready_get()
641 lps33hw_status_t status; in lps33hw_temp_data_ready_get() local
644 ret = lps33hw_read_reg(ctx, LPS33HW_STATUS, (uint8_t *)&status, 1); in lps33hw_temp_data_ready_get()
645 *val = status.t_da; in lps33hw_temp_data_ready_get()
660 lps33hw_status_t status; in lps33hw_press_data_ovr_get() local
663 ret = lps33hw_read_reg(ctx, LPS33HW_STATUS, (uint8_t *)&status, 1); in lps33hw_press_data_ovr_get()
664 *val = status.p_or; in lps33hw_press_data_ovr_get()
679 lps33hw_status_t status; in lps33hw_temp_data_ovr_get() local
[all …]
/hal_st-3.4.0/sensor/stmemsc/lps22hb_STdC/driver/
Dlps22hb_reg.c622 lps22hb_status_t status; in lps22hb_press_data_ready_get() local
625 ret = lps22hb_read_reg(ctx, LPS22HB_STATUS, (uint8_t *)&status, 1); in lps22hb_press_data_ready_get()
626 *val = status.p_da; in lps22hb_press_data_ready_get()
641 lps22hb_status_t status; in lps22hb_temp_data_ready_get() local
644 ret = lps22hb_read_reg(ctx, LPS22HB_STATUS, (uint8_t *)&status, 1); in lps22hb_temp_data_ready_get()
645 *val = status.t_da; in lps22hb_temp_data_ready_get()
660 lps22hb_status_t status; in lps22hb_press_data_ovr_get() local
663 ret = lps22hb_read_reg(ctx, LPS22HB_STATUS, (uint8_t *)&status, 1); in lps22hb_press_data_ovr_get()
664 *val = status.p_or; in lps22hb_press_data_ovr_get()
679 lps22hb_status_t status; in lps22hb_temp_data_ovr_get() local
[all …]
/hal_st-3.4.0/sensor/stmemsc/ilps22qs_STdC/driver/
Dilps22qs_reg.c305 ilps22qs_status_t status; in ilps22qs_status_get() local
316 ret = ilps22qs_read_reg(ctx, ILPS22QS_STATUS, (uint8_t *)&status, 1); in ilps22qs_status_get()
325 val->drdy_pres = status.p_da; in ilps22qs_status_get()
326 val->drdy_temp = status.t_da; in ilps22qs_status_get()
327 val->ovr_pres = status.p_or; in ilps22qs_status_get()
328 val->ovr_temp = status.t_or; in ilps22qs_status_get()
394 ilps22qs_status_t status; in ilps22qs_all_sources_get() local
397 ret = ilps22qs_read_reg(ctx, ILPS22QS_STATUS, (uint8_t *)&status, 1); in ilps22qs_all_sources_get()
409 val->drdy_pres = status.p_da; in ilps22qs_all_sources_get()
410 val->drdy_temp = status.t_da; in ilps22qs_all_sources_get()
/hal_st-3.4.0/sensor/stmemsc/l3gd20h_STdC/driver/
Dl3gd20h_reg.c374 l3gd20h_status_t status; in l3gd20h_gy_flag_data_ready_get() local
376 ret = l3gd20h_read_reg(ctx, L3GD20H_STATUS, (uint8_t *)&status, 1); in l3gd20h_gy_flag_data_ready_get()
377 *val = status.zyxda; in l3gd20h_gy_flag_data_ready_get()
571 l3gd20h_status_t status; in l3gd20h_dev_status_get() local
573 ret = l3gd20h_read_reg(ctx, L3GD20H_STATUS, (uint8_t *)&status, 1); in l3gd20h_dev_status_get()
574 val->xda = status.xda; in l3gd20h_dev_status_get()
575 val->yda = status.yda; in l3gd20h_dev_status_get()
576 val->zda = status.zda; in l3gd20h_dev_status_get()
577 val->zyxda = status.zyxda; in l3gd20h_dev_status_get()
578 val->_xor = status._xor; in l3gd20h_dev_status_get()
[all …]
/hal_st-3.4.0/sensor/stmemsc/lis2hh12_STdC/driver/
Dlis2hh12_reg.c438 lis2hh12_status_t status; in lis2hh12_xl_flag_data_ready_get() local
441 ret = lis2hh12_read_reg(ctx, LIS2HH12_STATUS, (uint8_t *)&status, 1); in lis2hh12_xl_flag_data_ready_get()
442 *val = status.zyxda; in lis2hh12_xl_flag_data_ready_get()
633 lis2hh12_status_t status; in lis2hh12_dev_status_get() local
636 ret = lis2hh12_read_reg(ctx, LIS2HH12_STATUS, (uint8_t *)&status, 1); in lis2hh12_dev_status_get()
637 val->xda = status.xda; in lis2hh12_dev_status_get()
638 val->yda = status.yda; in lis2hh12_dev_status_get()
639 val->zda = status.zda; in lis2hh12_dev_status_get()
640 val->zyxda = status.zyxda; in lis2hh12_dev_status_get()
641 val->_xor = status._xor; in lis2hh12_dev_status_get()
[all …]

123