TxChannelCreator

Trait TxChannelCreator 

Source
pub trait TxChannelCreator<'ch, Dm>
where Dm: DriverMode,
{ // Required method fn configure_tx( self, pin: impl PeripheralOutput<'ch>, config: TxChannelConfig, ) -> Result<Channel<'ch, Dm, Tx>, Error> where Self: Sized; }
Expand description

Creates a TX channel

Required Methods§

Source

fn configure_tx( self, pin: impl PeripheralOutput<'ch>, config: TxChannelConfig, ) -> Result<Channel<'ch, Dm, Tx>, Error>
where Self: Sized,

Configure the TX channel

Implementors§

Source§

impl<'ch, Dm> TxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 0>
where Dm: DriverMode,

Available on crate feature unstable only.
Source§

impl<'ch, Dm> TxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 1>
where Dm: DriverMode,

Available on crate feature unstable only.