pub struct RxTwoBits<'d> { /* private fields */ }
Available on crate feature
unstable
only.Expand description
Data pin configuration for 2 bit input mode
Implementations§
Source§impl<'d> RxTwoBits<'d>
impl<'d> RxTwoBits<'d>
Sourcepub fn new(
pin_p0: impl Peripheral<P = impl PeripheralInput> + 'd,
pin_p1: impl Peripheral<P = impl PeripheralInput> + 'd,
) -> Self
pub fn new( pin_p0: impl Peripheral<P = impl PeripheralInput> + 'd, pin_p1: impl Peripheral<P = impl PeripheralInput> + 'd, ) -> Self
Create a new RX pin