#[repr(u8)]pub enum Mprot1 {
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 Mprot1
impl Ord for Mprot1
Source§impl PartialOrd for Mprot1
impl PartialOrd for Mprot1
impl Copy for Mprot1
impl Eq for Mprot1
impl StructuralPartialEq for Mprot1
Auto Trait Implementations§
impl Freeze for Mprot1
impl RefUnwindSafe for Mprot1
impl Send for Mprot1
impl Sync for Mprot1
impl Unpin for Mprot1
impl UnwindSafe for Mprot1
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