Macros | Functions
vl53l1_api_debug.c File Reference

EwokPlus25 low level Driver debug function definition. More...

#include "vl53l1_ll_def.h"
#include "vl53l1_ll_device.h"
#include "vl53l1_register_structs.h"
#include "vl53l1_core.h"
#include "vl53l1_api_debug.h"
Include dependency graph for vl53l1_api_debug.c:

Go to the source code of this file.

Macros

#define LOG_FUNCTION_END(status, ...)   _LOG_FUNCTION_END(VL53L1_TRACE_MODULE_CORE, status, ##__VA_ARGS__)
 
#define LOG_FUNCTION_END_FMT(status, fmt, ...)
 
#define LOG_FUNCTION_START(fmt, ...)   _LOG_FUNCTION_START(VL53L1_TRACE_MODULE_CORE, fmt, ##__VA_ARGS__)
 
#define trace_print(level, ...)
 

Functions

VL53L1_Error VL53L1_get_additional_data (VL53L1_DEV Dev, VL53L1_additional_data_t *pdata)
 Gets the current LL Driver configuration parameters and the last set of histogram data for debug. More...
 

Detailed Description

EwokPlus25 low level Driver debug function definition.

Definition in file vl53l1_api_debug.c.

Macro Definition Documentation

◆ LOG_FUNCTION_END

#define LOG_FUNCTION_END (   status,
  ... 
)    _LOG_FUNCTION_END(VL53L1_TRACE_MODULE_CORE, status, ##__VA_ARGS__)

Definition at line 76 of file vl53l1_api_debug.c.

◆ LOG_FUNCTION_END_FMT

#define LOG_FUNCTION_END_FMT (   status,
  fmt,
  ... 
)
Value:
_LOG_FUNCTION_END_FMT(VL53L1_TRACE_MODULE_CORE, status, \
fmt, ##__VA_ARGS__)

Definition at line 78 of file vl53l1_api_debug.c.

◆ LOG_FUNCTION_START

#define LOG_FUNCTION_START (   fmt,
  ... 
)    _LOG_FUNCTION_START(VL53L1_TRACE_MODULE_CORE, fmt, ##__VA_ARGS__)

Definition at line 74 of file vl53l1_api_debug.c.

◆ trace_print

#define trace_print (   level,
  ... 
)
Value:
_LOG_TRACE_PRINT(trace_flags, \
level, VL53L1_TRACE_FUNCTION_NONE, ##__VA_ARGS__)

Definition at line 82 of file vl53l1_api_debug.c.

Function Documentation

◆ VL53L1_get_additional_data()

VL53L1_Error VL53L1_get_additional_data ( VL53L1_DEV  Dev,
VL53L1_additional_data_t pdata 
)

Gets the current LL Driver configuration parameters and the last set of histogram data for debug.

Parameters
[in]Dev: Device Handle
[out]pdata: pointer to VL53L1_additional_data_t data structure
Returns
VL53L1_ERROR_NONE Success
"Other error code" See VL53L1_Error

Definition at line 89 of file vl53l1_api_debug.c.

_LOG_FUNCTION_END_FMT
#define _LOG_FUNCTION_END_FMT(module, status, fmt,...)
Definition: vl53l1_platform_log.h:250
_LOG_TRACE_PRINT
#define _LOG_TRACE_PRINT(module, level, function,...)
Definition: vl53l1_platform_log.h:247


vl53l1x
Author(s):
autogenerated on Fri Aug 2 2024 08:35:54