Struct Ofr1
#[repr(transparent)]pub struct Ofr1(pub u32);
Expand description
offset register 1
Tuple Fields§
§0: u32
Implementations§
§impl Ofr1
impl Ofr1
pub fn set_offset(&mut self, n: usize, val: u16)
pub fn set_offset(&mut self, n: usize, val: u16)
OFFSET1
pub const fn offset1_ch(&self) -> u8
pub const fn offset1_ch(&self) -> u8
OFFSET1_CH
pub fn set_offset1_ch(&mut self, val: u8)
pub fn set_offset1_ch(&mut self, val: u8)
OFFSET1_CH
pub const fn offset1_en(&self) -> bool
pub const fn offset1_en(&self) -> bool
OFFSET1_EN
pub fn set_offset1_en(&mut self, val: bool)
pub fn set_offset1_en(&mut self, val: bool)
OFFSET1_EN
Trait Implementations§
impl Copy for Ofr1
impl Eq for Ofr1
impl StructuralPartialEq for Ofr1
Auto Trait Implementations§
impl Freeze for Ofr1
impl RefUnwindSafe for Ofr1
impl Send for Ofr1
impl Sync for Ofr1
impl Unpin for Ofr1
impl UnwindSafe for Ofr1
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