#[repr(u8)]pub enum P1cfgDirection {
DIR0 = 0,
DIR1 = 1,
DIR2 = 2,
DIR3 = 3,
}Variants§
DIR0 = 0
Endpoint or index-and-data: bidirectional (normal). Mailbox Single: unenforced. Mailbox Split or Mailbox Shared: bidirectional.
DIR1 = 1
Endpoint or index-and-data: ignore read. Mailbox Single: write only. Mailbox Split or Mailbox Shared: ignore read.
DIR2 = 2
Endpoint or index-and-data: ignore write. Mailbox Single: read only. Mailbox Split or Mailbox Shared: ignore write.
DIR3 = 3
Endpoint or index-and-data: Ignore both. Mailbox Single: ignore both. Mailbox Split or Mailbox Shared: ignore both.
Implementations§
Trait Implementations§
Source§impl Clone for P1cfgDirection
impl Clone for P1cfgDirection
Source§fn clone(&self) -> P1cfgDirection
fn clone(&self) -> P1cfgDirection
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 P1cfgDirection
impl Debug for P1cfgDirection
Source§impl From<P1cfgDirection> for u8
impl From<P1cfgDirection> for u8
Source§fn from(val: P1cfgDirection) -> u8
fn from(val: P1cfgDirection) -> u8
Converts to this type from the input type.
Source§impl From<u8> for P1cfgDirection
impl From<u8> for P1cfgDirection
Source§fn from(val: u8) -> P1cfgDirection
fn from(val: u8) -> P1cfgDirection
Converts to this type from the input type.
Source§impl Ord for P1cfgDirection
impl Ord for P1cfgDirection
Source§fn cmp(&self, other: &P1cfgDirection) -> Ordering
fn cmp(&self, other: &P1cfgDirection) -> 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 P1cfgDirection
impl PartialEq for P1cfgDirection
Source§impl PartialOrd for P1cfgDirection
impl PartialOrd for P1cfgDirection
impl Copy for P1cfgDirection
impl Eq for P1cfgDirection
impl StructuralPartialEq for P1cfgDirection
Auto Trait Implementations§
impl Freeze for P1cfgDirection
impl RefUnwindSafe for P1cfgDirection
impl Send for P1cfgDirection
impl Sync for P1cfgDirection
impl Unpin for P1cfgDirection
impl UnwindSafe for P1cfgDirection
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