Struct lpc55_pac::usbphy::usb1_vbus_detect::VBUSVALID_SEL_W
source · [−]pub struct VBUSVALID_SEL_W<'a> { /* private fields */ }
Expand description
Field VBUSVALID_SEL
writer - Selects the source of the VBUS_VALID signal reported to the USB controller This is one of the bit fields that selects the source of the VBUS_VALID signal reported to the USB controller
Implementations
sourceimpl<'a> VBUSVALID_SEL_W<'a>
impl<'a> VBUSVALID_SEL_W<'a>
sourcepub fn variant(self, variant: VBUSVALID_SEL_A) -> &'a mut W
pub fn variant(self, variant: VBUSVALID_SEL_A) -> &'a mut W
Writes variant
to the field
sourcepub fn value0(self) -> &'a mut W
pub fn value0(self) -> &'a mut W
Use the VBUS_VALID comparator results for signal reported to the USB controller (Default)
Auto Trait Implementations
impl<'a> RefUnwindSafe for VBUSVALID_SEL_W<'a>
impl<'a> Send for VBUSVALID_SEL_W<'a>
impl<'a> Sync for VBUSVALID_SEL_W<'a>
impl<'a> Unpin for VBUSVALID_SEL_W<'a>
impl<'a> !UnwindSafe for VBUSVALID_SEL_W<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more