Struct Adc3Ofr
#[repr(transparent)]pub struct Adc3Ofr(pub u32);Expand description
Offset register
Tuple Fields§
§0: u32Implementations§
§impl Adc3Ofr
impl Adc3Ofr
pub const fn set_offset(&mut self, val: u16)
pub const fn set_offset(&mut self, val: u16)
Data offset y for the channel programmed into OFFSET_CH
pub const fn set_offsetpos(&mut self, val: bool)
pub const fn set_offsetpos(&mut self, val: bool)
Positive offset
pub const fn set_offset_ch(&mut self, val: u8)
pub const fn set_offset_ch(&mut self, val: u8)
Channel selection for the data offset y
pub const fn set_offset_en(&mut self, val: bool)
pub const fn set_offset_en(&mut self, val: bool)
Offset y enable
Trait Implementations§
impl Copy for Adc3Ofr
impl Eq for Adc3Ofr
impl StructuralPartialEq for Adc3Ofr
Auto Trait Implementations§
impl Freeze for Adc3Ofr
impl RefUnwindSafe for Adc3Ofr
impl Send for Adc3Ofr
impl Sync for Adc3Ofr
impl Unpin for Adc3Ofr
impl UnsafeUnpin for Adc3Ofr
impl UnwindSafe for Adc3Ofr
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