#[repr(u8)]pub enum Widthselect {
SingleBitSpi = 0,
DualOutput = 1,
QuadOutput = 2,
DualIo = 3,
QuadIo = 4,
DualCmd = 5,
QuadCmd = 6,
}
Expand description
Instruction Code, Address, Option Code and Data Width
Value on reset: 0
Variants§
SingleBitSpi = 0
0: Instruction: Single-bit SPI / Address-Option: Single-bit SPI / Data: Single-bit SPI
DualOutput = 1
1: Instruction: Single-bit SPI / Address-Option: Single-bit SPI / Data: Dual SPI
QuadOutput = 2
2: Instruction: Single-bit SPI / Address-Option: Single-bit SPI / Data: Quad SPI
DualIo = 3
3: Instruction: Single-bit SPI / Address-Option: Dual SPI / Data: Dual SPI
QuadIo = 4
4: Instruction: Single-bit SPI / Address-Option: Quad SPI / Data: Quad SPI
DualCmd = 5
5: Instruction: Dual SPI / Address-Option: Dual SPI / Data: Dual SPI
QuadCmd = 6
6: Instruction: Quad SPI / Address-Option: Quad SPI / Data: Quad SPI
Trait Implementations§
Source§impl Clone for Widthselect
impl Clone for Widthselect
Source§fn clone(&self) -> Widthselect
fn clone(&self) -> Widthselect
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Widthselect
impl Debug for Widthselect
Source§impl From<Widthselect> for u8
impl From<Widthselect> for u8
Source§fn from(variant: Widthselect) -> Self
fn from(variant: Widthselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Widthselect
impl PartialEq for Widthselect
impl Copy for Widthselect
impl Eq for Widthselect
impl IsEnum for Widthselect
impl StructuralPartialEq for Widthselect
Auto Trait Implementations§
impl Freeze for Widthselect
impl RefUnwindSafe for Widthselect
impl Send for Widthselect
impl Sync for Widthselect
impl Unpin for Widthselect
impl UnwindSafe for Widthselect
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