pub fn new(mut dwt: DWT, mut dcb: DCB, clocks: &Clocks) -> Self {
        dcb.enable_trace();
        dwt.enable_cycle_counter();

        // now the CYCCNT counter can't be stopped or reset
        drop(dwt);

        MonoTimer {
            frequency: clocks.hclk(),
        }
    }
/// Creates a new `Monotonic` timer
Creates a new `Monotonic` timer
Creates a new ` Monotonic ` timer
pub fn new(mut dwt: DWT, mut dcb: DCB, clocks: &Clocks) -> Self {
        dcb.enable_trace();
        dwt.enable_cycle_counter();
        // now the CYCCNT counter can't be stopped or reset
        drop(dwt);
        MonoTimer {
            frequency: clocks.hclk(),
        }
    }
pub fn new ( mut dwt : DWT , mut dcb : DCB , clocks : & Clocks ) -> Self { dcb . enable_trace ( ) ; dwt . enable_cycle_counter ( ) ; // now the CYCCNT counter can't be stopped or reset drop ( dwt ) ; MonoTimer { frequency : clocks . hclk ( ) , } }
Creates a new `Monotonic` timer
Creates a new ` Monotonic ` timer
dwt
DWT
dcb
DCB
clocks
&Clocks
dwt
DWT
dcb
DCB
clocks
&Clocks