Enum rp2040_hal::clocks::ClkSysSrcType
source · pub enum ClkSysSrcType {
Src(SRC_A),
Aux(AUXSRC_A),
}
Expand description
Holds register value for ClockSource for SystemClock
Variants§
Src(SRC_A)
Contains a valid clock source register value that is to be used to set a clock as glitchless source for SystemClock
Aux(AUXSRC_A)
Contains a valid clock source register value that is to be used to set a clock as aux source for SystemClock
Auto Trait Implementations§
impl Freeze for ClkSysSrcType
impl RefUnwindSafe for ClkSysSrcType
impl Send for ClkSysSrcType
impl Sync for ClkSysSrcType
impl Unpin for ClkSysSrcType
impl UnwindSafe for ClkSysSrcType
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
source§impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more