Enum Rxtxen
#[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§
impl Copy for Rxtxen
impl Eq for Rxtxen
§impl Ord for Rxtxen
impl Ord for Rxtxen
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
§impl PartialOrd for Rxtxen
impl PartialOrd for Rxtxen
impl StructuralPartialEq for Rxtxen
Auto Trait Implementations§
impl Forget for Rxtxen
impl Freeze for Rxtxen
impl Move for Rxtxen
impl RefUnwindSafe for Rxtxen
impl Send for Rxtxen
impl Sync for Rxtxen
impl Unpin for Rxtxen
impl UnsafeUnpin 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