Struct lpc55_pac::usbphy::usb1_vbus_detect::VBUSVALID_SEL_W [−][src]
pub struct VBUSVALID_SEL_W<'a> { /* fields omitted */ }
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
impl<'a> VBUSVALID_SEL_W<'a>
[src]
impl<'a> VBUSVALID_SEL_W<'a>
[src]pub fn variant(self, variant: VBUSVALID_SEL_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn value0(self) -> &'a mut W
[src]
Use the VBUS_VALID comparator results for signal reported to the USB controller (Default)
pub fn value1(self) -> &'a mut W
[src]
Use the VBUS_VALID_3V detector results for signal reported to the USB controller
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 VBUSVALID_SEL_W<'a>
impl<'a> Send for VBUSVALID_SEL_W<'a>
impl<'a> Sync for VBUSVALID_SEL_W<'a>
impl<'a> Sync for VBUSVALID_SEL_W<'a>
impl<'a> Unpin for VBUSVALID_SEL_W<'a>
impl<'a> Unpin for VBUSVALID_SEL_W<'a>