pub struct RxCreator<'d, Dm>where
Dm: DriverMode,{ /* private fields */ }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
Auto Trait Implementations§
impl<'d, Dm> Freeze for RxCreator<'d, Dm>
impl<'d, Dm> RefUnwindSafe for RxCreator<'d, Dm>where
Dm: RefUnwindSafe,
impl<'d, Dm> Send for RxCreator<'d, Dm>where
Dm: Send,
impl<'d, Dm> Sync for RxCreator<'d, Dm>where
Dm: Sync,
impl<'d, Dm> Unpin for RxCreator<'d, Dm>where
Dm: Unpin,
impl<'d, Dm> !UnwindSafe for RxCreator<'d, Dm>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more