[][src]Enum spi_flash::sfdp::SFDPStatus1Volatility

pub enum SFDPStatus1Volatility {
    NonVolatile06,
    Volatile06,
    Volatile50,
    NonVolatile06Volatile50,
    Mixed06,
    Reserved,
}

Variants

NonVolatile06

Status register 1 is non-volatile, powers up to its last state, write-enable with 0x06.

Volatile06

Status register 1 is volatile, powers up to all '1', write-enable with 0x06.

Volatile50

Status register 1 is volatile, powers up to all '1', write-enable with 0x50.

NonVolatile06Volatile50

Status register 1 powers up to its last non-volatile state, use 0x06 to write to non-volatile register, or use 0x50 to active and write volatile register.

Mixed06

Status register 1 contains a mix of volatile and non-volatile bits. Use instruction 0x06 to write.

Reserved

Reserved volatility mode.

Implementations

impl SFDPStatus1Volatility[src]

pub fn from_bits(bits: u32) -> Self[src]

Trait Implementations

impl Clone for SFDPStatus1Volatility[src]

impl Copy for SFDPStatus1Volatility[src]

impl Debug for SFDPStatus1Volatility[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.