Enum atsam4e16c_pac::hsmci::wpsr::WP_VS_A[][src]

#[repr(u8)]pub enum WP_VS_A {
    NONE,
    WRITE,
    RESET,
    BOTH,
}

Write Protection Violation Status

Variants

NONE

0: No Write Protection Violation occurred since the last read of this register (WP_SR)

WRITE

1: Write Protection detected unauthorized attempt to write a control register had occurred (since the last read.)

RESET

2: Software reset had been performed while Write Protection was enabled (since the last read).

BOTH

3: Both Write Protection violation and software reset with Write Protection enabled have occurred since the last read.

Trait Implementations

impl Clone for WP_VS_A[src]

impl Copy for WP_VS_A[src]

impl Debug for WP_VS_A[src]

impl PartialEq<WP_VS_A> for WP_VS_A[src]

impl StructuralPartialEq for WP_VS_A[src]

Auto Trait Implementations

impl Send for WP_VS_A

impl Sync for WP_VS_A

impl Unpin for WP_VS_A

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.