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