ad9959

Struct PartialFr1

Source
pub struct PartialFr1<const MASK: u32>(/* private fields */);

Implementations§

Source§

impl PartialFr1<0>

Source

pub const fn with_sw_sync(&self, value: bool) -> PartialFr1<1>

Source§

impl PartialFr1<1>

Source

pub const fn with_hw_sync(&self, value: bool) -> PartialFr1<3>

Source§

impl PartialFr1<3>

Source

pub const fn with_dac_ref_pd(&self, value: bool) -> PartialFr1<19>

Source§

impl PartialFr1<19>

Source

pub const fn with_sync_clk_pd(&self, value: bool) -> PartialFr1<51>

Source§

impl PartialFr1<51>

Source

pub const fn with_ext_pd(&self, value: bool) -> PartialFr1<115>

Source§

impl PartialFr1<115>

Source

pub const fn with_ext_clk_pd(&self, value: bool) -> PartialFr1<243>

Source§

impl PartialFr1<243>

Source

pub const fn with_modulation(&self, value: u2) -> PartialFr1<1011>

Source§

impl PartialFr1<1011>

Source

pub const fn with_ramp_up_down(&self, value: u2) -> PartialFr1<4083>

Source§

impl PartialFr1<4083>

Source

pub const fn with_profile_pin(&self, value: u3) -> PartialFr1<32755>

Source§

impl PartialFr1<32755>

Source

pub const fn with_charge_pump(&self, value: u2) -> PartialFr1<229363>

Source§

impl PartialFr1<229363>

Source

pub const fn with_pll_divier(&self, value: u5) -> PartialFr1<8355827>

Source§

impl PartialFr1<8355827>

Source

pub const fn with_vco_high(&self, value: bool) -> PartialFr1<16744435>

Source§

impl PartialFr1<16744435>

Source

pub const fn build(&self) -> Fr1

Builds the bitfield from the values passed into this builder

Auto Trait Implementations§

§

impl<const MASK: u32> Freeze for PartialFr1<MASK>

§

impl<const MASK: u32> RefUnwindSafe for PartialFr1<MASK>

§

impl<const MASK: u32> Send for PartialFr1<MASK>

§

impl<const MASK: u32> Sync for PartialFr1<MASK>

§

impl<const MASK: u32> Unpin for PartialFr1<MASK>

§

impl<const MASK: u32> UnwindSafe for PartialFr1<MASK>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.