Struct stm32l4xx_hal::dma::TxDma
source · [−]pub struct TxDma<PAYLOAD, TXCH> {
pub channel: TXCH,
/* private fields */
}
Expand description
DMA Transmitter
Fields
channel: TXCH
Implementations
sourceimpl TxDma<Tx<USART1>, C4>
impl TxDma<Tx<USART1>, C4>
sourcepub fn frame_sender<BUFFER, const N: usize>(
self
) -> FrameSender<BUFFER, Self, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
pub fn frame_sender<BUFFER, const N: usize>(
self
) -> FrameSender<BUFFER, Self, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
Creates a new DMA frame sender
sourceimpl TxDma<Tx<USART2>, C7>
impl TxDma<Tx<USART2>, C7>
sourcepub fn frame_sender<BUFFER, const N: usize>(
self
) -> FrameSender<BUFFER, Self, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
pub fn frame_sender<BUFFER, const N: usize>(
self
) -> FrameSender<BUFFER, Self, N> where
BUFFER: Sized + StableDeref<Target = DMAFrame<N>> + DerefMut + 'static,
Creates a new DMA frame sender
sourceimpl<PINS> TxDma<SpiPayload<SPI, PINS>, CHANNEL>
impl<PINS> TxDma<SpiPayload<SPI, PINS>, CHANNEL>
Auto Trait Implementations
impl<PAYLOAD, TXCH> RefUnwindSafe for TxDma<PAYLOAD, TXCH> where
PAYLOAD: RefUnwindSafe,
TXCH: RefUnwindSafe,
impl<PAYLOAD, TXCH> Send for TxDma<PAYLOAD, TXCH> where
PAYLOAD: Send,
TXCH: Send,
impl<PAYLOAD, TXCH> Sync for TxDma<PAYLOAD, TXCH> where
PAYLOAD: Sync,
TXCH: Sync,
impl<PAYLOAD, TXCH> Unpin for TxDma<PAYLOAD, TXCH> where
PAYLOAD: Unpin,
TXCH: Unpin,
impl<PAYLOAD, TXCH> UnwindSafe for TxDma<PAYLOAD, TXCH> where
PAYLOAD: UnwindSafe,
TXCH: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more