pub struct IdlePdPhy<'d, T: Instance> { /* private fields */ }Expand description
Power Delivery (PD) PHY with PD communication disabled, created by
Ucpd::split_idle_pd_phy.
Implementations§
Source§impl<'d, T: Instance> IdlePdPhy<'d, T>
impl<'d, T: Instance> IdlePdPhy<'d, T>
Sourcepub fn activate(&mut self, cc_sel: CcSel) -> ActivePdPhy<'_, 'd, T>
pub fn activate(&mut self, cc_sel: CcSel) -> ActivePdPhy<'_, 'd, T>
Enables PD communication on the given CC line.
PD reception is disabled again when the returned ActivePdPhy is dropped.
Auto Trait Implementations§
impl<'d, T> !UnwindSafe for IdlePdPhy<'d, T>
impl<'d, T> Forget for IdlePdPhy<'d, T>
impl<'d, T> Freeze for IdlePdPhy<'d, T>
impl<'d, T> Move for IdlePdPhy<'d, T>
impl<'d, T> RefUnwindSafe for IdlePdPhy<'d, T>where
PdPhy<'d, T>: RefUnwindSafe,
impl<'d, T> Send for IdlePdPhy<'d, T>
impl<'d, T> Sync for IdlePdPhy<'d, T>
impl<'d, T> Unpin for IdlePdPhy<'d, T>
impl<'d, T> UnsafeUnpin for IdlePdPhy<'d, T>where
PdPhy<'d, T>: UnsafeUnpin,
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