|
Zephyr Project API 4.2.99
A Scalable Open Source RTOS
|
Provide ilog2() function. More...
#include <stdint.h>#include <zephyr/toolchain.h>#include <zephyr/arch/common/ffs.h>#include <zephyr/sys/util.h>Go to the source code of this file.
Macros | |
| #define | ilog2_compile_time_const_u32(n) |
| Calculate the floor of log2 for compile time constant. | |
| #define | ilog2(n) |
| Calculate integer log2. | |
Provide ilog2() function.