modm API documentation
|
#include <modm/architecture/interface/clock.hpp>
Static Public Member Functions | |
static time_point | now () noexcept |
Static Public Attributes | |
static constexpr bool | is_steady = false |
Returns a time_point in microseconds.
This clock is meant for measuring durations (time differences), not time since reboot. You must not depend on this clock for timekeeping, especially not over long periods of time, since:
You must use an actual calendar implementation for proper time keeping!