Struct Ofr4
#[repr(transparent)]pub struct Ofr4(pub u32);
Expand description
offset register 4
Tuple Fields§
§0: u32
Implementations§
§impl Ofr4
impl Ofr4
pub fn set_offset(&mut self, n: usize, val: u16)
pub fn set_offset(&mut self, n: usize, val: u16)
OFFSET4
pub const fn offset4_ch(&self) -> u8
pub const fn offset4_ch(&self) -> u8
OFFSET4_CH
pub fn set_offset4_ch(&mut self, val: u8)
pub fn set_offset4_ch(&mut self, val: u8)
OFFSET4_CH
pub const fn offset4_en(&self) -> bool
pub const fn offset4_en(&self) -> bool
OFFSET4_EN
pub fn set_offset4_en(&mut self, val: bool)
pub fn set_offset4_en(&mut self, val: bool)
OFFSET4_EN
Trait Implementations§
impl Copy for Ofr4
impl Eq for Ofr4
impl StructuralPartialEq for Ofr4
Auto Trait Implementations§
impl Freeze for Ofr4
impl RefUnwindSafe for Ofr4
impl Send for Ofr4
impl Sync for Ofr4
impl Unpin for Ofr4
impl UnwindSafe for Ofr4
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