pub trait RxChannelCreatorAsync<'d, T, P>where
P: PeripheralInput,
T: RxChannelAsync,{
// Provided method
fn configure(
self,
pin: impl Peripheral<P = P> + 'd,
config: RxChannelConfig,
) -> Result<T, Error>
where Self: Sized { ... }
}
Available on crate feature
unstable
only.Expand description
Creates a RX channel in async mode
Provided Methods§
Sourcefn configure(
self,
pin: impl Peripheral<P = P> + 'd,
config: RxChannelConfig,
) -> Result<T, Error>where
Self: Sized,
fn configure(
self,
pin: impl Peripheral<P = P> + 'd,
config: RxChannelConfig,
) -> Result<T, Error>where
Self: Sized,
Configure the RX channel