Trait gihex_hc_sr04::us_timer::TickerUs
source · pub trait TickerUs {
// Required methods
fn get_tick(&self) -> u32;
fn get_frequency(&self) -> u32;
}
Expand description
Trait that used to count number of ticks
Required Methods§
sourcefn get_frequency(&self) -> u32
fn get_frequency(&self) -> u32
Get frequency of tick