#[repr(u8)]pub enum P0SingleFlashChipSelect {
P0_SINGLE_FLASH_CHIP_SELECT0 = 0,
P0_SINGLE_FLASH_CHIP_SELECT1 = 1,
}Variants§
P0_SINGLE_FLASH_CHIP_SELECT0 = 0
Enables output to CS0 as the active chip.
P0_SINGLE_FLASH_CHIP_SELECT1 = 1
Enables output to CS1 as the active chip.
Implementations§
Trait Implementations§
Source§impl Clone for P0SingleFlashChipSelect
impl Clone for P0SingleFlashChipSelect
Source§fn clone(&self) -> P0SingleFlashChipSelect
fn clone(&self) -> P0SingleFlashChipSelect
Returns a duplicate 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 moreSource§impl Debug for P0SingleFlashChipSelect
impl Debug for P0SingleFlashChipSelect
Source§impl From<P0SingleFlashChipSelect> for u8
impl From<P0SingleFlashChipSelect> for u8
Source§fn from(val: P0SingleFlashChipSelect) -> u8
fn from(val: P0SingleFlashChipSelect) -> u8
Converts to this type from the input type.
Source§impl From<u8> for P0SingleFlashChipSelect
impl From<u8> for P0SingleFlashChipSelect
Source§fn from(val: u8) -> P0SingleFlashChipSelect
fn from(val: u8) -> P0SingleFlashChipSelect
Converts to this type from the input type.
Source§impl Ord for P0SingleFlashChipSelect
impl Ord for P0SingleFlashChipSelect
Source§fn cmp(&self, other: &P0SingleFlashChipSelect) -> Ordering
fn cmp(&self, other: &P0SingleFlashChipSelect) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for P0SingleFlashChipSelect
impl PartialEq for P0SingleFlashChipSelect
Source§impl PartialOrd for P0SingleFlashChipSelect
impl PartialOrd for P0SingleFlashChipSelect
impl Copy for P0SingleFlashChipSelect
impl Eq for P0SingleFlashChipSelect
impl StructuralPartialEq for P0SingleFlashChipSelect
Auto Trait Implementations§
impl Freeze for P0SingleFlashChipSelect
impl RefUnwindSafe for P0SingleFlashChipSelect
impl Send for P0SingleFlashChipSelect
impl Sync for P0SingleFlashChipSelect
impl Unpin for P0SingleFlashChipSelect
impl UnwindSafe for P0SingleFlashChipSelect
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