Struct stm32f412g::clocks::phclk::PeripheralClock
source · pub struct PeripheralClock<'a> {
pub clock: PeripheralClockType,
/* private fields */
}
Fields§
§clock: PeripheralClockType
Implementations§
source§impl<'a> PeripheralClock<'a>
impl<'a> PeripheralClock<'a>
pub const fn new( clock: PeripheralClockType, clocks: &'a dyn Stm32f4Clocks, ) -> PeripheralClock<'a>
pub fn configure_rng_clock(&self)
pub fn get_frequency(&self) -> u32
Trait Implementations§
source§impl<'a> ClockInterface for PeripheralClock<'a>
impl<'a> ClockInterface for PeripheralClock<'a>
Auto Trait Implementations§
impl<'a> Freeze for PeripheralClock<'a>
impl<'a> !RefUnwindSafe for PeripheralClock<'a>
impl<'a> !Send for PeripheralClock<'a>
impl<'a> !Sync for PeripheralClock<'a>
impl<'a> Unpin for PeripheralClock<'a>
impl<'a> !UnwindSafe for PeripheralClock<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more