Enum stm32_hal2::spi::ReceptionThresh
source · #[repr(u8)]
pub enum ReceptionThresh {
D16,
D8,
}
Expand description
FIFO reception threshold Sets SPI_CR2
register, FRXTH
field.
Variants§
D16
RXNE event is generated if the FIFO level is greater than or equal to 1/2 (16-bit)
D8
RXNE event is generated if the FIFO level is greater than or equal to 1/4 (8-bit)
Trait Implementations§
source§impl Clone for ReceptionThresh
impl Clone for ReceptionThresh
source§fn clone(&self) -> ReceptionThresh
fn clone(&self) -> ReceptionThresh
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 more