pub struct RxCreator<'d, Dm>where
Dm: DriverMode,{ /* private fields */ }
Available on crate feature
unstable
only.Expand description
Creates a RX channel
Implementations§
Source§impl<'d, Dm> RxCreator<'d, Dm>where
Dm: DriverMode,
impl<'d, Dm> RxCreator<'d, Dm>where
Dm: DriverMode,
Sourcepub fn with_config<P, CP>(
self,
rx_pins: P,
clk_pin: CP,
config: RxConfig,
) -> Result<ParlIoRx<'d, Dm>, ConfigError>where
P: RxPins + ConfigurePins + 'd,
CP: RxClkPin + 'd,
pub fn with_config<P, CP>(
self,
rx_pins: P,
clk_pin: CP,
config: RxConfig,
) -> Result<ParlIoRx<'d, Dm>, ConfigError>where
P: RxPins + ConfigurePins + 'd,
CP: RxClkPin + 'd,
Configure RX to use the given pins and settings