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
impl Copy for MemType
impl Eq for MemType
impl StructuralPartialEq for MemType
Auto Trait Implementations§
impl Freeze for MemType
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
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
)