#[repr(transparent)]pub struct DirectRx(pub u32);
Expand description
Receive FIFO for direct mode
Tuple Fields§
§0: u32
Implementations§
Source§impl DirectRx
impl DirectRx
Sourcepub const fn direct_rx(&self) -> u16
pub const fn direct_rx(&self) -> u16
With each byte clocked out on the serial interface, one byte will simultaneously be clocked in, and will appear in this FIFO. The serial interface will stall when this FIFO is full, to avoid dropping data. When 16-bit data is pushed into the TX FIFO, the corresponding RX FIFO push will also contain 16 bits of data. The least-significant byte is the first one received.
Sourcepub fn set_direct_rx(&mut self, val: u16)
pub fn set_direct_rx(&mut self, val: u16)
With each byte clocked out on the serial interface, one byte will simultaneously be clocked in, and will appear in this FIFO. The serial interface will stall when this FIFO is full, to avoid dropping data. When 16-bit data is pushed into the TX FIFO, the corresponding RX FIFO push will also contain 16 bits of data. The least-significant byte is the first one received.