Struct Comp4
#[repr(transparent)]pub struct Comp4(pub u32);Expand description
COMP_4 register.
Tuple Fields§
§0: u32Implementations§
§impl Comp4
impl Comp4
pub fn set_gain4(&mut self, val: u16)
pub fn set_gain4(&mut self, val: u16)
GAIN4[11:0]: fourth calibration point: gain AUXADC_GAIN_1V2[11:0].
pub const fn offset4(&self) -> u8
pub const fn offset4(&self) -> u8
OFFSET4[7:0]: fourth calibration point: offset compensation[7:0] with sign.
pub fn set_offset4(&mut self, val: u8)
pub fn set_offset4(&mut self, val: u8)
OFFSET4[7:0]: fourth calibration point: offset compensation[7:0] with sign.
Trait Implementations§
impl Copy for Comp4
impl Eq for Comp4
impl StructuralPartialEq for Comp4
Auto Trait Implementations§
impl Freeze for Comp4
impl RefUnwindSafe for Comp4
impl Send for Comp4
impl Sync for Comp4
impl Unpin for Comp4
impl UnwindSafe for Comp4
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