Struct lpc55_pac::usbphy::ctrl_clr::ENDEVPLUGINDET_W [−][src]
pub struct ENDEVPLUGINDET_W<'a> { /* fields omitted */ }
Field ENDEVPLUGINDET
writer - 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
Implementations
impl<'a> ENDEVPLUGINDET_W<'a>
[src]
impl<'a> ENDEVPLUGINDET_W<'a>
[src]pub fn variant(self, variant: ENDEVPLUGINDET_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn value0(self) -> &'a mut W
[src]
Disables 200kohm pullup resistors on USB_DP and USB_DM pins (Default)
pub fn value1(self) -> &'a mut W
[src]
Enables 200kohm pullup resistors on USB_DP and USB_DM pins
pub fn set_bit(self) -> &'a mut W
[src]
Sets the field bit
pub fn clear_bit(self) -> &'a mut W
[src]
Clears the field bit
pub fn bit(self, value: bool) -> &'a mut W
[src]
Writes raw bits to the field
Auto Trait Implementations
impl<'a> Send for ENDEVPLUGINDET_W<'a>
impl<'a> Send for ENDEVPLUGINDET_W<'a>
impl<'a> Sync for ENDEVPLUGINDET_W<'a>
impl<'a> Sync for ENDEVPLUGINDET_W<'a>
impl<'a> Unpin for ENDEVPLUGINDET_W<'a>
impl<'a> Unpin for ENDEVPLUGINDET_W<'a>