[−][src]Struct microchip_eeprom_25lcxx::status::Status
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
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,