pub enum Priv {
Disable = 0,
Enable = 1,
}Expand description
Control privileged access of EIM, ERM, Flexcan, MBC, SCG.
Value on reset: 0
Variants§
Disable = 0
0: privileged access is disabled. the peripherals could be access in user mode.
Enable = 1
1: privileged access is enabled. the peripherals could be access in privilege mode.
Trait Implementations§
impl Copy for Priv
impl Eq for Priv
impl StructuralPartialEq for Priv
Auto Trait Implementations§
impl Freeze for Priv
impl RefUnwindSafe for Priv
impl Send for Priv
impl Sync for Priv
impl Unpin for Priv
impl UnsafeUnpin for Priv
impl UnwindSafe for Priv
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