[−][src]Enum lpc55s6x_pac::usbphy::usb1_vbus_detect::VBUSVALID_TO_SESSVALIDR
Possible values of the field VBUSVALID_TO_SESSVALID
Variants
VALUE0
Use the VBUS_VALID comparator for VBUS_VALID results
VALUE1
Use the Session End comparator for VBUS_VALID results. The Session End threshold is >0.8V and <4.0V.
Methods
impl VBUSVALID_TO_SESSVALIDR
[src][−]
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)
pub fn bit(&self) -> bool
[src][−]
Value of the field as raw bits
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
Trait Implementations
impl PartialEq<VBUSVALID_TO_SESSVALIDR> for VBUSVALID_TO_SESSVALIDR
[src][+]
impl Copy for VBUSVALID_TO_SESSVALIDR
[src]
impl Debug for VBUSVALID_TO_SESSVALIDR
[src][+]
impl Clone for VBUSVALID_TO_SESSVALIDR
[src][+]
Auto Trait Implementations
impl Send for VBUSVALID_TO_SESSVALIDR
impl Sync for VBUSVALID_TO_SESSVALIDR
Blanket Implementations
impl<T> From<T> for T
[src][+]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self