[][src]Enum cc13x2_cc26x2_hal::aux_tdc::stat::STATEW

pub enum STATEW {
    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,
}

Values that can be written to 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.

Auto Trait Implementations

impl Send for STATEW

impl Sync for STATEW

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]

impl<T> Same for T

type Output = T

Should always be Self