pub struct ChannelCreator<'ch, Dm, const CHANNEL: u8>where
Dm: DriverMode,{ /* private fields */ }Expand description
RMT Channel Creator
Implementations§
Source§impl<'ch, Dm, const CHANNEL: u8> ChannelCreator<'ch, Dm, CHANNEL>where
Dm: DriverMode,
impl<'ch, Dm, const CHANNEL: u8> ChannelCreator<'ch, 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, const CHANNEL: u8> Debug for ChannelCreator<'ch, Dm, CHANNEL>where
Dm: DriverMode + Debug,
Available on crate feature unstable only.
impl<'ch, Dm, const CHANNEL: u8> Debug for ChannelCreator<'ch, Dm, CHANNEL>where
Dm: DriverMode + Debug,
Available on crate feature
unstable only.Source§impl<'ch, Dm> RxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 2>where
Dm: DriverMode,
Available on crate feature unstable only.
impl<'ch, Dm> RxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 2>where
Dm: DriverMode,
Available on crate feature
unstable only.Source§fn configure_rx(
self,
config: &RxChannelConfig,
) -> Result<Channel<'ch, Dm, Rx>, ConfigError>
fn configure_rx( self, config: &RxChannelConfig, ) -> Result<Channel<'ch, Dm, Rx>, ConfigError>
Configure the RX channel Read more
Source§impl<'ch, Dm> RxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 3>where
Dm: DriverMode,
Available on crate feature unstable only.
impl<'ch, Dm> RxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 3>where
Dm: DriverMode,
Available on crate feature
unstable only.Source§fn configure_rx(
self,
config: &RxChannelConfig,
) -> Result<Channel<'ch, Dm, Rx>, ConfigError>
fn configure_rx( self, config: &RxChannelConfig, ) -> Result<Channel<'ch, Dm, Rx>, ConfigError>
Configure the RX channel Read more
Source§impl<'ch, Dm> TxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 0>where
Dm: DriverMode,
Available on crate feature unstable only.
impl<'ch, Dm> TxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 0>where
Dm: DriverMode,
Available on crate feature
unstable only.Source§fn configure_tx(
self,
config: &TxChannelConfig,
) -> Result<Channel<'ch, Dm, Tx>, ConfigError>
fn configure_tx( self, config: &TxChannelConfig, ) -> Result<Channel<'ch, Dm, Tx>, ConfigError>
Configure the TX channel Read more
Source§impl<'ch, Dm> TxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 1>where
Dm: DriverMode,
Available on crate feature unstable only.
impl<'ch, Dm> TxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 1>where
Dm: DriverMode,
Available on crate feature
unstable only.Source§fn configure_tx(
self,
config: &TxChannelConfig,
) -> Result<Channel<'ch, Dm, Tx>, ConfigError>
fn configure_tx( self, config: &TxChannelConfig, ) -> Result<Channel<'ch, Dm, Tx>, ConfigError>
Configure the TX channel Read more