pub enum HDDIR {
Receiver = 0,
Transmitter = 1,
}Expand description
Rx/Tx direction at Half-duplex mode In Half-Duplex configuration the HDDIR bit establishes the Rx/Tx direction of the data transfer. This bit is ignored in Full-Duplex or any Simplex configuration.
Value on reset: 0
Variants§
Trait Implementations§
impl Copy for HDDIR
impl Eq for HDDIR
impl StructuralPartialEq for HDDIR
Auto Trait Implementations§
impl Freeze for HDDIR
impl RefUnwindSafe for HDDIR
impl Send for HDDIR
impl Sync for HDDIR
impl Unpin for HDDIR
impl UnwindSafe for HDDIR
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