pub enum RXNE {
Empty = 0,
NotEmpty = 1,
}Expand description
Receive data register not empty (receivers) This bit is set by hardware when the received data is copied into the I2C_RXDR register, and is ready to be read. It is cleared when I2C_RXDR is read. Note: This bit is cleared by hardware when PE=0.
Value on reset: 0
Variants§
Empty = 0
0: The RXDR register is empty
NotEmpty = 1
1: Received data is copied into the RXDR register, and is ready to be read
Trait Implementations§
impl Copy for RXNE
impl Eq for RXNE
impl StructuralPartialEq for RXNE
Auto Trait Implementations§
impl Freeze for RXNE
impl RefUnwindSafe for RXNE
impl Send for RXNE
impl Sync for RXNE
impl Unpin for RXNE
impl UnwindSafe for RXNE
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