pub enum FRXTH {
Half = 0,
Quarter = 1,
}
Expand description
FIFO reception threshold This bit is used to set the threshold of the RXFIFO that triggers an RXNE event Note: This bit is not used in I2S mode.
Value on reset: 0
Variants§
Half = 0
0: RXNE event is generated if the FIFO level is greater than or equal to 1/2 (16-bit)
Quarter = 1
1: RXNE event is generated if the FIFO level is greater than or equal to 1/4 (8-bit)
Trait Implementations§
impl Copy for FRXTH
impl Eq for FRXTH
impl StructuralPartialEq for FRXTH
Auto Trait Implementations§
impl Freeze for FRXTH
impl RefUnwindSafe for FRXTH
impl Send for FRXTH
impl Sync for FRXTH
impl Unpin for FRXTH
impl UnwindSafe for FRXTH
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more