pub enum DPPU {
Disabled = 0,
Enabled = 1,
}
Expand description
DP pull-up control
Value on reset: 0
Variants§
Disabled = 0
0: signalize disconnect to the host when needed by the user software
Enabled = 1
1: enable the embedded pull-up on the DP line
Trait Implementations§
impl Copy for DPPU
impl Eq for DPPU
impl StructuralPartialEq for DPPU
Auto Trait Implementations§
impl Freeze for DPPU
impl RefUnwindSafe for DPPU
impl Send for DPPU
impl Sync for DPPU
impl Unpin for DPPU
impl UnwindSafe for DPPU
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