Struct Comp1
#[repr(transparent)]pub struct Comp1(pub u32);Expand description
COMP_1 register.
Tuple Fields§
§0: u32Implementations§
§impl Comp1
impl Comp1
pub fn set_gain1(&mut self, val: u16)
pub fn set_gain1(&mut self, val: u16)
GAIN1[11:0]: first calibration point: gain AUXADC_GAIN_1V2[11:0].
pub const fn offset1(&self) -> u8
pub const fn offset1(&self) -> u8
OFFSET1[7:0]: first calibration point: offset compensation[7:0] with sign.
pub fn set_offset1(&mut self, val: u8)
pub fn set_offset1(&mut self, val: u8)
OFFSET1[7:0]: first calibration point: offset compensation[7:0] with sign.
Trait Implementations§
impl Copy for Comp1
impl Eq for Comp1
impl StructuralPartialEq for Comp1
Auto Trait Implementations§
impl Freeze for Comp1
impl RefUnwindSafe for Comp1
impl Send for Comp1
impl Sync for Comp1
impl Unpin for Comp1
impl UnwindSafe for Comp1
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