Struct esp32c6_hal::parl_io::TxTwoBits
source · pub struct TxTwoBits<'d, P0, P1> { /* private fields */ }
Expand description
Data pin configuration for 2 bit output mode
Implementations§
source§impl<'d, P0, P1> TxTwoBits<'d, P0, P1>where
P0: OutputPin,
P1: OutputPin,
impl<'d, P0, P1> TxTwoBits<'d, P0, P1>where P0: OutputPin, P1: OutputPin,
pub fn new( pin_p0: impl Peripheral<P = P0> + 'd, pin_p1: impl Peripheral<P = P1> + 'd ) -> TxTwoBits<'d, P0, P1>
Auto Trait Implementations§
impl<'d, P0, P1> RefUnwindSafe for TxTwoBits<'d, P0, P1>where P0: RefUnwindSafe, P1: RefUnwindSafe,
impl<'d, P0, P1> Send for TxTwoBits<'d, P0, P1>where P0: Send, P1: Send,
impl<'d, P0, P1> Sync for TxTwoBits<'d, P0, P1>where P0: Sync, P1: Sync,
impl<'d, P0, P1> Unpin for TxTwoBits<'d, P0, P1>where P0: Unpin, P1: Unpin,
impl<'d, P0, P1> !UnwindSafe for TxTwoBits<'d, P0, P1>
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