#[repr(transparent)]pub struct Mpr(pub u32);Expand description
Master Priviledge Registers
Tuple Fields§
§0: u32Implementations§
Source§impl Mpr
impl Mpr
Sourcepub const fn set_mprot3(&mut self, val: Mprot3)
pub const fn set_mprot3(&mut self, val: Mprot3)
Master 3 Priviledge, Buffer, Read, Write Control.
Sourcepub const fn set_mprot2(&mut self, val: Mprot2)
pub const fn set_mprot2(&mut self, val: Mprot2)
Master 2 Priviledge, Buffer, Read, Write Control
Sourcepub const fn set_mprot1(&mut self, val: Mprot1)
pub const fn set_mprot1(&mut self, val: Mprot1)
Master 1 Priviledge, Buffer, Read, Write Control
Sourcepub const fn set_mprot0(&mut self, val: Mprot0)
pub const fn set_mprot0(&mut self, val: Mprot0)
Master 0 Priviledge, Buffer, Read, Write Control
Trait Implementations§
impl Copy for Mpr
impl Eq for Mpr
impl StructuralPartialEq for Mpr
Auto Trait Implementations§
impl Freeze for Mpr
impl RefUnwindSafe for Mpr
impl Send for Mpr
impl Sync for Mpr
impl Unpin for Mpr
impl UnwindSafe for Mpr
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