#[repr(u8)]pub enum P3omflenTrans {
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 P3omflenTrans
impl P3omflenTrans
Trait Implementations§
Source§impl Clone for P3omflenTrans
impl Clone for P3omflenTrans
Source§fn clone(&self) -> P3omflenTrans
fn clone(&self) -> P3omflenTrans
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 P3omflenTrans
impl Debug for P3omflenTrans
Source§impl From<P3omflenTrans> for u8
impl From<P3omflenTrans> for u8
Source§fn from(val: P3omflenTrans) -> u8
fn from(val: P3omflenTrans) -> u8
Converts to this type from the input type.
Source§impl From<u8> for P3omflenTrans
impl From<u8> for P3omflenTrans
Source§fn from(val: u8) -> P3omflenTrans
fn from(val: u8) -> P3omflenTrans
Converts to this type from the input type.
Source§impl Ord for P3omflenTrans
impl Ord for P3omflenTrans
Source§fn cmp(&self, other: &P3omflenTrans) -> Ordering
fn cmp(&self, other: &P3omflenTrans) -> 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 P3omflenTrans
impl PartialEq for P3omflenTrans
Source§impl PartialOrd for P3omflenTrans
impl PartialOrd for P3omflenTrans
impl Copy for P3omflenTrans
impl Eq for P3omflenTrans
impl StructuralPartialEq for P3omflenTrans
Auto Trait Implementations§
impl Freeze for P3omflenTrans
impl RefUnwindSafe for P3omflenTrans
impl Send for P3omflenTrans
impl Sync for P3omflenTrans
impl Unpin for P3omflenTrans
impl UnwindSafe for P3omflenTrans
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