[−][src]Enum cc13x2_cc26x2_hal::aux_tdc::ctl::CMDR
Possible values of the field CMD
Variants
ABORT
Force TDC state machine back to IDLE state.
Never write this command while AUX_TDC:STAT.STATE equals CLR_CNT or WAIT_CLR_CNT_DONE.
RUN
Asynchronous counter start.
The counter starts to count when the start event is high. To achieve precise edge-to-edge measurements you must ensure that the start event is low for at least 420 ns after you write this command.
RUN_SYNC_START
Synchronous counter start.
The counter looks for the opposite edge of the selected start event before it starts to count when the selected edge occurs. This guarantees an edge-triggered start and is recommended for frequency measurements.
CLR_RESULT
Clear STAT.SAT, STAT.DONE, and RESULT.VALUE.
This is not needed as prerequisite for a measurement. Reliable clear is only guaranteed from IDLE state.
Methods
impl CMDR
[src]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_abort(&self) -> bool
[src]
Checks if the value of the field is ABORT
pub fn is_run(&self) -> bool
[src]
Checks if the value of the field is RUN
pub fn is_run_sync_start(&self) -> bool
[src]
Checks if the value of the field is RUN_SYNC_START
pub fn is_clr_result(&self) -> bool
[src]
Checks if the value of the field is CLR_RESULT
Trait Implementations
impl Copy for CMDR
[src]
impl Debug for CMDR
[src]
impl PartialEq<CMDR> for CMDR
[src]
fn eq(&self, other: &CMDR) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Clone for CMDR
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> From for T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same for T
type Output = T
Should always be Self