#[repr(u16)]pub enum SpiIOMode {
Quad_IO = 65_535,
Quad_Output = 32_767,
Dual_IO = 16_383,
Dual_Output = 8_191,
One_IO = 4_095,
}
Expand description
Represents different SPI I/O modes used for communication with flash memory.
This enum defines the supported SPI I/O modes for flash memory. These modes
control how data is transferred between the device and the memory. The default
value is Quad_IO
, which uses four data lines for transfer.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SpiIOMode
impl<'de> Deserialize<'de> for SpiIOMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for SpiIOMode
Auto Trait Implementations§
impl Freeze for SpiIOMode
impl RefUnwindSafe for SpiIOMode
impl Send for SpiIOMode
impl Sync for SpiIOMode
impl Unpin for SpiIOMode
impl UnwindSafe for SpiIOMode
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