pub trait TxChannelCreator<'d, Dm>where
Dm: DriverMode,{
type Raw: TxChannelInternal;
// Provided method
fn configure_tx(
self,
pin: impl PeripheralOutput<'d>,
config: TxChannelConfig,
) -> Result<Channel<Dm, Self::Raw>, Error>
where Self: Sized { ... }
}
Available on crate feature
unstable
only.Expand description
Creates a TX channel
Required Associated Types§
Provided Methods§
Sourcefn configure_tx(
self,
pin: impl PeripheralOutput<'d>,
config: TxChannelConfig,
) -> Result<Channel<Dm, Self::Raw>, Error>where
Self: Sized,
fn configure_tx(
self,
pin: impl PeripheralOutput<'d>,
config: TxChannelConfig,
) -> Result<Channel<Dm, Self::Raw>, Error>where
Self: Sized,
Configure the TX channel
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.