Struct stm32_metapac::adc::regs::Ofr
#[repr(transparent)]pub struct Ofr(pub u32);
Expand description
offset register 1
Tuple Fields§
§0: u32
Implementations§
§impl Ofr
impl Ofr
pub fn set_offset(&mut self, val: u16)
pub fn set_offset(&mut self, val: u16)
Data offset y for the channel programmed into bits OFFSETy_CH
Trait Implementations§
impl Copy for Ofr
impl Eq for Ofr
impl StructuralPartialEq for Ofr
Auto Trait Implementations§
impl Freeze for Ofr
impl RefUnwindSafe for Ofr
impl Send for Ofr
impl Sync for Ofr
impl Unpin for Ofr
impl UnwindSafe for Ofr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)