[][src]Struct microchip_eeprom_25lcxx::status::Status

pub struct Status {
    pub value: u8,
}

Fields

value: u8

Implementations

impl Status[src]

pub fn write_latch_enabled(&self) -> bool[src]

Get whether the write latch enabled bit is enabled

pub fn write_in_progress(&self) -> bool[src]

Get whether there is a write in progress

pub fn write_protection_level(&self) -> WriteProtection[src]

Get the protection level

pub fn set_write_protection_level(&mut self, protection: WriteProtection)[src]

Set the write protection level bits

pub fn write_protection_enabled(&mut self) -> bool[src]

Get the status of the WPEN bit. This makes the WP line effective If this is 0, then the WP line's data is ignored.

pub fn set_write_protection_enabled(&mut self, enabled: bool)[src]

Change the WPEN bit

Auto Trait Implementations

impl Send for Status

impl Sync for Status

impl Unpin for Status

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, 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.