25 bool RTT::s_initiated =
false;
28 uint32_t RTT::s_micros = 0UL;
31 uint32_t RTT::s_millis = 0UL;
46 if (
UNLIKELY(s_initiated))
return (
false);
50 Power::timern_enable();
75 if (
UNLIKELY(!s_initiated))
return (
false);
82 Power::timern_disable();
152 if ((RTT::s_scheduler !=
NULL) && (RTT::s_job ==
NULL))
156 if (RTT::s_clock !=
NULL)
163 TIMSKn &= ~_BV(OCIE0B);
167 if (RTT::s_scheduler !=
NULL)
static void delay(uint32_t ms)
static uint32_t since(uint32_t start)
#define US_PER_TIMER_CYCLE
static uint16_t us_per_tick()
static uint16_t us_per_timer_cycle()