Enum stm32_metapac::octospi::vals::FunctionalMode
#[repr(u8)]pub enum FunctionalMode {
INDIRECTWRITE = 0,
INDIRECTREAD = 1,
AUTOSTATUSPOLLING = 2,
MEMORYMAPPED = 3,
}
Variants§
INDIRECTWRITE = 0
Indirect-write mode
INDIRECTREAD = 1
Indirect-read mode
AUTOSTATUSPOLLING = 2
Automatic status-polling mode
MEMORYMAPPED = 3
Memory-mapped mode
Implementations§
§impl FunctionalMode
impl FunctionalMode
pub const fn from_bits(val: u8) -> FunctionalMode
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for FunctionalMode
impl Clone for FunctionalMode
§fn clone(&self) -> FunctionalMode
fn clone(&self) -> FunctionalMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl From<FunctionalMode> for u8
impl From<FunctionalMode> for u8
§fn from(val: FunctionalMode) -> u8
fn from(val: FunctionalMode) -> u8
Converts to this type from the input type.
§impl From<u8> for FunctionalMode
impl From<u8> for FunctionalMode
§fn from(val: u8) -> FunctionalMode
fn from(val: u8) -> FunctionalMode
Converts to this type from the input type.
§impl Ord for FunctionalMode
impl Ord for FunctionalMode
§impl PartialEq for FunctionalMode
impl PartialEq for FunctionalMode
§impl PartialOrd for FunctionalMode
impl PartialOrd for FunctionalMode
impl Copy for FunctionalMode
impl Eq for FunctionalMode
impl StructuralPartialEq for FunctionalMode
Auto Trait Implementations§
impl Freeze for FunctionalMode
impl RefUnwindSafe for FunctionalMode
impl Send for FunctionalMode
impl Sync for FunctionalMode
impl Unpin for FunctionalMode
impl UnwindSafe for FunctionalMode
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
)