MCPcopy Create free account
hub / github.com/DISTORTEC/distortos / start

Method start

include/distortos/SoftwareTimer.hpp:74–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72
73 template<typename Rep1, typename Period1, typename Rep2 = TickClock::rep, typename Period2 = TickClock::period>
74 int start(const std::chrono::duration<Rep1, Period1> duration,
75 const std::chrono::duration<Rep2, Period2> period = {})
76 {
77 return start(std::chrono::duration_cast<TickClock::duration>(duration),
78 std::chrono::duration_cast<TickClock::duration>(period));
79 }
80
81 /**
82 * \brief Starts the timer.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected