pub struct TxCreator<'d, Dm>where
Dm: DriverMode,{ /* private fields */ }Expand description
Creates a TX channel
Implementations§
Source§impl<'d, Dm> TxCreator<'d, Dm>where
Dm: DriverMode,
impl<'d, Dm> TxCreator<'d, Dm>where
Dm: DriverMode,
Sourcepub fn with_config<P, CP>(
self,
tx_pins: P,
clk_pin: CP,
config: TxConfig,
) -> Result<ParlIoTx<'d, Dm>, ConfigError>where
P: TxPins + ConfigurePins + 'd,
CP: TxClkPin + 'd,
pub fn with_config<P, CP>(
self,
tx_pins: P,
clk_pin: CP,
config: TxConfig,
) -> Result<ParlIoTx<'d, Dm>, ConfigError>where
P: TxPins + ConfigurePins + 'd,
CP: TxClkPin + 'd,
Configure TX to use the given pins and settings
Auto Trait Implementations§
impl<'d, Dm> Freeze for TxCreator<'d, Dm>
impl<'d, Dm> RefUnwindSafe for TxCreator<'d, Dm>where
Dm: RefUnwindSafe,
impl<'d, Dm> Send for TxCreator<'d, Dm>where
Dm: Send,
impl<'d, Dm> Sync for TxCreator<'d, Dm>where
Dm: Sync,
impl<'d, Dm> Unpin for TxCreator<'d, Dm>where
Dm: Unpin,
impl<'d, Dm> !UnwindSafe for TxCreator<'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