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