#[non_exhaustive]pub struct RxConfig { /* private fields */ }Expand description
PARL_IO RX configuration
Implementations§
Source§impl RxConfig
 
impl RxConfig
Sourcepub fn with_frequency(self, frequency: Rate) -> Self
 
pub fn with_frequency(self, frequency: Rate) -> Self
Assign the given value to the frequency field.
Sourcepub fn with_bit_order(self, bit_order: BitPackOrder) -> Self
 
pub fn with_bit_order(self, bit_order: BitPackOrder) -> Self
Assign the given value to the bit_order field.
Sourcepub fn bit_order(&self) -> BitPackOrder
 
pub fn bit_order(&self) -> BitPackOrder
Configures the packing order to pack bits into 1 byte when data bus width is 4/2/1 bit.
Sourcepub fn with_timeout_ticks(self, timeout_ticks: u16) -> Self
 
pub fn with_timeout_ticks(self, timeout_ticks: u16) -> Self
Assign the given value to the timeout_ticks field.
Sourcepub fn with_timeout_ticks_none(self) -> Self
 
pub fn with_timeout_ticks_none(self) -> Self
Set the value of timeout_ticks to None.
Sourcepub fn timeout_ticks(&self) -> Option<u16>
 
pub fn timeout_ticks(&self) -> Option<u16>
RX threshold of a timeout counter. When the timeout is triggered, a GDMA ERR EOF signal will be generated and sent to the GDMA interface to indicate the end of the receiving
In units of AHB clock cycles.
Trait Implementations§
impl Copy for RxConfig
Available on crate feature 
unstable only.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)