RxChannelCreator

Trait RxChannelCreator 

Source
pub trait RxChannelCreator<'ch, Dm>
where Dm: DriverMode,
{ // Required method fn configure_rx( self, pin: impl PeripheralInput<'ch>, config: RxChannelConfig, ) -> Result<Channel<'ch, Dm, Rx>, Error> where Self: Sized; }
Expand description

Creates a RX channel

Required Methods§

Source

fn configure_rx( self, pin: impl PeripheralInput<'ch>, config: RxChannelConfig, ) -> Result<Channel<'ch, Dm, Rx>, Error>
where Self: Sized,

Configure the RX channel

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.