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> Freeze for Mco<'d, T>
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