pub struct TxCreator<'d, Dm>where
Dm: DriverMode,{ /* private fields */ }
Available on crate feature
unstable
only.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: &'d mut P,
clk_pin: &'d mut CP,
idle_value: u16,
sample_edge: SampleEdge,
bit_order: BitPackOrder,
) -> Result<ParlIoTx<'d, Dm>, Error>where
P: TxPins + ConfigurePins,
CP: TxClkPin,
pub fn with_config<P, CP>(
self,
tx_pins: &'d mut P,
clk_pin: &'d mut CP,
idle_value: u16,
sample_edge: SampleEdge,
bit_order: BitPackOrder,
) -> Result<ParlIoTx<'d, Dm>, Error>where
P: TxPins + ConfigurePins,
CP: TxClkPin,
Configure TX to use the given pins and settings