#[repr(transparent)]pub struct Gcc0(pub u32);Expand description
Gain Calibration Control.
Tuple Fields§
§0: u32Implementations§
Source§impl Gcc0
impl Gcc0
Sourcepub const fn set_gain_cal(&mut self, val: u16)
pub const fn set_gain_cal(&mut self, val: u16)
Gain Calibration Value.
Sourcepub const fn rdy(&self) -> bool
pub const fn rdy(&self) -> bool
Gain Calibration Value Valid. Raw bit values: false (0) = GainCalNotValid: The GAIN_CAL value is invalid. Run the hardware calibration routine for this value to be set.; true (1) = HardwareCalRoutineCompleted: The GAIN_CAL value is valid. GAIN_CAL should be used by software to derive GCRa[GCALR].
Sourcepub const fn set_rdy(&mut self, val: bool)
pub const fn set_rdy(&mut self, val: bool)
Gain Calibration Value Valid. Raw bit values: false (0) = GainCalNotValid: The GAIN_CAL value is invalid. Run the hardware calibration routine for this value to be set.; true (1) = HardwareCalRoutineCompleted: The GAIN_CAL value is valid. GAIN_CAL should be used by software to derive GCRa[GCALR].
Trait Implementations§
impl Copy for Gcc0
impl Eq for Gcc0
impl StructuralPartialEq for Gcc0
Auto Trait Implementations§
impl Freeze for Gcc0
impl RefUnwindSafe for Gcc0
impl Send for Gcc0
impl Sync for Gcc0
impl Unpin for Gcc0
impl UnwindSafe for Gcc0
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