pub fn micros_since(&self) -> u32 {
        let reload_value = SYST::get_reload();
        let timer_clock = u64(self.clk.0);
        let ticks = u64(reload_value - SYST::get_current());

        // It is safe to make this cast since the maximum ticks is (2^24 - 1) and the minimum sysclk
        // is 4Mhz, which gives a maximum period of ~4.2 seconds which is < (2^32 - 1) microsenconds
        u32(1_000_000 * ticks / timer_clock).unwrap()
    }
/// Returns the number of microseconds since the last update event.
/// *NOTE:* This method is not a very good candidate to keep track of time, because
/// it is very easy to lose an update event.
Returns the number of microseconds since the last update event.
NOTE:* This method is not a very good candidate to keep track of time, because
it is very easy to lose an update event.
Returns the number of microseconds since the last update event . NOTE : * This method is not a very good candidate to keep track of time because it is very easy to lose an update event .
pub fn micros_since(&self) -> u32 {
        let reload_value = SYST::get_reload();
        let timer_clock = u64(self.clk.0);
        let ticks = u64(reload_value - SYST::get_current());
        // It is safe to make this cast since the maximum ticks is (2^24 - 1) and the minimum sysclk
        // is 4Mhz, which gives a maximum period of ~4.2 seconds which is < (2^32 - 1) microsenconds
        u32(1_000_000 * ticks / timer_clock).unwrap()
    }
pub fn micros_since ( & self ) -> u32 { let reload_value = SYST :: get_reload ( ) ; let timer_clock = u64 ( self . clk . 0 ) ; let ticks = u64 ( reload_value - SYST :: get_current ( ) ) ; // It is safe to make this cast since the maximum ticks is (2^24 - 1) and the minimum sysclk // is 4Mhz, which gives a maximum period of ~4.2 seconds which is < (2^32 - 1) microsenconds u32 ( 1_000_000 * ticks / timer_clock ) . unwrap ( ) }
Returns the number of microseconds since the last update event.
Returns the number of microseconds since the last update event .
&self
&self