#[repr(u8)]
pub enum PROT_A {
DISABLED,
MODE0,
MODE1,
MODE2,
}
Expand description
Complementary register protect control
Value on reset: 0
Variants
DISABLED
0: Write protection disabled
MODE0
1: Protection mode 0
MODE1
2: Protection mode 1
MODE2
3: Protection mode 2
Trait Implementations
impl Copy for PROT_A
impl StructuralPartialEq for PROT_A
Auto Trait Implementations
impl RefUnwindSafe for PROT_A
impl Send for PROT_A
impl Sync for PROT_A
impl Unpin for PROT_A
impl UnwindSafe for PROT_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more