zpp
Zephyr C++20 Framework
utils.hpp File Reference
#include <cstdint>
Include dependency graph for utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 zpp
 

Functions

template<class T_LHS , class T_RHS >
constexpr bool zpp::operator== (const T_LHS &lhs, const T_RHS &rhs) noexcept
 check if the instances refere to the same native zephyr object handle. More...
 
template<class T_LHS , class T_RHS >
constexpr bool zpp::operator!= (const T_LHS &lhs, const T_RHS &rhs) noexcept
 check if the arguments refere to different native zephyr object handles. More...
 
consteval uint32_t zpp::power_of_two (uint32_t power) noexcept
 calculate a power of 2 More...
 
consteval bool zpp::is_power_of_two (uint32_t value) noexcept
 check if a value is a power of two More...
 
consteval bool zpp::is_multiple_of (uint32_t value, uint32_t base)
 Check if a value is a multiple of another value. More...