|
L14-Click 1.0
STM32WLE5CC LoRaWAN Sensor Platform
|
Header for configuration file to utilities. More...
#include "cmsis_compiler.h"#include "stm32_mem.h"#include "stm32_tiny_vsnprintf.h"#include "utilities_def.h"Go to the source code of this file.
Macros | |
| #define | VLEVEL_OFF 0 |
| #define | VLEVEL_ALWAYS 0 |
| #define | VLEVEL_L 1 |
| #define | VLEVEL_M 2 |
| #define | VLEVEL_H 3 |
| #define | TS_OFF 0 |
| #define | TS_ON 1 |
| #define | T_REG_OFF 0 |
| #define | UTIL_PLACE_IN_SECTION(__x__) |
| Memory placement macro. | |
| #define | ALIGN(n) |
| Memory alignment macro. | |
| #define | UTILS_INIT_CRITICAL_SECTION() |
| macro used to initialize the critical section | |
| #define | UTILS_ENTER_CRITICAL_SECTION() |
| macro used to enter the critical section | |
| #define | UTILS_EXIT_CRITICAL_SECTION() |
| macro used to exit the critical section | |
| #define | UTIL_SEQ_CONF_TASK_NBR CFG_SEQ_Task_NBR |
| default number of tasks configured in sequencer | |
| #define | UTIL_SEQ_CONF_PRIO_NBR CFG_SEQ_Prio_NBR |
| default value of priority task | |
| #define | UTIL_SEQ_INIT_CRITICAL_SECTION() |
| macro used to initialize the critical section | |
| #define | UTIL_SEQ_ENTER_CRITICAL_SECTION() |
| macro used to enter the critical section | |
| #define | UTIL_SEQ_EXIT_CRITICAL_SECTION() |
| macro used to exit the critical section | |
| #define | UTIL_SEQ_MEMSET8(dest, value, size) |
| Memset utilities interface to application. | |
| #define | UTIL_ADV_TRACE_CONDITIONNAL |
| #define | UTIL_ADV_TRACE_UNCHUNK_MODE |
| #define | UTIL_ADV_TRACE_DEBUG(...) |
| #define | UTIL_ADV_TRACE_INIT_CRITICAL_SECTION() |
| #define | UTIL_ADV_TRACE_ENTER_CRITICAL_SECTION() |
| #define | UTIL_ADV_TRACE_EXIT_CRITICAL_SECTION() |
| #define | UTIL_ADV_TRACE_TMP_BUF_SIZE (512U) |
| #define | UTIL_ADV_TRACE_TMP_MAX_TIMESTMAP_SIZE (15U) |
| #define | UTIL_ADV_TRACE_FIFO_SIZE (1024U) |
| #define | UTIL_ADV_TRACE_MEMSET8(dest, value, size) |
| #define | UTIL_ADV_TRACE_VSNPRINTF(...) |
Header for configuration file to utilities.
Copyright (c) 2026 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
Definition in file utilities_conf.h.
| #define ALIGN | ( | n | ) |
Memory alignment macro.
Definition at line 91 of file utilities_conf.h.
| #define T_REG_OFF 0 |
Log without bitmask
Definition at line 59 of file utilities_conf.h.
| #define TS_OFF 0 |
Log without TimeStamp
Definition at line 56 of file utilities_conf.h.
Referenced by LoRaWAN_Init(), OnNvmDataChange(), StopJoin(), and StoreContext().
| #define TS_ON 1 |
Log with TimeStamp
Definition at line 57 of file utilities_conf.h.
| #define UTIL_ADV_TRACE_CONDITIONNAL |
not used
Definition at line 152 of file utilities_conf.h.
| #define UTIL_ADV_TRACE_DEBUG | ( | ... | ) |
| #define UTIL_ADV_TRACE_ENTER_CRITICAL_SECTION | ( | ) |
enter the critical section in trace feature
Definition at line 156 of file utilities_conf.h.
| #define UTIL_ADV_TRACE_EXIT_CRITICAL_SECTION | ( | ) |
exit the critical section in trace feature
Definition at line 157 of file utilities_conf.h.
| #define UTIL_ADV_TRACE_FIFO_SIZE (1024U) |
default trace fifo size
Definition at line 160 of file utilities_conf.h.
| #define UTIL_ADV_TRACE_INIT_CRITICAL_SECTION | ( | ) |
init the critical section in trace feature
Definition at line 155 of file utilities_conf.h.
| #define UTIL_ADV_TRACE_MEMSET8 | ( | dest, | |
| value, | |||
| size ) |
memset utilities interface to trace feature
Definition at line 161 of file utilities_conf.h.
| #define UTIL_ADV_TRACE_TMP_BUF_SIZE (512U) |
default trace buffer size
Definition at line 158 of file utilities_conf.h.
| #define UTIL_ADV_TRACE_TMP_MAX_TIMESTMAP_SIZE (15U) |
default trace timestamp size
Definition at line 159 of file utilities_conf.h.
| #define UTIL_ADV_TRACE_UNCHUNK_MODE |
not used
Definition at line 153 of file utilities_conf.h.
| #define UTIL_ADV_TRACE_VSNPRINTF | ( | ... | ) |
vsnprintf utilities interface to trace feature
Definition at line 162 of file utilities_conf.h.
Referenced by tiny_snprintf_like().
| #define UTIL_PLACE_IN_SECTION | ( | __x__ | ) |
Memory placement macro.
Definition at line 81 of file utilities_conf.h.
| #define UTIL_SEQ_CONF_PRIO_NBR CFG_SEQ_Prio_NBR |
default value of priority task
Definition at line 122 of file utilities_conf.h.
| #define UTIL_SEQ_CONF_TASK_NBR CFG_SEQ_Task_NBR |
default number of tasks configured in sequencer
Definition at line 116 of file utilities_conf.h.
| #define UTIL_SEQ_ENTER_CRITICAL_SECTION | ( | ) |
macro used to enter the critical section
Definition at line 132 of file utilities_conf.h.
| #define UTIL_SEQ_EXIT_CRITICAL_SECTION | ( | ) |
macro used to exit the critical section
Definition at line 137 of file utilities_conf.h.
| #define UTIL_SEQ_INIT_CRITICAL_SECTION | ( | ) |
macro used to initialize the critical section
Definition at line 127 of file utilities_conf.h.
| #define UTIL_SEQ_MEMSET8 | ( | dest, | |
| value, | |||
| size ) |
Memset utilities interface to application.
Definition at line 142 of file utilities_conf.h.
| #define UTILS_ENTER_CRITICAL_SECTION | ( | ) |
macro used to enter the critical section
Definition at line 102 of file utilities_conf.h.
| #define UTILS_EXIT_CRITICAL_SECTION | ( | ) |
macro used to exit the critical section
Definition at line 108 of file utilities_conf.h.
| #define UTILS_INIT_CRITICAL_SECTION | ( | ) |
macro used to initialize the critical section
Definition at line 97 of file utilities_conf.h.
| #define VLEVEL_ALWAYS 0 |
used as message params, if this level is given trace will be printed even when UTIL_ADV_TRACE_SetVerboseLevel(OFF)
Definition at line 50 of file utilities_conf.h.
| #define VLEVEL_H 3 |
all traces
Definition at line 54 of file utilities_conf.h.
| #define VLEVEL_L 1 |
just essential traces
Definition at line 52 of file utilities_conf.h.
| #define VLEVEL_M 2 |
functional traces
Definition at line 53 of file utilities_conf.h.
Referenced by LoRaWAN_Init(), OnNvmDataChange(), StopJoin(), and StoreContext().
| #define VLEVEL_OFF 0 |
used to set UTIL_ADV_TRACE_SetVerboseLevel() (not as message param)
Definition at line 49 of file utilities_conf.h.