pub enum RXONLY {
FullDuplex = 0,
OutputDisabled = 1,
}
Expand description
Receive only mode enabled. This bit enables simplex communication using a single unidirectional line to receive data exclusively. Keep BIDIMODE bit clear when receive only mode is active.This bit is also useful in a multislave system in which this particular slave is not accessed, the output from the accessed slave is not corrupted. Note: This bit is not used in I2S mode.
Value on reset: 0
Variants§
FullDuplex = 0
0: Full duplex (Transmit and receive)
OutputDisabled = 1
1: Output disabled (Receive-only mode)
Trait Implementations§
impl Copy for RXONLY
impl Eq for RXONLY
impl StructuralPartialEq for RXONLY
Auto Trait Implementations§
impl Freeze for RXONLY
impl RefUnwindSafe for RXONLY
impl Send for RXONLY
impl Sync for RXONLY
impl Unpin for RXONLY
impl UnwindSafe for RXONLY
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