[][src]Enum mcp794xx::EepromWriteProtection

pub enum EepromWriteProtection {
    None,
    UpperQuarter,
    UpperHalf,
    All,
}

EEPROM block write protection

Variants

None

None of the addresses is write-protected (default)

UpperQuarter

Upper 1/4 of the addresses are write-protected: [0x60-0x7F]

UpperHalf

Upper 1/2 of the addresses are write-protected: [0x40-0x7F]

All

All of the addresses are write-protected: [0x00-0x7F]

Trait Implementations

impl PartialEq<EepromWriteProtection> for EepromWriteProtection[src]

impl Debug for EepromWriteProtection[src]

impl Copy for EepromWriteProtection[src]

impl Clone for EepromWriteProtection[src]

Auto Trait Implementations

Blanket Implementations

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

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> Into<U> for T where
    U: From<T>, 
[src]

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.

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

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

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