#[repr(u8)]pub enum Rxtxen {
DUPLEX = 0,
RX = 1,
TX = 2,
_RESERVED_3 = 3,
}Variants§
DUPLEX = 0
Enable both reception and transmission. Data will be written to the RXD.PTR address and data transmitted from the TXD.PTR address.
RX = 1
Enable reception, disable transmission. Data will be written to the RXD.PTR address.
TX = 2
Enable transmission, disable reception. Data will be transmitted from the TXD.PTR address.
_RESERVED_3 = 3
Implementations§
Trait Implementations§
Source§impl Ord for Rxtxen
impl Ord for Rxtxen
Source§impl PartialOrd for Rxtxen
impl PartialOrd for Rxtxen
impl Copy for Rxtxen
impl Eq for Rxtxen
impl StructuralPartialEq for Rxtxen
Auto Trait Implementations§
impl Freeze for Rxtxen
impl RefUnwindSafe for Rxtxen
impl Send for Rxtxen
impl Sync for Rxtxen
impl Unpin for Rxtxen
impl UnwindSafe for Rxtxen
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)