pub fn new(mut tim: SYST, clocks: &Clocks) -> Self {
        tim.set_clock_source(SystClkSource::External);
        Self {
            tim,
            clk: clocks.hclk(),
        }
    }
/// Configures the system timer (SysTick) as a delay provider
Configures the system timer (SysTick) as a delay provider
Configures the system timer ( SysTick ) as a delay provider
pub fn new(mut tim: SYST, clocks: &Clocks) -> Self {
        tim.set_clock_source(SystClkSource::External);
        Self {
            tim,
            clk: clocks.hclk(),
        }
    }
pub fn new ( mut tim : SYST , clocks : & Clocks ) -> Self { tim . set_clock_source ( SystClkSource :: External ) ; Self { tim , clk : clocks . hclk ( ) , } }
Configures the system timer (SysTick) as a delay provider
Configures the system timer ( SysTick ) as a delay provider
tim
SYST
clocks
&Clocks
tim
SYST
clocks
&Clocks