Enum nrf52811_pac::bprot::config0::REGION21_A
source · [−]pub enum REGION21_A {
DISABLED,
ENABLED,
}
Expand description
Enable protection for region 21. Write ‘0’ has no effect.
Value on reset: 0
Variants
DISABLED
0: Protection disabled
ENABLED
1: Protection enabled
Trait Implementations
sourceimpl Clone for REGION21_A
impl Clone for REGION21_A
sourcefn clone(&self) -> REGION21_A
fn clone(&self) -> REGION21_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for REGION21_A
impl Debug for REGION21_A
sourceimpl From<REGION21_A> for bool
impl From<REGION21_A> for bool
sourcefn from(variant: REGION21_A) -> Self
fn from(variant: REGION21_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<REGION21_A> for REGION21_A
impl PartialEq<REGION21_A> for REGION21_A
sourcefn eq(&self, other: ®ION21_A) -> bool
fn eq(&self, other: ®ION21_A) -> bool
impl Copy for REGION21_A
impl StructuralPartialEq for REGION21_A
Auto Trait Implementations
impl RefUnwindSafe for REGION21_A
impl Send for REGION21_A
impl Sync for REGION21_A
impl Unpin for REGION21_A
impl UnwindSafe for REGION21_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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