EwokPlus25 core function definition. More...
#include "vl53l1_ll_def.h"#include "vl53l1_ll_device.h"#include "vl53l1_platform_log.h"#include "vl53l1_core_support.h"#include "vl53l1_platform_user_data.h"#include "vl53l1_platform_user_defines.h"
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 | |
| uint32_t | VL53L1_calc_pll_period_us (uint16_t fast_osc_frequency) |
| Calculates the PLL period in [us] from the input fast_osc_frequency. More... | |
| void | VL53L1_decode_row_col (uint8_t spad_number, uint8_t *prow, uint8_t *pcol) |
| Decodes the Byte.Bit coord encoding into an (x,y) coord value. More... | |
| uint8_t | VL53L1_decode_vcsel_period (uint8_t vcsel_period_reg) |
| Decodes VCSEL period register value into the real period in PLL clocks. More... | |
EwokPlus25 core function definition.
Definition in file vl53l1_core_support.c.
| #define LOG_FUNCTION_END | ( | status, | |
| ... | |||
| ) | _LOG_FUNCTION_END(VL53L1_TRACE_MODULE_CORE, status, ##__VA_ARGS__) |
Definition at line 83 of file vl53l1_core_support.c.
| #define LOG_FUNCTION_END_FMT | ( | status, | |
| fmt, | |||
| ... | |||
| ) |
Definition at line 85 of file vl53l1_core_support.c.
| #define LOG_FUNCTION_START | ( | fmt, | |
| ... | |||
| ) | _LOG_FUNCTION_START(VL53L1_TRACE_MODULE_CORE, fmt, ##__VA_ARGS__) |
Definition at line 81 of file vl53l1_core_support.c.
| #define trace_print | ( | level, | |
| ... | |||
| ) |
Definition at line 89 of file vl53l1_core_support.c.
Calculates the PLL period in [us] from the input fast_osc_frequency.
| [in] | fast_osc_frequency | : fast oscillator frequency in 4.12 MHz format |
Definition at line 94 of file vl53l1_core_support.c.
Decodes the Byte.Bit coord encoding into an (x,y) coord value.
| [in] | spad_number | : Coord location in Byte.Bit format |
| [out] | prow | : Decoded row |
| [out] | pcol | : Decoded column |
Decodes the array (row,col) location from the input SPAD number
Definition at line 426 of file vl53l1_core_support.c.
Decodes VCSEL period register value into the real period in PLL clocks.
| [in] | vcsel_period_reg | : 8 -bit register value |
Definition at line 411 of file vl53l1_core_support.c.