Struct lpc55_pac::usbphy::usb1_vbus_detect::VBUSVALID_TO_SESSVALID_R
source · [−]pub struct VBUSVALID_TO_SESSVALID_R(_);
Expand description
Field VBUSVALID_TO_SESSVALID
reader - Selects the comparator used for VBUS_VALID This bit field controls the comparator used to report the VBUS_VALID results in USB1_VBUS_DETECT[3]
between the VBUS_VALID comparator and the Session Valid comparator
Implementations
Methods from Deref<Target = FieldReader<bool, VBUSVALID_TO_SESSVALID_A>>
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0).
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1).
Trait Implementations
sourceimpl Deref for VBUSVALID_TO_SESSVALID_R
impl Deref for VBUSVALID_TO_SESSVALID_R
type Target = FieldReader<bool, VBUSVALID_TO_SESSVALID_A>
type Target = FieldReader<bool, VBUSVALID_TO_SESSVALID_A>
The resulting type after dereferencing.
Auto Trait Implementations
impl RefUnwindSafe for VBUSVALID_TO_SESSVALID_R
impl Send for VBUSVALID_TO_SESSVALID_R
impl Sync for VBUSVALID_TO_SESSVALID_R
impl Unpin for VBUSVALID_TO_SESSVALID_R
impl UnwindSafe for VBUSVALID_TO_SESSVALID_R
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