#[repr(u8)]pub enum Prot {
Disabled = 0,
Mode0 = 1,
Mode1 = 2,
Mode2 = 3,
}
Expand description
Complementary register protect control
Value on reset: 0
Variants§
Disabled = 0
0: Write protection disabled
Mode0 = 1
1: Protection mode 0
Mode1 = 2
2: Protection mode 1
Mode2 = 3
3: Protection mode 2
Trait Implementations§
source§impl PartialEq for Prot
impl PartialEq for Prot
impl Copy for Prot
impl Eq for Prot
impl StructuralPartialEq for Prot
Auto Trait Implementations§
impl Freeze for Prot
impl RefUnwindSafe for Prot
impl Send for Prot
impl Sync for Prot
impl Unpin for Prot
impl UnwindSafe for Prot
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