Struct Ofr3
#[repr(transparent)]pub struct Ofr3(pub u32);
Expand description
offset register 3
Tuple Fields§
§0: u32
Implementations§
§impl Ofr3
impl Ofr3
pub fn set_offset(&mut self, n: usize, val: u16)
pub fn set_offset(&mut self, n: usize, val: u16)
OFFSET3
pub const fn offset3_ch(&self) -> u8
pub const fn offset3_ch(&self) -> u8
OFFSET3_CH
pub fn set_offset3_ch(&mut self, val: u8)
pub fn set_offset3_ch(&mut self, val: u8)
OFFSET3_CH
pub const fn offset3_en(&self) -> bool
pub const fn offset3_en(&self) -> bool
OFFSET3_EN
pub fn set_offset3_en(&mut self, val: bool)
pub fn set_offset3_en(&mut self, val: bool)
OFFSET3_EN
Trait Implementations§
impl Copy for Ofr3
impl Eq for Ofr3
impl StructuralPartialEq for Ofr3
Auto Trait Implementations§
impl Freeze for Ofr3
impl RefUnwindSafe for Ofr3
impl Send for Ofr3
impl Sync for Ofr3
impl Unpin for Ofr3
impl UnwindSafe for Ofr3
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