[][src]Struct cc13x2_cc26x2_hal::aux_tdc::stat::_STATEW

pub struct _STATEW<'a> { /* fields omitted */ }

Proxy

Methods

impl<'a> _STATEW<'a>[src]

pub fn variant(self, variant: STATEW) -> &'a mut W[src]

Writes variant to the field

pub fn force_stop(self) -> &'a mut W[src]

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

pub fn start_fall(self) -> &'a mut W[src]

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

pub fn wait_clr_cnt_done(self) -> &'a mut W[src]

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

pub fn por(self) -> &'a mut W[src]

Current state is TDC_STATE_POR. This is the reset state.

pub fn get_result(self) -> &'a mut W[src]

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

pub fn wait_stop_cntdwn(self) -> &'a mut W[src]

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.

pub fn wait_stop(self) -> &'a mut W[src]

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

pub fn clr_cnt(self) -> &'a mut W[src]

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

pub fn idle(self) -> &'a mut W[src]

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.

pub fn wait_start_stop_cnt_en(self) -> &'a mut W[src]

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.

pub fn wait_start(self) -> &'a mut W[src]

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.

pub unsafe fn bits(self, value: u8) -> &'a mut W[src]

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for _STATEW<'a>

impl<'a> Sync for _STATEW<'a>

Blanket Implementations

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> From for T[src]

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