[][src]Struct cc13x2_cc26x2_hal::aux_tdc::RegisterBlock

#[repr(C)]
pub struct RegisterBlock { pub ctl: CTL, pub stat: STAT, pub result: RESULT, pub satcfg: SATCFG, pub trigsrc: TRIGSRC, pub trigcnt: TRIGCNT, pub trigcntload: TRIGCNTLOAD, pub trigcntcfg: TRIGCNTCFG, pub prectl: PRECTL, pub precntr: PRECNTR, }

Register block

Fields

ctl: CTL

0x00 - Control

stat: STAT

0x04 - Status

result: RESULT

0x08 - Result Result of last TDC conversion.

satcfg: SATCFG

0x0c - Saturation Configuration

trigsrc: TRIGSRC

0x10 - Trigger Source Select source and polarity for TDC start and stop events. See the Technical Reference Manual for event timing requirements.

trigcnt: TRIGCNT

0x14 - Trigger Counter Stop-counter control and status.

trigcntload: TRIGCNTLOAD

0x18 - Trigger Counter Load Stop-counter load.

trigcntcfg: TRIGCNTCFG

0x1c - Trigger Counter Configuration Stop-counter configuration.

prectl: PRECTL

0x20 - Prescaler Control The prescaler can be used to count events that are faster than the AUX bus rate. It can be used to: - count pulses on a specified event from the asynchronous event bus. - prescale a specified event from the asynchronous event bus. To use the prescaler output as an event source in TDC measurements you must set both TRIGSRC.START_SRC and TRIGSRC.STOP_SRC to AUX_TDC_PRE. It is recommended to use the prescaler when the signal frequency to measure exceeds 1/10th of the AUX bus rate.

precntr: PRECNTR

0x24 - Prescaler Counter

Auto Trait Implementations

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