Enum stm32_metapac::xspi::vals::Mtyp
#[repr(u8)]pub enum Mtyp {
B_0X0 = 0,
B_0X1 = 1,
B_0X2 = 2,
B_0X3 = 3,
B_0X4 = 4,
B_0X5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
B_0X0 = 0
Micron mode, D0/D1 ordering in DTR 8-data-bit mode. Regular-command protocol in single-, dual-, quad-, and octal-SPI modes.
B_0X1 = 1
Macronix mode, D1/D0 ordering in DTR 8-data-bit mode. Regular-command protocol in single-, dual-, quad-, and octal-SPI modes.
B_0X2 = 2
Standard mode
B_0X3 = 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.
B_0X4 = 4
HyperBus memory mode, the protocol follows the HyperBus specification. 8-data-bit DTR mode must be selected.
B_0X5 = 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 Ord for Mtyp
impl Ord for Mtyp
§impl PartialOrd for Mtyp
impl PartialOrd for Mtyp
impl Copy for Mtyp
impl Eq 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 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
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
)