[][src]Enum lpc55s6x_pac::adc0::tctrl::TCMDR

pub enum TCMDR {
    TCMD_0,
    TCMD_1,
    TCMD_2,
    TCMD_3,
    TCMD_4,
    TCMD_5,
    TCMD_6,
    TCMD_7,
    TCMD_8,
    TCMD_9,
    TCMD_15,
    _Reserved(u8),
}
[]

Possible values of the field TCMD

Variants

TCMD_0
[]

Not a valid selection from the command buffer. Trigger event is ignored.

TCMD_1
[]

CMD1 is executed

TCMD_2
[]

Corresponding CMD is executed

TCMD_3
[]

Corresponding CMD is executed

TCMD_4
[]

Corresponding CMD is executed

TCMD_5
[]

Corresponding CMD is executed

TCMD_6
[]

Corresponding CMD is executed

TCMD_7
[]

Corresponding CMD is executed

TCMD_8
[]

Corresponding CMD is executed

TCMD_9
[]

Corresponding CMD is executed

TCMD_15
[]

CMD15 is executed

_Reserved(u8)
[]

Reserved

Methods

impl TCMDR[src][]

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

Value of the field as raw bits

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

Checks if the value of the field is TCMD_0

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

Checks if the value of the field is TCMD_1

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

Checks if the value of the field is TCMD_2

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

Checks if the value of the field is TCMD_3

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

Checks if the value of the field is TCMD_4

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

Checks if the value of the field is TCMD_5

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

Checks if the value of the field is TCMD_6

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

Checks if the value of the field is TCMD_7

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

Checks if the value of the field is TCMD_8

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

Checks if the value of the field is TCMD_9

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

Checks if the value of the field is TCMD_15

Trait Implementations

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

impl Copy for TCMDR[src]

impl Debug for TCMDR[src][+]

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

impl Sync for TCMDR

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