#[repr(transparent)]pub struct FreqmectrlW(pub u32);Expand description
Freqeuncy Measurement (in Write mode)
Tuple Fields§
§0: u32Implementations§
Source§impl FreqmectrlW
impl FreqmectrlW
Sourcepub const fn set_ref_scale(&mut self, val: RefScale)
pub const fn set_ref_scale(&mut self, val: RefScale)
Reference Clock Scaling Factor
Sourcepub const fn pulse_mode(&self) -> PulseMode
pub const fn pulse_mode(&self) -> PulseMode
Pulse Width Measurement mode select
Sourcepub const fn set_pulse_mode(&mut self, val: PulseMode)
pub const fn set_pulse_mode(&mut self, val: PulseMode)
Pulse Width Measurement mode select
Sourcepub const fn set_pulse_pol(&mut self, val: PulsePol)
pub const fn set_pulse_pol(&mut self, val: PulsePol)
Pulse Polarity
Sourcepub const fn measure_in_progress(&self) -> FreqmectrlWMeasureInProgress
pub const fn measure_in_progress(&self) -> FreqmectrlWMeasureInProgress
Measure in Progress
Sourcepub const fn set_measure_in_progress(
&mut self,
val: FreqmectrlWMeasureInProgress,
)
pub const fn set_measure_in_progress( &mut self, val: FreqmectrlWMeasureInProgress, )
Measure in Progress
Trait Implementations§
Source§impl Clone for FreqmectrlW
impl Clone for FreqmectrlW
Source§fn clone(&self) -> FreqmectrlW
fn clone(&self) -> FreqmectrlW
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FreqmectrlW
impl Debug for FreqmectrlW
Source§impl Default for FreqmectrlW
impl Default for FreqmectrlW
Source§fn default() -> FreqmectrlW
fn default() -> FreqmectrlW
Returns the “default value” for a type. Read more
Source§impl PartialEq for FreqmectrlW
impl PartialEq for FreqmectrlW
impl Copy for FreqmectrlW
impl Eq for FreqmectrlW
impl StructuralPartialEq for FreqmectrlW
Auto Trait Implementations§
impl Freeze for FreqmectrlW
impl RefUnwindSafe for FreqmectrlW
impl Send for FreqmectrlW
impl Sync for FreqmectrlW
impl Unpin for FreqmectrlW
impl UnwindSafe for FreqmectrlW
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