#[repr(u8)]pub enum P4cfgErrorign {
ERRORIGIN0 = 0,
ERRORIGIN1 = 1,
}Variants§
ERRORIGIN0 = 0
The host receives an error when trying to perform a read or write that is blocked by PnCFG[DIRECTION].
ERRORIGIN1 = 1
Ignored silently. Reads return FFh for each byte if ignored (host property). In either case, PnSTAT[INTERR] bit becomes 1, causing an interrupt if masked for it.
Implementations§
Source§impl P4cfgErrorign
impl P4cfgErrorign
Trait Implementations§
Source§impl Clone for P4cfgErrorign
impl Clone for P4cfgErrorign
Source§fn clone(&self) -> P4cfgErrorign
fn clone(&self) -> P4cfgErrorign
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 P4cfgErrorign
impl Debug for P4cfgErrorign
Source§impl From<P4cfgErrorign> for u8
impl From<P4cfgErrorign> for u8
Source§fn from(val: P4cfgErrorign) -> u8
fn from(val: P4cfgErrorign) -> u8
Converts to this type from the input type.
Source§impl From<u8> for P4cfgErrorign
impl From<u8> for P4cfgErrorign
Source§fn from(val: u8) -> P4cfgErrorign
fn from(val: u8) -> P4cfgErrorign
Converts to this type from the input type.
Source§impl Ord for P4cfgErrorign
impl Ord for P4cfgErrorign
Source§fn cmp(&self, other: &P4cfgErrorign) -> Ordering
fn cmp(&self, other: &P4cfgErrorign) -> 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 P4cfgErrorign
impl PartialEq for P4cfgErrorign
Source§impl PartialOrd for P4cfgErrorign
impl PartialOrd for P4cfgErrorign
impl Copy for P4cfgErrorign
impl Eq for P4cfgErrorign
impl StructuralPartialEq for P4cfgErrorign
Auto Trait Implementations§
impl Freeze for P4cfgErrorign
impl RefUnwindSafe for P4cfgErrorign
impl Send for P4cfgErrorign
impl Sync for P4cfgErrorign
impl Unpin for P4cfgErrorign
impl UnwindSafe for P4cfgErrorign
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