#include <zephyr/kernel.h>
#include <zephyr/sys_clock.h>
#include <zephyr/sys/__assert.h>
#include <chrono>
#include <limits>
Go to the source code of this file.
|
template<class T_Rep , class T_Period > |
constexpr k_ticks_t | zpp::to_tick (const std::chrono::duration< T_Rep, T_Period > &d) noexcept |
| convert a duration to tick More...
|
|
template<class T_Rep , class T_Period > |
constexpr k_timeout_t | zpp::to_timeout (const std::chrono::duration< T_Rep, T_Period > &d) noexcept |
| convert a duration to tick More...
|
|