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; }
Available on crate feature unstable only.
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, 4>
where Dm: DriverMode,

Source§

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

Source§

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

Source§

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