pub struct NoConfig;Expand description
A basic type that always returns Ok(0) when post_enable_config is called.
This should only be used for peripherals that are “ambiently” clocked, like PORTn
peripherals, which have no selectable/configurable source clock.
Trait Implementations§
Source§impl SPConfHelper for NoConfig
impl SPConfHelper for NoConfig
Source§fn post_enable_config(&self, _clocks: &Clocks) -> Result<u32, ClockError>
fn post_enable_config(&self, _clocks: &Clocks) -> Result<u32, ClockError>
This method is called AFTER a given MRCC peripheral has been enabled (e.g. un-gated),
but BEFORE the peripheral reset line is reset. Read more
Auto Trait Implementations§
impl Freeze for NoConfig
impl RefUnwindSafe for NoConfig
impl Send for NoConfig
impl Sync for NoConfig
impl Unpin for NoConfig
impl UnwindSafe for NoConfig
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