Struct rp2040_hal::pll::PLLConfig
source · pub struct PLLConfig {
pub vco_freq: HertzU32,
pub refdiv: u8,
pub post_div1: u8,
pub post_div2: u8,
}
Expand description
Parameters for a PLL.
Fields§
§vco_freq: HertzU32
Voltage Controlled Oscillator frequency.
refdiv: u8
Reference divider
post_div1: u8
Post Divider 1
post_div2: u8
Post Divider 2
Auto Trait Implementations§
impl Freeze for PLLConfig
impl RefUnwindSafe for PLLConfig
impl Send for PLLConfig
impl Sync for PLLConfig
impl Unpin for PLLConfig
impl UnwindSafe for PLLConfig
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