Skip to main content

RxChannelCreator

Trait RxChannelCreator 

Source
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§

Source

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§

Source§

impl<'ch, Dm> RxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 2>
where Dm: DriverMode,

Available on crate feature unstable only.
Source§

impl<'ch, Dm> RxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 3>
where Dm: DriverMode,

Available on crate feature unstable only.