#[repr(u8)]pub enum RXPLVL {
ZeroFrames = 0,
OneFrame = 1,
TwoFrames = 2,
ThreeFrames = 3,
}Expand description
RxFIFO packing level When RXWNE=0 and data size is set up to 16-bit, the value gives number of remaining data frames persisting at RxFIFO. Note: (*): Optional value when data size is set up to 8-bit only. When data size is greater than 16-bit, these bits are always read as 00. In that consequence, the single data frame received at the FIFO cannot be detected neither by RWNE nor by RXPLVL bits if data size is set from 17 to 24 bits. The user then must apply other methods like TSIZE 0 or FTHLV=0.
Value on reset: 0
Variants§
ZeroFrames = 0
0: Zero frames beyond packing ratio available
OneFrame = 1
1: One frame beyond packing ratio available
TwoFrames = 2
2: Two frame beyond packing ratio available
ThreeFrames = 3
3: Three frame beyond packing ratio available
Trait Implementations§
impl Copy for RXPLVL
impl Eq for RXPLVL
impl IsEnum for RXPLVL
impl StructuralPartialEq for RXPLVL
Auto Trait Implementations§
impl Freeze for RXPLVL
impl RefUnwindSafe for RXPLVL
impl Send for RXPLVL
impl Sync for RXPLVL
impl Unpin for RXPLVL
impl UnwindSafe for RXPLVL
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