Type Definition lpc81x_pac::lpc810::spi0::txdatctl::RXIGNORE_W
source · pub type RXIGNORE_W<'a, const O: u8> = BitWriter<'a, u32, TXDATCTL_SPEC, RXIGNORE_A, O>;
Expand description
Field RXIGNORE
writer - 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.
Implementations§
source§impl<'a, const O: u8> RXIGNORE_W<'a, O>
impl<'a, const O: u8> RXIGNORE_W<'a, O>
sourcepub fn read_received_data(self) -> &'a mut W
pub fn read_received_data(self) -> &'a mut W
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.
sourcepub fn ignore_received_data(self) -> &'a mut W
pub fn ignore_received_data(self) -> &'a mut W
Received data is ignored, allowing transmission without reading unneeded received data. No receiver flags are generated.