Enum atsam4lc8a_pac::spi::wpsr::WPVSSELECT_A
source · #[repr(u8)]pub enum WPVSSELECT_A {
WRITE_WITH_WP,
SWRST_WITH_WP,
UNEXPECTED_WRITE,
}
Expand description
Write Protection Violation Status
Value on reset: 0
Variants§
WRITE_WITH_WP
1: The Write Protection has blocked a Write access to a protected register (since the last read).
SWRST_WITH_WP
2: Software Reset has been performed while Write Protection was enabled (since the last read or since the last write access on MR, IER, IDR or CSRx).
UNEXPECTED_WRITE
4: Write accesses have been detected on MR (while a chip select was active) or on CSRi (while the Chip Select “i” was active) since the last read.
Trait Implementations§
source§impl Clone for WPVSSELECT_A
impl Clone for WPVSSELECT_A
source§fn clone(&self) -> WPVSSELECT_A
fn clone(&self) -> WPVSSELECT_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WPVSSELECT_A
impl Debug for WPVSSELECT_A
source§impl From<WPVSSELECT_A> for u8
impl From<WPVSSELECT_A> for u8
source§fn from(variant: WPVSSELECT_A) -> Self
fn from(variant: WPVSSELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<WPVSSELECT_A> for WPVSSELECT_A
impl PartialEq<WPVSSELECT_A> for WPVSSELECT_A
source§fn eq(&self, other: &WPVSSELECT_A) -> bool
fn eq(&self, other: &WPVSSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for WPVSSELECT_A
impl Eq for WPVSSELECT_A
impl StructuralEq for WPVSSELECT_A
impl StructuralPartialEq for WPVSSELECT_A
Auto Trait Implementations§
impl RefUnwindSafe for WPVSSELECT_A
impl Send for WPVSSELECT_A
impl Sync for WPVSSELECT_A
impl Unpin for WPVSSELECT_A
impl UnwindSafe for WPVSSELECT_A
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