Enum embassy_stm32::ucpd::CcPull
source ยท pub enum CcPull {
Disabled,
Sink,
SourceDefaultUsb,
Source1_5A,
Source3_0A,
}
Expand description
Pull-up or Pull-down resistor state of both CC lines.
Variantsยง
Disabled
Analog PHY for CC pin disabled.
Sink
Rd=5.1k pull-down resistor.
SourceDefaultUsb
Rp=56k pull-up resistor to indicate default USB power.
Source1_5A
Rp=22k pull-up resistor to indicate support for up to 1.5A.
Source3_0A
Rp=10k pull-up resistor to indicate support for up to 3.0A.
Trait Implementationsยง
impl Copy for CcPull
impl StructuralPartialEq for CcPull
Auto Trait Implementationsยง
impl Freeze for CcPull
impl RefUnwindSafe for CcPull
impl Send for CcPull
impl Sync for CcPull
impl Unpin for CcPull
impl UnwindSafe for CcPull
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
sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
sourceยงunsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
๐ฌThis is a nightly-only experimental API. (
clone_to_uninit
)