Enum rp2040_hal::clocks::ClkRefSrcType
source · pub enum ClkRefSrcType {
Src(SRC_A),
Aux(AUXSRC_A),
}
Expand description
Holds register value for ClockSource for ReferenceClock
Variants§
Src(SRC_A)
Contains a valid clock source register value that is to be used to set a clock as glitchless source for ReferenceClock
Aux(AUXSRC_A)
Contains a valid clock source register value that is to be used to set a clock as aux source for ReferenceClock
Auto Trait Implementations§
impl Freeze for ClkRefSrcType
impl RefUnwindSafe for ClkRefSrcType
impl Send for ClkRefSrcType
impl Sync for ClkRefSrcType
impl Unpin for ClkRefSrcType
impl UnwindSafe for ClkRefSrcType
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