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