Enum stm32_metapac::octospi::vals::MemType
#[repr(u8)]pub enum MemType {
MICRON = 0,
MACRONIX = 1,
B_STANDARD = 2,
MACRONIXRAM = 3,
HYPERBUSMEMORY = 4,
HYPERBUSREGISTER = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
MICRON = 0
Micron mode, D0/D1 ordering in DTR 8-data-bit mode. Regular-command protocol in Single-, Dual-, Quad- and Octal-SPI modes.
MACRONIX = 1
Macronix mode, D1/D0 ordering in DTR 8-data-bit mode. Regular-command protocol in Single-, Dual-, Quad- and Octal-SPI modes.
B_STANDARD = 2
Standard mode
MACRONIXRAM = 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.
HYPERBUSMEMORY = 4
HyperBus memory mode, the protocol follows the HyperBus specification. 8-data-bit DTR mode must be selected.
HYPERBUSREGISTER = 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 MemType
impl Ord for MemType
§impl PartialOrd for MemType
impl PartialOrd for MemType
§fn partial_cmp(&self, other: &MemType) -> Option<Ordering>
fn partial_cmp(&self, other: &MemType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for MemType
impl Eq for MemType
impl StructuralEq for MemType
impl StructuralPartialEq for MemType
Auto Trait Implementations§
impl RefUnwindSafe for MemType
impl Send for MemType
impl Sync for MemType
impl Unpin for MemType
impl UnwindSafe for MemType
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