#[repr(u8)]pub enum Tmod {
TX_AND_RX,
TX_ONLY,
RX_ONLY,
EEPROM_READ,
}
Variants§
TX_AND_RX
Both transmit and receive
TX_ONLY
Transmit only (not for FRF == 0, standard SPI mode)
RX_ONLY
Receive only (not for FRF == 0, standard SPI mode)
EEPROM_READ
EEPROM read mode (TX then RX; RX starts after control data TX’d)
Implementations§
Trait Implementations§
source§impl Ord for Tmod
impl Ord for Tmod
source§impl PartialEq<Tmod> for Tmod
impl PartialEq<Tmod> for Tmod
source§impl PartialOrd<Tmod> for Tmod
impl PartialOrd<Tmod> for Tmod
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Tmod
impl Eq for Tmod
impl StructuralEq for Tmod
impl StructuralPartialEq for Tmod
Auto Trait Implementations§
impl RefUnwindSafe for Tmod
impl Send for Tmod
impl Sync for Tmod
impl Unpin for Tmod
impl UnwindSafe for Tmod
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