pub struct StateMachineTx<'d, PIO: Instance, const SM: usize> { /* private fields */ }Expand description
Type representing a state machine TX FIFO.
Implementations§
Source§impl<'d, PIO: Instance, const SM: usize> StateMachineTx<'d, PIO, SM>
impl<'d, PIO: Instance, const SM: usize> StateMachineTx<'d, PIO, SM>
Sourcepub fn overflowed(&self) -> bool
pub fn overflowed(&self) -> bool
Check if FIFO overflowed.
Sourcepub fn wait_push<'a>(&'a mut self, value: u32) -> FifoOutFuture<'a, 'd, PIO, SM> ⓘ
pub fn wait_push<'a>(&'a mut self, value: u32) -> FifoOutFuture<'a, 'd, PIO, SM> ⓘ
Wait until FIFO is ready for writing.
Sourcepub fn dreq(&self) -> TreqSel
pub fn dreq(&self) -> TreqSel
Get the Data Request value for the TX FIFO.
This value can be used to configure DMA channel pacing.
Sourcepub fn fifo_address(&self) -> *mut u32
pub fn fifo_address(&self) -> *mut u32
Auto Trait Implementations§
impl<'d, PIO, const SM: usize> !UnwindSafe for StateMachineTx<'d, PIO, SM>
impl<'d, PIO, const SM: usize> Freeze for StateMachineTx<'d, PIO, SM>
impl<'d, PIO, const SM: usize> RefUnwindSafe for StateMachineTx<'d, PIO, SM>
impl<'d, PIO, const SM: usize> Send for StateMachineTx<'d, PIO, SM>
impl<'d, PIO, const SM: usize> Sync for StateMachineTx<'d, PIO, SM>
impl<'d, PIO, const SM: usize> Unpin for StateMachineTx<'d, PIO, SM>
impl<'d, PIO, const SM: usize> UnsafeUnpin for StateMachineTx<'d, PIO, SM>
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