Enum stm32_metapac::octospi::vals::FlashSelect
#[repr(u8)]pub enum FlashSelect {
FLASHONE = 0,
FLASHTWO = 1,
}
Variants§
FLASHONE = 0
FLASH 1 selected (data exchanged over IO[3:0])
FLASHTWO = 1
FLASH 2 selected (data exchanged over IO[7:4])
Implementations§
§impl FlashSelect
impl FlashSelect
pub const fn from_bits(val: u8) -> FlashSelect
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for FlashSelect
impl Clone for FlashSelect
§fn clone(&self) -> FlashSelect
fn clone(&self) -> FlashSelect
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<FlashSelect> for u8
impl From<FlashSelect> for u8
§fn from(val: FlashSelect) -> u8
fn from(val: FlashSelect) -> u8
Converts to this type from the input type.
§impl From<u8> for FlashSelect
impl From<u8> for FlashSelect
§fn from(val: u8) -> FlashSelect
fn from(val: u8) -> FlashSelect
Converts to this type from the input type.
§impl Ord for FlashSelect
impl Ord for FlashSelect
§impl PartialEq for FlashSelect
impl PartialEq for FlashSelect
§impl PartialOrd for FlashSelect
impl PartialOrd for FlashSelect
impl Copy for FlashSelect
impl Eq for FlashSelect
impl StructuralPartialEq for FlashSelect
Auto Trait Implementations§
impl Freeze for FlashSelect
impl RefUnwindSafe for FlashSelect
impl Send for FlashSelect
impl Sync for FlashSelect
impl Unpin for FlashSelect
impl UnwindSafe for FlashSelect
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
)