pub struct ChannelCreator<'ch, Dm, const CHANNEL: u8>where
Dm: DriverMode,{ /* private fields */ }Available on crate feature
unstable only.Expand description
RMT Channel Creator
Implementations§
Source§impl<Dm, const CHANNEL: u8> ChannelCreator<'_, Dm, CHANNEL>where
Dm: DriverMode,
impl<Dm, const CHANNEL: u8> ChannelCreator<'_, Dm, CHANNEL>where
Dm: DriverMode,
Sourcepub fn reborrow<'a>(&'a mut self) -> ChannelCreator<'a, Dm, CHANNEL>
pub fn reborrow<'a>(&'a mut self) -> ChannelCreator<'a, Dm, CHANNEL>
Reborrow this channel creator for a shorter lifetime 'a.
Trait Implementations§
Source§impl<'ch, Dm> RxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 0>where
Dm: DriverMode,
impl<'ch, Dm> RxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 0>where
Dm: DriverMode,
Source§fn configure_rx(
self,
pin: impl PeripheralInput<'ch>,
config: RxChannelConfig,
) -> Result<Channel<'ch, Dm, Rx>, Error>where
Self: Sized,
fn configure_rx(
self,
pin: impl PeripheralInput<'ch>,
config: RxChannelConfig,
) -> Result<Channel<'ch, Dm, Rx>, Error>where
Self: Sized,
Configure the RX channel
Source§impl<'ch, Dm> RxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 1>where
Dm: DriverMode,
impl<'ch, Dm> RxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 1>where
Dm: DriverMode,
Source§fn configure_rx(
self,
pin: impl PeripheralInput<'ch>,
config: RxChannelConfig,
) -> Result<Channel<'ch, Dm, Rx>, Error>where
Self: Sized,
fn configure_rx(
self,
pin: impl PeripheralInput<'ch>,
config: RxChannelConfig,
) -> Result<Channel<'ch, Dm, Rx>, Error>where
Self: Sized,
Configure the RX channel
Source§impl<'ch, Dm> RxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 2>where
Dm: DriverMode,
impl<'ch, Dm> RxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 2>where
Dm: DriverMode,
Source§fn configure_rx(
self,
pin: impl PeripheralInput<'ch>,
config: RxChannelConfig,
) -> Result<Channel<'ch, Dm, Rx>, Error>where
Self: Sized,
fn configure_rx(
self,
pin: impl PeripheralInput<'ch>,
config: RxChannelConfig,
) -> Result<Channel<'ch, Dm, Rx>, Error>where
Self: Sized,
Configure the RX channel
Source§impl<'ch, Dm> RxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 3>where
Dm: DriverMode,
impl<'ch, Dm> RxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 3>where
Dm: DriverMode,
Source§fn configure_rx(
self,
pin: impl PeripheralInput<'ch>,
config: RxChannelConfig,
) -> Result<Channel<'ch, Dm, Rx>, Error>where
Self: Sized,
fn configure_rx(
self,
pin: impl PeripheralInput<'ch>,
config: RxChannelConfig,
) -> Result<Channel<'ch, Dm, Rx>, Error>where
Self: Sized,
Configure the RX channel
Source§impl<'ch, Dm> TxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 0>where
Dm: DriverMode,
impl<'ch, Dm> TxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 0>where
Dm: DriverMode,
Source§fn configure_tx(
self,
pin: impl PeripheralOutput<'ch>,
config: TxChannelConfig,
) -> Result<Channel<'ch, Dm, Tx>, Error>where
Self: Sized,
fn configure_tx(
self,
pin: impl PeripheralOutput<'ch>,
config: TxChannelConfig,
) -> Result<Channel<'ch, Dm, Tx>, Error>where
Self: Sized,
Configure the TX channel
Source§impl<'ch, Dm> TxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 1>where
Dm: DriverMode,
impl<'ch, Dm> TxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 1>where
Dm: DriverMode,
Source§fn configure_tx(
self,
pin: impl PeripheralOutput<'ch>,
config: TxChannelConfig,
) -> Result<Channel<'ch, Dm, Tx>, Error>where
Self: Sized,
fn configure_tx(
self,
pin: impl PeripheralOutput<'ch>,
config: TxChannelConfig,
) -> Result<Channel<'ch, Dm, Tx>, Error>where
Self: Sized,
Configure the TX channel
Source§impl<'ch, Dm> TxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 2>where
Dm: DriverMode,
impl<'ch, Dm> TxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 2>where
Dm: DriverMode,
Source§fn configure_tx(
self,
pin: impl PeripheralOutput<'ch>,
config: TxChannelConfig,
) -> Result<Channel<'ch, Dm, Tx>, Error>where
Self: Sized,
fn configure_tx(
self,
pin: impl PeripheralOutput<'ch>,
config: TxChannelConfig,
) -> Result<Channel<'ch, Dm, Tx>, Error>where
Self: Sized,
Configure the TX channel
Source§impl<'ch, Dm> TxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 3>where
Dm: DriverMode,
impl<'ch, Dm> TxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 3>where
Dm: DriverMode,
Source§fn configure_tx(
self,
pin: impl PeripheralOutput<'ch>,
config: TxChannelConfig,
) -> Result<Channel<'ch, Dm, Tx>, Error>where
Self: Sized,
fn configure_tx(
self,
pin: impl PeripheralOutput<'ch>,
config: TxChannelConfig,
) -> Result<Channel<'ch, Dm, Tx>, Error>where
Self: Sized,
Configure the TX channel