pub struct RxFifoConfig {
pub mode: RxFifoMode,
pub watermark: u8,
}Expand description
Denotes a RX FIFO configuration
Fields§
§mode: RxFifoModeFIFO mode
watermark: u8Denotes queue fullness required to trigger a corresponding interrupt
Any value greater than 64 is interpreted as 64; 0 means that interrupt is disabled
Trait Implementations§
Source§impl Clone for RxFifoConfig
impl Clone for RxFifoConfig
Source§fn clone(&self) -> RxFifoConfig
fn clone(&self) -> RxFifoConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RxFifoConfig
Source§impl Default for RxFifoConfig
impl Default for RxFifoConfig
Source§fn default() -> RxFifoConfig
fn default() -> RxFifoConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RxFifoConfig
impl RefUnwindSafe for RxFifoConfig
impl Send for RxFifoConfig
impl Sync for RxFifoConfig
impl Unpin for RxFifoConfig
impl UnsafeUnpin for RxFifoConfig
impl UnwindSafe for RxFifoConfig
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