Enum Mtyp
#[repr(u8)]pub enum Mtyp {
B0x0 = 0,
B0x1 = 1,
B0x2 = 2,
B0x3 = 3,
B0x4 = 4,
B0x5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}Variants§
B0x0 = 0
Micron mode, D0/D1 ordering in DTR 8-data-bit mode. Regular-command protocol in single-, dual-, quad-, and octal-SPI modes.
B0x1 = 1
Macronix mode, D1/D0 ordering in DTR 8-data-bit mode. Regular-command protocol in single-, dual-, quad-, and octal-SPI modes.
B0x2 = 2
Standard mode
B0x3 = 3
Macronix RAM mode, D1/D0 ordering in DTR 8-data-bit mode. Regular-command protocol in single-, dual-, quad-, and octal-SPI modes with dedicated address mapping.
B0x4 = 4
HyperBus memory mode, the protocol follows the HyperBus specification. 8-data-bit DTR mode must be selected.
B0x5 = 5
HyperBus register mode, addressing register space. The memory-mapped accesses in this mode must be non-cacheable, or indirect read/write modes must be used.
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
impl Copy for Mtyp
impl Eq for Mtyp
§impl Ord for Mtyp
impl Ord for Mtyp
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Mtyp
impl PartialOrd for Mtyp
impl StructuralPartialEq for Mtyp
Auto Trait Implementations§
impl Freeze for Mtyp
impl RefUnwindSafe for Mtyp
impl Send for Mtyp
impl Sync for Mtyp
impl Unpin for Mtyp
impl UnsafeUnpin for Mtyp
impl UnwindSafe for Mtyp
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