#[repr(u8)]pub enum MaskOption {
MASK_OPTION_0 = 0,
MASK_OPTION_1 = 1,
MASK_OPTION_2 = 2,
MASK_OPTION_3 = 3,
}Variants§
MASK_OPTION_0 = 0
Writing to memory (OCRAM or external DDR) from first completely frame, when using this option, the CSI_ENABLE should be 1.
MASK_OPTION_1 = 1
Writing to memory when CSI_ENABLE is 1.
MASK_OPTION_2 = 2
Writing to memory from second completely frame, when using this option, the CSI_ENABLE should be 1.
MASK_OPTION_3 = 3
Writing to memory when data comes in, not matter the CSI_ENABLE is 1 or 0.
Implementations§
Source§impl MaskOption
impl MaskOption
Trait Implementations§
Source§impl Clone for MaskOption
impl Clone for MaskOption
Source§fn clone(&self) -> MaskOption
fn clone(&self) -> MaskOption
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 MaskOption
impl Debug for MaskOption
Source§impl From<MaskOption> for u8
impl From<MaskOption> for u8
Source§fn from(val: MaskOption) -> u8
fn from(val: MaskOption) -> u8
Converts to this type from the input type.
Source§impl From<u8> for MaskOption
impl From<u8> for MaskOption
Source§fn from(val: u8) -> MaskOption
fn from(val: u8) -> MaskOption
Converts to this type from the input type.
Source§impl Ord for MaskOption
impl Ord for MaskOption
Source§fn cmp(&self, other: &MaskOption) -> Ordering
fn cmp(&self, other: &MaskOption) -> 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 MaskOption
impl PartialEq for MaskOption
Source§impl PartialOrd for MaskOption
impl PartialOrd for MaskOption
impl Copy for MaskOption
impl Eq for MaskOption
impl StructuralPartialEq for MaskOption
Auto Trait Implementations§
impl Freeze for MaskOption
impl RefUnwindSafe for MaskOption
impl Send for MaskOption
impl Sync for MaskOption
impl Unpin for MaskOption
impl UnwindSafe for MaskOption
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