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