Struct lpc55_pac::usbphy::usb1_vbus_detect_clr::VBUS_SOURCE_SEL_R [−][src]
pub struct VBUS_SOURCE_SEL_R(_);
Field VBUS_SOURCE_SEL
reader - 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 VBUS_SOURCE_SEL_R
[src]
impl VBUS_SOURCE_SEL_R
[src]pub fn variant(&self) -> Option<VBUS_SOURCE_SEL_A>
[src]
Get enumerated values variant
pub fn is_value0(&self) -> bool
[src]
Checks if the value of the field is VALUE0
pub fn is_value1(&self) -> bool
[src]
Checks if the value of the field is VALUE1
pub fn is_value2(&self) -> bool
[src]
Checks if the value of the field is VALUE2
Methods from Deref<Target = FieldReader<u8, VBUS_SOURCE_SEL_A>>
pub fn bit(&self) -> bool
[src]
Value of the field as raw bits.
pub fn bit_is_clear(&self) -> bool
[src]
Returns true
if the bit is clear (0).
pub fn bit_is_set(&self) -> bool
[src]
Returns true
if the bit is set (1).
Trait Implementations
impl Deref for VBUS_SOURCE_SEL_R
[src]
impl Deref for VBUS_SOURCE_SEL_R
[src]type Target = FieldReader<u8, VBUS_SOURCE_SEL_A>
The resulting type after dereferencing.