VL53L0X API Specification
1.0.2.4823vl53l0x_platform_log.h File Reference
platform log function definition More...
#include <stdio.h>
#include <string.h>Go to the source code of this file.
Macros | |
| #define | VL53L0X_ErrLog(...) (void)0 |
| #define | _LOG_FUNCTION_START(module, fmt, ...) (void)0 |
| #define | _LOG_FUNCTION_END(module, status, ...) (void)0 |
| #define | _LOG_FUNCTION_END_FMT(module, status, fmt, ...) (void)0 |
| #define | VL53L0X_COPYSTRING(str, ...) strcpy(str, ##__VA_ARGS__) |
Enumerations | |
| enum | { TRACE_LEVEL_NONE, TRACE_LEVEL_ERRORS, TRACE_LEVEL_WARNING, TRACE_LEVEL_INFO, TRACE_LEVEL_DEBUG, TRACE_LEVEL_ALL, TRACE_LEVEL_IGNORE } |
| enum | { TRACE_FUNCTION_NONE = 0, TRACE_FUNCTION_I2C = 1, TRACE_FUNCTION_ALL = 0x7fffffff } |
| enum | { TRACE_MODULE_NONE = 0x0, TRACE_MODULE_API = 0x1, TRACE_MODULE_PLATFORM = 0x2, TRACE_MODULE_ALL = 0x7fffffff } |
Detailed Description
platform log function definition
Definition in file vl53l0x_platform_log.h.
Macro Definition Documentation
| #define VL53L0X_ErrLog | ( | ... | ) | (void)0 |
Definition at line 103 of file vl53l0x_platform_log.h.
| #define _LOG_FUNCTION_START | ( | module, | |
| fmt, | |||
| ... | |||
| ) | (void)0 |
Definition at line 104 of file vl53l0x_platform_log.h.
| #define _LOG_FUNCTION_END | ( | module, | |
| status, | |||
| ... | |||
| ) | (void)0 |
Definition at line 105 of file vl53l0x_platform_log.h.
| #define _LOG_FUNCTION_END_FMT | ( | module, | |
| status, | |||
| fmt, | |||
| ... | |||
| ) | (void)0 |
Definition at line 106 of file vl53l0x_platform_log.h.
| #define VL53L0X_COPYSTRING | ( | str, | |
| ... | |||
| ) | strcpy(str, ##__VA_ARGS__) |
Definition at line 109 of file vl53l0x_platform_log.h.
Enumeration Type Documentation
| anonymous enum |
| Enumerator | |
|---|---|
| TRACE_LEVEL_NONE | |
| TRACE_LEVEL_ERRORS | |
| TRACE_LEVEL_WARNING | |
| TRACE_LEVEL_INFO | |
| TRACE_LEVEL_DEBUG | |
| TRACE_LEVEL_ALL | |
| TRACE_LEVEL_IGNORE | |
Definition at line 49 of file vl53l0x_platform_log.h.
| anonymous enum |
| Enumerator | |
|---|---|
| TRACE_FUNCTION_NONE | |
| TRACE_FUNCTION_I2C | |
| TRACE_FUNCTION_ALL | |
Definition at line 59 of file vl53l0x_platform_log.h.
| anonymous enum |
| Enumerator | |
|---|---|
| TRACE_MODULE_NONE | |
| TRACE_MODULE_API | |
| TRACE_MODULE_PLATFORM | |
| TRACE_MODULE_ALL | |
Definition at line 65 of file vl53l0x_platform_log.h.