Struct Comp3
#[repr(transparent)]pub struct Comp3(pub u32);Expand description
COMP_3 register.
Tuple Fields§
§0: u32Implementations§
§impl Comp3
impl Comp3
pub fn set_gain3(&mut self, val: u16)
pub fn set_gain3(&mut self, val: u16)
GAIN3[11:0]: third calibration point: gain AUXADC_GAIN_1V2[11:0].
pub const fn offset3(&self) -> u8
pub const fn offset3(&self) -> u8
OFFSET3[7:0]: third calibration point: offset compensation[7:0] with sign.
pub fn set_offset3(&mut self, val: u8)
pub fn set_offset3(&mut self, val: u8)
OFFSET3[7:0]: third calibration point: offset compensation[7:0] with sign.
Trait Implementations§
impl Copy for Comp3
impl Eq for Comp3
impl StructuralPartialEq for Comp3
Auto Trait Implementations§
impl Freeze for Comp3
impl RefUnwindSafe for Comp3
impl Send for Comp3
impl Sync for Comp3
impl Unpin for Comp3
impl UnwindSafe for Comp3
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