pub enum ENDEVPLUGINDET_A {
VALUE0 = 0,
VALUE1 = 1,
}Expand description
Enables non-standard resistive plugged-in detection This bit field controls connection of nominal 200kohm resistors to both the USB_DP and USB_DM pins as one method of detecting when a USB cable is attached in device mode
Value on reset: 0
Variants§
VALUE0 = 0
0: Disables 200kohm pullup resistors on USB_DP and USB_DM pins (Default)
VALUE1 = 1
1: Enables 200kohm pullup resistors on USB_DP and USB_DM pins
Trait Implementations§
Source§impl Clone for ENDEVPLUGINDET_A
impl Clone for ENDEVPLUGINDET_A
Source§fn clone(&self) -> ENDEVPLUGINDET_A
fn clone(&self) -> ENDEVPLUGINDET_A
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ENDEVPLUGINDET_A
impl Debug for ENDEVPLUGINDET_A
Source§impl From<ENDEVPLUGINDET_A> for bool
impl From<ENDEVPLUGINDET_A> for bool
Source§fn from(variant: ENDEVPLUGINDET_A) -> Self
fn from(variant: ENDEVPLUGINDET_A) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ENDEVPLUGINDET_A
impl PartialEq for ENDEVPLUGINDET_A
impl Copy for ENDEVPLUGINDET_A
impl StructuralPartialEq for ENDEVPLUGINDET_A
Auto Trait Implementations§
impl Freeze for ENDEVPLUGINDET_A
impl RefUnwindSafe for ENDEVPLUGINDET_A
impl Send for ENDEVPLUGINDET_A
impl Sync for ENDEVPLUGINDET_A
impl Unpin for ENDEVPLUGINDET_A
impl UnwindSafe for ENDEVPLUGINDET_A
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