Inert Timer#
Defined in namespace hal::soft
#include <libhal-soft/inert/inert_timer.hpp>
-
class inert_timer : public hal::timer#
Inert implementation of timer hardware.
Public Static Functions
-
static inline result<inert_timer> create(is_running_t p_is_running)#
Factory function to create inert_timer object.
- Parameters:
p_is_running – - is_running_t object to return when is_running() is called
- Returns:
result<inert_timer> - Constructed inert_timer object
-
static inline result<inert_timer> create(is_running_t p_is_running)#