Struct Ofr2
#[repr(transparent)]pub struct Ofr2(pub u32);
Expand description
offset register 2
Tuple Fields§
§0: u32
Implementations§
§impl Ofr2
impl Ofr2
pub fn set_offset(&mut self, n: usize, val: u16)
pub fn set_offset(&mut self, n: usize, val: u16)
OFFSET2
pub const fn offset2_ch(&self) -> u8
pub const fn offset2_ch(&self) -> u8
OFFSET2_CH
pub fn set_offset2_ch(&mut self, val: u8)
pub fn set_offset2_ch(&mut self, val: u8)
OFFSET2_CH
pub const fn offset2_en(&self) -> bool
pub const fn offset2_en(&self) -> bool
OFFSET2_EN
pub fn set_offset2_en(&mut self, val: bool)
pub fn set_offset2_en(&mut self, val: bool)
OFFSET2_EN
Trait Implementations§
impl Copy for Ofr2
impl Eq for Ofr2
impl StructuralPartialEq for Ofr2
Auto Trait Implementations§
impl Freeze for Ofr2
impl RefUnwindSafe for Ofr2
impl Send for Ofr2
impl Sync for Ofr2
impl Unpin for Ofr2
impl UnwindSafe for Ofr2
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