nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches
util_macro.h File Reference

Nordic macro utilities. More...

#include <util/util_internal.h>
#include <zephyr/sys/util_macro.h>

Go to the source code of this file.

Macros

#define IS_ENABLED_ALL(...)
 Check multiple macro definitions to see if all are set in compiler-visible expressions.
 
#define IS_ENABLED_ANY(...)
 Check multiple macro definitions to see if any is set in compiler-visible expressions.
 
#define IF_ENABLED_ALL(_flags, ...)
 Insert code if all _flags are defined and equals 1.
 
#define IF_ENABLED_ANY(_flags, ...)
 Insert code if any _flags are defined to 1.
 
#define UTIL_CONCAT_AND(...)
 Concatenates all arguments with "&&" between them into a single token.
 
#define UTIL_CONCAT_OR(...)
 Concatenates all arguments with "||" between them into a single token.
 

Detailed Description

Nordic macro utilities.

Additional utility macros