pub struct R(_);
Expand description
Register RXDAT
reader
Implementations§
source§impl R
impl R
sourcepub fn rxdat(&self) -> RXDAT_R
pub fn rxdat(&self) -> RXDAT_R
Bits 0:15 - Receiver Data. This contains the next piece of received data. The number of bits that are used depends on the LEN setting in TXCTL / TXDATCTL.
sourcepub fn rxssel0_n(&self) -> RXSSEL0_N_R
pub fn rxssel0_n(&self) -> RXSSEL0_N_R
Bit 16 - Slave Select for receive. This field allows the state of the SSEL0 pin to be saved along with received data. The value will reflect the SSEL0 pin for both master and slave operation. A zero indicates that a slave select is active. The actual polarity of each slave select pin is configured by the related SPOL bit in CFG.
sourcepub fn sot(&self) -> SOT_R
pub fn sot(&self) -> SOT_R
Bit 20 - Start of Transfer flag. This flag will be 1 if this is the first data after the SSELs went from deasserted to asserted (i.e., any previous transfer has ended). This information can be used to identify the first piece of data in cases where the transfer length is greater than 16 bit.