#[repr(C)]pub struct Fr1 { /* private fields */ }
Implementations§
Source§impl Fr1
impl Fr1
pub const ZERO: Self = _
pub const fn new() -> Self
👎Deprecated: Use Fr1::Default (or Fr1::DEFAULT in const context) instead
Sourcepub const fn new_with_raw_value(value: u24) -> Fr1
pub const fn new_with_raw_value(value: u24) -> Fr1
Creates a new instance of this bitfield with the given raw value.
No checks are performed on the value, so it is possible to set bits that don’t have any accessors specified.
Sourcepub const fn builder() -> PartialFr1<0>
pub const fn builder() -> PartialFr1<0>
Creates a builder for this bitfield which ensures that all writable fields are initialized
pub const fn sw_sync(&self) -> bool
pub const fn with_sw_sync(&self, field_value: bool) -> Self
pub fn set_sw_sync(&mut self, field_value: bool)
pub const fn hw_sync(&self) -> bool
pub const fn with_hw_sync(&self, field_value: bool) -> Self
pub fn set_hw_sync(&mut self, field_value: bool)
pub const fn dac_ref_pd(&self) -> bool
pub const fn with_dac_ref_pd(&self, field_value: bool) -> Self
pub fn set_dac_ref_pd(&mut self, field_value: bool)
pub const fn sync_clk_pd(&self) -> bool
pub const fn with_sync_clk_pd(&self, field_value: bool) -> Self
pub fn set_sync_clk_pd(&mut self, field_value: bool)
pub const fn ext_pd(&self) -> bool
pub const fn with_ext_pd(&self, field_value: bool) -> Self
pub fn set_ext_pd(&mut self, field_value: bool)
pub const fn ext_clk_pd(&self) -> bool
pub const fn with_ext_clk_pd(&self, field_value: bool) -> Self
pub fn set_ext_clk_pd(&mut self, field_value: bool)
pub const fn modulation(&self) -> u2
pub const fn with_modulation(&self, field_value: u2) -> Self
pub fn set_modulation(&mut self, field_value: u2)
pub const fn ramp_up_down(&self) -> u2
pub const fn with_ramp_up_down(&self, field_value: u2) -> Self
pub fn set_ramp_up_down(&mut self, field_value: u2)
pub const fn profile_pin(&self) -> u3
pub const fn with_profile_pin(&self, field_value: u3) -> Self
pub fn set_profile_pin(&mut self, field_value: u3)
pub const fn charge_pump(&self) -> u2
pub const fn with_charge_pump(&self, field_value: u2) -> Self
pub fn set_charge_pump(&mut self, field_value: u2)
pub const fn pll_divier(&self) -> u5
pub const fn with_pll_divier(&self, field_value: u5) -> Self
pub fn set_pll_divier(&mut self, field_value: u5)
pub const fn vco_high(&self) -> bool
pub const fn with_vco_high(&self, field_value: bool) -> Self
pub fn set_vco_high(&mut self, field_value: bool)
Trait Implementations§
impl Copy for Fr1
impl StructuralPartialEq for Fr1
Auto Trait Implementations§
impl Freeze for Fr1
impl RefUnwindSafe for Fr1
impl Send for Fr1
impl Sync for Fr1
impl Unpin for Fr1
impl UnwindSafe for Fr1
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