Enum lpc81x_pac::lpc812::spi0::txdatctl::RXIGNORE_A
source · pub enum RXIGNORE_A {
READ_RECEIVED_DATA,
IGNORE_RECEIVED_DATA,
}
Expand description
Receive Ignore. This allows data to be transmitted using the SPI without the need to read unneeded data from the receiver.Setting this bit simplifies the transmit process and can be used with the DMA.
Value on reset: 0
Variants§
READ_RECEIVED_DATA
0: Received data must be read in order to allow transmission to progress. In slave mode, an overrun error will occur if received data is not read before new data is received.
IGNORE_RECEIVED_DATA
1: Received data is ignored, allowing transmission without reading unneeded received data. No receiver flags are generated.
Trait Implementations§
source§impl Clone for RXIGNORE_A
impl Clone for RXIGNORE_A
source§fn clone(&self) -> RXIGNORE_A
fn clone(&self) -> RXIGNORE_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RXIGNORE_A
impl Debug for RXIGNORE_A
source§impl From<RXIGNORE_A> for bool
impl From<RXIGNORE_A> for bool
source§fn from(variant: RXIGNORE_A) -> Self
fn from(variant: RXIGNORE_A) -> Self
Converts to this type from the input type.