#[repr(transparent)]pub struct Ifconfig0(pub u32);
Expand description
Interface configuration.
Tuple Fields§
§0: u32
Implementations§
Source§impl Ifconfig0
impl Ifconfig0
Sourcepub const fn readoc(&self) -> Readoc
pub const fn readoc(&self) -> Readoc
Configure number of data lines and opcode used for reading.
Sourcepub fn set_readoc(&mut self, val: Readoc)
pub fn set_readoc(&mut self, val: Readoc)
Configure number of data lines and opcode used for reading.
Sourcepub const fn writeoc(&self) -> Writeoc
pub const fn writeoc(&self) -> Writeoc
Configure number of data lines and opcode used for writing.
Sourcepub fn set_writeoc(&mut self, val: Writeoc)
pub fn set_writeoc(&mut self, val: Writeoc)
Configure number of data lines and opcode used for writing.
Sourcepub fn set_addrmode(&mut self, val: Addrmode)
pub fn set_addrmode(&mut self, val: Addrmode)
Addressing mode.
Sourcepub fn set_dpmenable(&mut self, val: bool)
pub fn set_dpmenable(&mut self, val: bool)
Enable deep power-down mode (DPM) feature.
Sourcepub fn set_ppsize(&mut self, val: Ppsize)
pub fn set_ppsize(&mut self, val: Ppsize)
Page size for commands PP, PP2O, PP4O and PP4IO.
Trait Implementations§
impl Copy for Ifconfig0
impl Eq for Ifconfig0
impl StructuralPartialEq for Ifconfig0
Auto Trait Implementations§
impl Freeze for Ifconfig0
impl RefUnwindSafe for Ifconfig0
impl Send for Ifconfig0
impl Sync for Ifconfig0
impl Unpin for Ifconfig0
impl UnwindSafe for Ifconfig0
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)