#[non_exhaustive]pub struct RxConfig { /* private fields */ }Expand description
UHCI Rx Configuration
Implementations§
Source§impl RxConfig
 
impl RxConfig
Sourcepub fn with_chunk_limit(self, chunk_limit: u16) -> Self
 
pub fn with_chunk_limit(self, chunk_limit: u16) -> Self
Assign the given value to the chunk_limit field.
Sourcepub fn chunk_limit(&self) -> u16
 
pub fn chunk_limit(&self) -> u16
The limit of how much to read in a single read call. It cannot be higher than the dma buffer size, otherwise uart/dma/uhci will freeze. It cannot exceed 4095 (12 bits), above this value it will simply also split the readings
Trait Implementations§
impl Copy for RxConfig
Auto Trait Implementations§
impl Freeze for RxConfig
impl RefUnwindSafe for RxConfig
impl Send for RxConfig
impl Sync for RxConfig
impl Unpin for RxConfig
impl UnwindSafe for RxConfig
Blanket Implementations§
§impl<T> Any for Twhere
    T: 'static + ?Sized,
 
impl<T> Any for Twhere
    T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
    T: ?Sized,
 
impl<T> Borrow<T> for Twhere
    T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
 
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)