[][src]Enum lpc55s6x_pac::usbphy::usb1_vbus_detect_clr::VBUSVALID_THRESHR

pub enum VBUSVALID_THRESHR {
    VALUE0,
    VALUE1,
    VALUE2,
    VALUE3,
    VALUE4,
    VALUE5,
    VALUE6,
    VALUE7,
}
[]

Possible values of the field VBUSVALID_THRESH

Variants

VALUE0
[]

4.0V

VALUE1
[]

4.1V

VALUE2
[]

4.2V

VALUE3
[]

4.3V

VALUE4
[]

4.4V(Default)

VALUE5
[]

4.5V

VALUE6
[]

4.6V

VALUE7
[]

4.7V

Methods

impl VBUSVALID_THRESHR[src][]

pub fn bits(&self) -> u8[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

pub fn is_value2(&self) -> bool[src][]

Checks if the value of the field is VALUE2

pub fn is_value3(&self) -> bool[src][]

Checks if the value of the field is VALUE3

pub fn is_value4(&self) -> bool[src][]

Checks if the value of the field is VALUE4

pub fn is_value5(&self) -> bool[src][]

Checks if the value of the field is VALUE5

pub fn is_value6(&self) -> bool[src][]

Checks if the value of the field is VALUE6

pub fn is_value7(&self) -> bool[src][]

Checks if the value of the field is VALUE7

Trait Implementations

impl PartialEq<VBUSVALID_THRESHR> for VBUSVALID_THRESHR[src][+]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src][]

This method tests for !=.

impl Copy for VBUSVALID_THRESHR[src]

impl Debug for VBUSVALID_THRESHR[src][+]

impl Clone for VBUSVALID_THRESHR[src][+]

fn clone_from(&mut self, source: &Self)1.0.0[src][]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for VBUSVALID_THRESHR

impl Sync for VBUSVALID_THRESHR

Blanket Implementations

impl<T> From<T> for T[src][+]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self