modm API documentation
modm::platform::SysTickTimer Class Reference

Static Public Member Functions

template<class SystemClock , percent_t tolerance = pct(0)>
static void initialize ()
 
static void disable ()
 

Friends

class modm::chrono::milli_clock
 
class modm::chrono::micro_clock
 

Member Function Documentation

void modm::platform::SysTickTimer::disable ( )
static

Disables SysTick Timer.

Warning
If the SysTick Timer is disabled, modm::Clock and modm::PreciseClock will stop incrementing.
template<class SystemClock , percent_t tolerance = pct(0)>
static void modm::platform::SysTickTimer::initialize ( )
inlinestatic

Initializes the SysTick to provide a timer to modm::Clock and modm::PreciseClock.

Template Parameters
SystemClockthe currently active system clock
tolerancethe allowed tolerance for the resulting clock rate

The documentation for this class was generated from the following files: