#[repr(u8)]pub enum Pincfg {
SIN_IN_SOUT_OUT = 0,
SIN_BOTH_IN_OUT = 1,
SOUT_BOTH_IN_OUT = 2,
SOUT_IN_SIN_OUT = 3,
}Variants§
SIN_IN_SOUT_OUT = 0
SIN is used for input data; SOUT is used for output data
SIN_BOTH_IN_OUT = 1
SIN is used for both input and output data; only half-duplex serial transfers are supported
SOUT_BOTH_IN_OUT = 2
SOUT is used for both input and output data; only half-duplex serial transfers are supported
SOUT_IN_SIN_OUT = 3
SOUT is used for input data; SIN is used for output data
Implementations§
Trait Implementations§
Source§impl Ord for Pincfg
impl Ord for Pincfg
Source§impl PartialOrd for Pincfg
impl PartialOrd for Pincfg
impl Copy for Pincfg
impl Eq for Pincfg
impl StructuralPartialEq for Pincfg
Auto Trait Implementations§
impl Freeze for Pincfg
impl RefUnwindSafe for Pincfg
impl Send for Pincfg
impl Sync for Pincfg
impl Unpin for Pincfg
impl UnwindSafe for Pincfg
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