pub trait RxChannelCreator<'ch, Dm>where
Dm: DriverMode,{
// Required method
fn configure_rx(
self,
config: &RxChannelConfig,
) -> Result<Channel<'ch, Dm, Rx>, ConfigError>
where Self: Sized;
}Expand description
Creates a RX channel
Required Methods§
Sourcefn configure_rx(
self,
config: &RxChannelConfig,
) -> Result<Channel<'ch, Dm, Rx>, ConfigError>where
Self: Sized,
fn configure_rx(
self,
config: &RxChannelConfig,
) -> Result<Channel<'ch, Dm, Rx>, ConfigError>where
Self: Sized,
Configure the RX channel
§Errors
Returns errors under the same conditions as Channel<Rx>::apply_config.
Implementors§
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, 3>where
Dm: DriverMode,
Available on crate feature
unstable only.