Struct stm32_metapac::adc::regs::Ofr
#[repr(transparent)]pub struct Ofr(pub u32);
Expand description
offset number x register
Tuple Fields§
§0: u32
Implementations§
§impl Ofr
impl Ofr
pub fn set_offset1(&mut self, val: u32)
pub fn set_offset1(&mut self, val: u32)
offset number x offset level
pub const fn offset1_ch(&self) -> u8
pub const fn offset1_ch(&self) -> u8
offset number x channel selection
pub fn set_offset1_ch(&mut self, val: u8)
pub fn set_offset1_ch(&mut self, val: u8)
offset number x channel selection
Trait Implementations§
impl Copy for Ofr
impl Eq for Ofr
impl StructuralEq for Ofr
impl StructuralPartialEq for Ofr
Auto Trait Implementations§
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