Struct Pageprot1
#[repr(transparent)]pub struct Pageprot1(pub u32);Expand description
PAGEPROT1 register.
Tuple Fields§
§0: u32Implementations§
§impl Pageprot1
impl Pageprot1
pub const fn seg2(&self) -> u16
pub const fn seg2(&self) -> u16
Third segment definition. See PAGEPROT0 SEG0 description for details on SEG2[15:0] content.
pub fn set_seg2(&mut self, val: u16)
pub fn set_seg2(&mut self, val: u16)
Third segment definition. See PAGEPROT0 SEG0 description for details on SEG2[15:0] content.
Trait Implementations§
impl Copy for Pageprot1
impl Eq for Pageprot1
impl StructuralPartialEq for Pageprot1
Auto Trait Implementations§
impl Freeze for Pageprot1
impl RefUnwindSafe for Pageprot1
impl Send for Pageprot1
impl Sync for Pageprot1
impl Unpin for Pageprot1
impl UnwindSafe for Pageprot1
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