Enum rp2040_hal::pll::Error
source · pub enum Error {
VcoFreqOutOfRange,
FeedbackDivOutOfRange,
PostDivOutOfRage,
RefFreqOutOfRange,
BadArgument,
}
Expand description
Error type for the PLL module. See Chapter 2, Section 18 §2 for details on constraints triggering these errors.
Variants§
VcoFreqOutOfRange
Proposed VCO frequency is out of range.
FeedbackDivOutOfRange
Feedback Divider value is out of range.
PostDivOutOfRage
Post Divider value is out of range.
RefFreqOutOfRange
Reference Frequency is out of range.
BadArgument
Bad argument : overflows, bad conversion, …
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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