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: &'d mut P,
clk_pin: &'d mut CP,
bit_order: BitPackOrder,
timeout_ticks: Option<u16>,
) -> Result<ParlIoRx<'d, Dm>, Error>where
P: RxPins + ConfigurePins,
CP: RxClkPin,
pub fn with_config<P, CP>(
self,
rx_pins: &'d mut P,
clk_pin: &'d mut CP,
bit_order: BitPackOrder,
timeout_ticks: Option<u16>,
) -> Result<ParlIoRx<'d, Dm>, Error>where
P: RxPins + ConfigurePins,
CP: RxClkPin,
Configure RX to use the given pins and settings