#[repr(u8)]pub enum Mprot2 {
Show 16 variants
MPL0 = 0,
MPL1 = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
_RESERVED_8 = 8,
_RESERVED_9 = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}Variants§
MPL0 = 0
Accesses from this master are forced to user-mode (ips_supervisor_access is forced to zero) regardless of the hprot[1] access attribute.
MPL1 = 1
Accesses from this master are not forced to user-mode. The hprot[1] access attribute is used directly to determine ips_supervisor_access.
_RESERVED_2 = 2
_RESERVED_3 = 3
_RESERVED_4 = 4
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
_RESERVED_8 = 8
_RESERVED_9 = 9
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
Trait Implementations§
Source§impl Ord for Mprot2
impl Ord for Mprot2
Source§impl PartialOrd for Mprot2
impl PartialOrd for Mprot2
impl Copy for Mprot2
impl Eq for Mprot2
impl StructuralPartialEq for Mprot2
Auto Trait Implementations§
impl Freeze for Mprot2
impl RefUnwindSafe for Mprot2
impl Send for Mprot2
impl Sync for Mprot2
impl Unpin for Mprot2
impl UnwindSafe for Mprot2
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