Trait TxChannelAsync

Source
pub trait TxChannelAsync {
    // Required method
    async fn transmit(&mut self, data: &[u32]) -> Result<(), Error>
       where Self: Sized;
}
Available on crate feature unstable only.
Expand description

TX channel in async mode

Required Methods§

Source

async fn transmit(&mut self, data: &[u32]) -> Result<(), Error>
where Self: Sized,

Start transmitting the given pulse code sequence. The length of sequence cannot exceed the size of the allocated RMT RAM.

Implementors§

Source§

impl<Raw> TxChannelAsync for Channel<Async, Raw>
where Raw: TxChannelInternal,