initialize_sys_tick

Function initialize_sys_tick 

Source
pub fn initialize_sys_tick(syst: &mut SYST, clock_hz: u32)
Expand description

Sets up the tick counter for 1kHz operation, assuming a CPU core clock of clock_hz.

If you use this module in your application, call this before run_tasks (or a fancier version of run_tasks) to set up the timer for monotonic operation.