[][src]Enum cc2650::aux_tdcif::stat::STATER

pub enum STATER {
    FORCE_STOP,
    START_FALL,
    WAIT_CLR_CNT_DONE,
    POR,
    GET_RESULT,
    WAIT_STOP_CNTDWN,
    WAIT_STOP,
    CLR_CNT,
    IDLE,
    WAIT_START_STOP_CNT_EN,
    WAIT_START,
    _Reserved(u8),
}

Possible values of the field STATE

Variants

FORCE_STOP

Current state is TDC_FORCESTOP. You wrote ABORT to CTL.CMD to abort the TDC measurement.

START_FALL

Current state is TDC_WAIT_STARTFALL. The fast-counter circuit waits for a falling edge on the start event.

WAIT_CLR_CNT_DONE

Current state is TDC_STATE_WAIT_CLRCNT_DONE. The state machine waits for fast-counter circuit to finish reset.

POR

Current state is TDC_STATE_POR. This is the reset state.

GET_RESULT

Current state is TDC_STATE_GETRESULTS. The state machine copies the counter value from the fast-counter circuit.

WAIT_STOP_CNTDWN

Current state is TDC_STATE_WAIT_STOPCNTDOWN. The fast-counter circuit looks for the stop condition. It will ignore a number of stop events configured in TRIGCNTLOAD.CNT.

WAIT_STOP

Current state is TDC_STATE_WAIT_STOP. The state machine waits for the fast-counter circuit to stop.

CLR_CNT

Current state is TDC_STATE_CLRCNT. The fast-counter circuit is reset.

IDLE

Current state is TDC_STATE_IDLE. This is the default state after reset and abortion. State will change when you write CTL.CMD to either RUN_SYNC_START or RUN.

WAIT_START_STOP_CNT_EN

Current state is TDC_STATE_WAIT_STARTSTOPCNTEN. The fast-counter circuit looks for the start condition. The state machine waits for the fast-counter to increment.

WAIT_START

Current state is TDC_STATE_WAIT_START. The fast-counter circuit looks for the start condition. The state machine waits for the fast-counter to increment.

_Reserved(u8)

Reserved

Methods

impl STATER[src]

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

Value of the field as raw bits

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

Checks if the value of the field is FORCE_STOP

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

Checks if the value of the field is START_FALL

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

Checks if the value of the field is WAIT_CLR_CNT_DONE

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

Checks if the value of the field is POR

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

Checks if the value of the field is GET_RESULT

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

Checks if the value of the field is WAIT_STOP_CNTDWN

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

Checks if the value of the field is WAIT_STOP

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

Checks if the value of the field is CLR_CNT

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

Checks if the value of the field is IDLE

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

Checks if the value of the field is WAIT_START_STOP_CNT_EN

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

Checks if the value of the field is WAIT_START

Trait Implementations

impl Copy for STATER[src]

impl Debug for STATER[src]

impl PartialEq<STATER> for STATER[src]

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

impl Sync for STATER

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto 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, U> Into for T where
    U: From<T>, 
[src]

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

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

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