Struct Ofcfgr
#[repr(transparent)]pub struct Ofcfgr(pub u32);Expand description
ADC offset 1 configuration register.
Tuple Fields§
§0: u32Implementations§
§impl Ofcfgr
impl Ofcfgr
pub fn set_posoff(&mut self, val: bool)
pub fn set_posoff(&mut self, val: bool)
Positive offset enable.
pub fn set_offset_ch(&mut self, val: u8)
pub fn set_offset_ch(&mut self, val: u8)
Channel selection for the data offset y.
Trait Implementations§
impl Copy for Ofcfgr
impl Eq for Ofcfgr
impl StructuralPartialEq for Ofcfgr
Auto Trait Implementations§
impl Freeze for Ofcfgr
impl RefUnwindSafe for Ofcfgr
impl Send for Ofcfgr
impl Sync for Ofcfgr
impl Unpin for Ofcfgr
impl UnwindSafe for Ofcfgr
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