pub struct Clk1MConfig;Expand description
A basic type that always returns Ok when PreEnableParts is called.
This should only be used for peripherals that are clocked only by the CLK1M clock and have no other selectable/configurable source clock.
Trait Implementations§
Source§impl SPConfHelper for Clk1MConfig
impl SPConfHelper for Clk1MConfig
Source§fn pre_enable_config(
&self,
_clocks: &Clocks,
) -> Result<PreEnableParts, ClockError>
fn pre_enable_config( &self, _clocks: &Clocks, ) -> Result<PreEnableParts, ClockError>
This method is called AFTER a given MRCC peripheral has been disabled, and BEFORE
the peripheral is to be enabled. Read more
Auto Trait Implementations§
impl Freeze for Clk1MConfig
impl RefUnwindSafe for Clk1MConfig
impl Send for Clk1MConfig
impl Sync for Clk1MConfig
impl Unpin for Clk1MConfig
impl UnwindSafe for Clk1MConfig
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