nRF Connect SDK API
3.3.99
Loading...
Searching...
No Matches
util_macro.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2011-2014, Wind River Systems, Inc.
3
*
4
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5
*/
6
14
#ifndef UTIL_MACROS_H_
15
#define UTIL_MACROS_H_
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
21
#include <
util/util_internal.h
>
22
#include <zephyr/sys/util_macro.h>
23
50
#define IS_ENABLED_ALL(...) Z_IS_ENABLED_ALL(__VA_ARGS__)
51
73
#define IS_ENABLED_ANY(...) Z_IS_ENABLED_ANY(__VA_ARGS__)
74
94
#define IF_ENABLED_ALL(_flags, ...) \
95
Z_IF_ENABLED_ALL((__VA_ARGS__), __DEBRACKET _flags)
96
116
#define IF_ENABLED_ANY(_flags, ...) \
117
Z_IF_ENABLED_ANY((__VA_ARGS__), __DEBRACKET _flags)
118
129
#define UTIL_CONCAT_AND(...) Z_UTIL_CONCAT_AND(__VA_ARGS__)
130
141
#define UTIL_CONCAT_OR(...) Z_UTIL_CONCAT_OR(__VA_ARGS__)
142
147
#ifdef __cplusplus
148
}
149
#endif
150
151
#endif
/* UTIL_MACROS_H_ */
util_internal.h
Misc utilities.
include
util
util_macro.h
Generated on Wed Jun 10 2026 17:22:24 for nRF Connect SDK API by
1.12.0