#[repr(u8)]pub enum P2omflenTrans {
OOB = 0,
READ = 1,
WRITE = 2,
ERASE = 3,
}Variants§
OOB = 0
OOB: to host; Master: to host 32 (host reads with 32-bit address); SAF: Completion fail
READ = 1
Master: to host 64 (host reads w/64-bit address); MAF: read flash (location in RAM); SAF: completion with data
WRITE = 2
Master: from host 32 (host writes w/32-bit address); MAF: write flash (location in RAM); SAF: completion with no data
ERASE = 3
Master: from host 64 (host writes w/64-bit address); MAF: erase flash (sector in RAM)
Implementations§
Source§impl P2omflenTrans
impl P2omflenTrans
Trait Implementations§
Source§impl Clone for P2omflenTrans
impl Clone for P2omflenTrans
Source§fn clone(&self) -> P2omflenTrans
fn clone(&self) -> P2omflenTrans
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 P2omflenTrans
impl Debug for P2omflenTrans
Source§impl From<P2omflenTrans> for u8
impl From<P2omflenTrans> for u8
Source§fn from(val: P2omflenTrans) -> u8
fn from(val: P2omflenTrans) -> u8
Converts to this type from the input type.
Source§impl From<u8> for P2omflenTrans
impl From<u8> for P2omflenTrans
Source§fn from(val: u8) -> P2omflenTrans
fn from(val: u8) -> P2omflenTrans
Converts to this type from the input type.
Source§impl Ord for P2omflenTrans
impl Ord for P2omflenTrans
Source§fn cmp(&self, other: &P2omflenTrans) -> Ordering
fn cmp(&self, other: &P2omflenTrans) -> 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 P2omflenTrans
impl PartialEq for P2omflenTrans
Source§impl PartialOrd for P2omflenTrans
impl PartialOrd for P2omflenTrans
impl Copy for P2omflenTrans
impl Eq for P2omflenTrans
impl StructuralPartialEq for P2omflenTrans
Auto Trait Implementations§
impl Freeze for P2omflenTrans
impl RefUnwindSafe for P2omflenTrans
impl Send for P2omflenTrans
impl Sync for P2omflenTrans
impl Unpin for P2omflenTrans
impl UnwindSafe for P2omflenTrans
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