Trait stm32f7xx_hal::rcc::GetBusFreq [−][src]
pub trait GetBusFreq {
fn get_frequency(clocks: &Clocks) -> Hertz;
fn get_timer_frequency(clocks: &Clocks) -> Hertz { ... }
}
Expand description
Trait to get the frequency of a bus.
Required methods
fn get_frequency(clocks: &Clocks) -> Hertz
fn get_frequency(clocks: &Clocks) -> Hertz
Returns the frequency of the bus.
Provided methods
fn get_timer_frequency(clocks: &Clocks) -> Hertz
fn get_timer_frequency(clocks: &Clocks) -> Hertz
Returns the timer frequency of the bus.
Timers on an APB bus run at twice the bus speed if the APB prescaler is >= 2.