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