Enum Sitp
#[repr(u8)]pub enum Sitp {
SpiRisingEdge = 0,
SpiFallingEdge = 1,
ManchesterRising0 = 2,
ManchesterRising1 = 3,
}Variants§
SpiRisingEdge = 0
SPI with rising edge to strobe data.
SpiFallingEdge = 1
SPI with falling edge to strobe data.
ManchesterRising0 = 2
Manchester coded input on DATINy pin, rising edge = logic 0, falling edge = logic 1.
ManchesterRising1 = 3
Manchester coded input on DATINy pin, rising edge = logic 1, falling edge = logic 0.
Implementations§
Trait Implementations§
impl Copy for Sitp
impl Eq for Sitp
§impl Ord for Sitp
impl Ord for Sitp
1.21.0 (const: unstable) · 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
§impl PartialOrd for Sitp
impl PartialOrd for Sitp
impl StructuralPartialEq for Sitp
Auto Trait Implementations§
impl Freeze for Sitp
impl RefUnwindSafe for Sitp
impl Send for Sitp
impl Sync for Sitp
impl Unpin for Sitp
impl UnsafeUnpin for Sitp
impl UnwindSafe for Sitp
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