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
RX channel creator for the RMT peripheral.
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,
Configures the RX channel.
§Errors
ConfigError::MemoryBlockNotAvailable, ConfigError::MemsizeOutOfRange, or
ConfigError::IdleThresholdOutOfRange under the same conditions as
Channel<Rx>::apply_config.
Implementors§
impl<'ch, Dm> RxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 0>where
Dm: DriverMode,
Available on crate feature
unstable only.impl<'ch, Dm> RxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 1>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.impl<'ch, Dm> RxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 3>where
Dm: DriverMode,
Available on crate feature
unstable only.