pub trait RxChannelCreator<'d, Dm>where
Dm: DriverMode,{
type Raw: RxChannelInternal;
// Provided method
fn configure_rx(
self,
pin: impl PeripheralInput<'d>,
config: RxChannelConfig,
) -> Result<Channel<Dm, Self::Raw>, Error>
where Self: Sized { ... }
}
Available on crate feature
unstable
only.Expand description
Creates a RX channel
Required Associated Types§
Provided Methods§
Sourcefn configure_rx(
self,
pin: impl PeripheralInput<'d>,
config: RxChannelConfig,
) -> Result<Channel<Dm, Self::Raw>, Error>where
Self: Sized,
fn configure_rx(
self,
pin: impl PeripheralInput<'d>,
config: RxChannelConfig,
) -> Result<Channel<Dm, Self::Raw>, Error>where
Self: Sized,
Configure the RX 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.