[][src]Enum lpc55s6x_pac::adc0::cmdh6::STSR

pub enum STSR {
    STS_0,
    STS_1,
    STS_2,
    STS_3,
    STS_4,
    STS_5,
    STS_6,
    STS_7,
}

Possible values of the field STS

Variants

STS_0

Minimum sample time of 3 ADCK cycles.

STS_1

3 + 21 ADCK cycles; 5 ADCK cycles total sample time.

STS_2

3 + 22 ADCK cycles; 7 ADCK cycles total sample time.

STS_3

3 + 23 ADCK cycles; 11 ADCK cycles total sample time.

STS_4

3 + 24 ADCK cycles; 19 ADCK cycles total sample time.

STS_5

3 + 25 ADCK cycles; 35 ADCK cycles total sample time.

STS_6

3 + 26 ADCK cycles; 67 ADCK cycles total sample time.

STS_7

3 + 27 ADCK cycles; 131 ADCK cycles total sample time.

Methods

impl STSR[src]

pub fn bits(&self) -> u8[src]

Value of the field as raw bits

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

Checks if the value of the field is STS_0

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

Checks if the value of the field is STS_1

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

Checks if the value of the field is STS_2

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

Checks if the value of the field is STS_3

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

Checks if the value of the field is STS_4

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

Checks if the value of the field is STS_5

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

Checks if the value of the field is STS_6

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

Checks if the value of the field is STS_7

Trait Implementations

impl PartialEq<STSR> for STSR[src]

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

This method tests for !=.

impl Copy for STSR[src]

impl Debug for STSR[src]

impl Clone for STSR[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 STSR

impl Sync for STSR

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