Struct embassy_stm32::rcc::Mco
source · pub struct Mco<'d, T: McoInstance> { /* private fields */ }
Implementations§
source§impl<'d, T: McoInstance> Mco<'d, T>
impl<'d, T: McoInstance> Mco<'d, T>
sourcepub fn new(
_peri: impl Peripheral<P = T> + 'd,
pin: impl Peripheral<P = impl McoPin<T>> + 'd,
source: T::Source,
prescaler: McoPrescaler
) -> Self
pub fn new( _peri: impl Peripheral<P = T> + 'd, pin: impl Peripheral<P = impl McoPin<T>> + 'd, source: T::Source, prescaler: McoPrescaler ) -> Self
Create a new MCO instance.
Auto Trait Implementations§
impl<'d, T> RefUnwindSafe for Mco<'d, T>where
T: RefUnwindSafe,
impl<'d, T> Send for Mco<'d, T>where
T: Send,
impl<'d, T> Sync for Mco<'d, T>where
T: Sync,
impl<'d, T> Unpin for Mco<'d, T>
impl<'d, T> !UnwindSafe for Mco<'d, T>
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