pub enum LoopMode {
    Infinite,
    InfiniteWithInterrupt(u16),
    Finite(u16),
}Expand description
Loop mode for continuous transmission
Depending on hardware support, the loopcount interrupt and automatic stopping of the
transmission upon reaching a specified loop count may not be available.
Variants§
Infinite
Repeat until explicitly stopped.
InfiniteWithInterrupt(u16)
Repeat until explicitly stopped, and assert the loop count interrupt upon completing the given number of iterations.
Loop counts larger than MAX_TX_LOOPCOUNT will result in an error.
Finite(u16)
Repeat for the given number of iterations, and also set the loop count interrupt flag upon completion.
If the iteration count is 0, the transaction will complete immediately without starting the transmitter.
Loop counts larger than MAX_TX_LOOPCOUNT will result in an error.
Trait Implementations§
impl Copy for LoopMode
Available on crate feature 
unstable only.impl Eq for LoopMode
Available on crate feature 
unstable only.impl StructuralPartialEq for LoopMode
Available on crate feature 
unstable only.Auto Trait Implementations§
impl Freeze for LoopMode
impl RefUnwindSafe for LoopMode
impl Send for LoopMode
impl Sync for LoopMode
impl Unpin for LoopMode
impl UnwindSafe for LoopMode
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)