CC13xx Driver Library
[aux_tdc] AUX Time to Digital Converter

Functions

static uint32_t AUXTDCStatusGet (uint32_t ui32Base)
 Get the status of the AUX TDC internal state machine. More...
 
void AUXTDCConfigSet (uint32_t ui32Base, uint32_t ui32StartCondition, uint32_t ui32StopCondition)
 Configure the operation of the AUX TDC. More...
 
static bool AUXTDCIdle (uint32_t ui32Base)
 Check if the AUX TDC is in idle mode. More...
 
static void AUXTDCEnable (uint32_t ui32Base, uint32_t ui32RunMode)
 Enable the AUX TDC for a measurement. More...
 
static void AUXTDCIdleForce (uint32_t ui32Base)
 Force the AUX TDC back to Idle mode. More...
 
uint32_t AUXTDCMeasurementDone (uint32_t ui32Base)
 Check if the AUX TDC is done measuring. More...
 
static uint32_t AUXTDCMeasurementGet (uint32_t ui32Base)
 Get the value of the latest measurement. More...
 
static void AUXTDCLimitSet (uint32_t ui32Base, uint32_t ui32Limit)
 Set the saturation limit of the measurement. More...
 
static uint32_t AUXTDCLimitGet (uint32_t ui32Base)
 Get the saturation limit of the measurement. More...
 
static bool AUXTDCCounterEnable (uint32_t ui32Base)
 Enables the counter if possible. More...
 
static bool AUXTDCCounterDisable (uint32_t ui32Base)
 Disables the counter if possible. More...
 
static bool AUXTDCCounterSet (uint32_t ui32Base, uint32_t ui32Events)
 Set the reset number of counter compare/stop event to ignore before taking a measurement. More...
 
static uint32_t AUXTDCCounterGet (uint32_t ui32Base)
 Get the current number of counter compare/stop event to ignore before taking a measurement. More...
 

Detailed Description

Function Documentation

void AUXTDCConfigSet ( uint32_t  ui32Base,
uint32_t  ui32StartCondition,
uint32_t  ui32StopCondition 
)

Configure the operation of the AUX TDC.

Use this function to configure the start and stop event for the AUX TDC.

The ui32StartCondition must be a bitwise OR of the start event and the polarity of the start event. The start events are:

The polarity of the start event is either rising AUXTDC_STARTPOL_RIS or falling AUXTDC_STARTPOL_FALL.

The ui32StopCondition must be a bitwise OR of the stop event and the polarity of the stop event. The stop events are:

The polarity of the stop event is either rising AUXTDC_STOPPOL_RIS or falling AUXTDC_STOPPOL_FALL.

Note
The AUX TDC should only be configured when the AUX TDC is in the Idle state. To ensure that software does not lock up, it is recommended to ensure that the AUX TDC is actually in idle when calling AUXTDCConfigSet(). This can be tested using AUXTDCIdle().
Parameters
ui32Baseis base address of the AUX TDC.
ui32StartConditionis AUX TDC a bitwise OR of a start event and polarity.
ui32StopConditionis AUX TDC a bitwise OR of a stop event and polarity.
Returns
None
See also
AUXTDCConfigSet(), AUXTDCIdle()

Definition at line 60 of file aux_tdc.c.

static bool AUXTDCCounterDisable ( uint32_t  ui32Base)
inlinestatic

Disables the counter if possible.

This function can be used to disable the AUX TDC stop/compare event counter.

Parameters
ui32Baseis base address of the AUX TDC.
Returns
Returns true if the counter was successfully disabled. If the AUX TDC is not in Idle mode, the counter can not be disabled, and the return value will be false.
See also
AUXTDCCounterEnable() for more information on how to use the counter.

Definition at line 688 of file aux_tdc.h.

static bool AUXTDCCounterEnable ( uint32_t  ui32Base)
inlinestatic

Enables the counter if possible.

This function can be used to enable the AUX TDC stop/compare event counter. The counter can be used to measure multiple periods of a clock signal. For each stop/compare event the counter will be decremented by one and the measurement will continue running until the value of the counter reaches 0. The current value of the counter can be read using AUXTDCCounterGet(). The reset value of the counter can be set using AUXTDCCounterSet().

Parameters
ui32Baseis base address of the AUX TDC.
Returns
Returns true if the counter was successfully enabled. If the AUX TDC is not in Idle mode, the counter can not be enabled, and the return value will be false.
See also
AUXTDCCounterGet(), AUXTDCCounterSet()

Definition at line 644 of file aux_tdc.h.

static uint32_t AUXTDCCounterGet ( uint32_t  ui32Base)
inlinestatic

Get the current number of counter compare/stop event to ignore before taking a measurement.

This function returns the current value of compare/stop events before a measurement is registered. This value is decremented by one for each registered compare/stop event and will always be less than or equal the reset value of the counter set using AUXTDCCounterSet().

Parameters
ui32Baseis base address of the AUX TDC.
Returns
Returns the current value of compare/stop events ignored before a measurement is performed.
See also
AUXTDCCounterEnable().

Definition at line 784 of file aux_tdc.h.

static bool AUXTDCCounterSet ( uint32_t  ui32Base,
uint32_t  ui32Events 
)
inlinestatic

Set the reset number of counter compare/stop event to ignore before taking a measurement.

This function loads the reset value of the counter with the specified number of events to ignore. A reset in this context means the counter has been disabled and then enabled.

Parameters
ui32Baseis base address of the AUX TDC.
ui32Eventsis the number of compare/stop events to load into the counter.
Returns
Returns true if the counter was successfully updated. If the AUX TDC is not in Idle mode, the counter can not be updated, and the return value will be false.
See also
AUXTDCCounterEnable()

Definition at line 737 of file aux_tdc.h.

static void AUXTDCEnable ( uint32_t  ui32Base,
uint32_t  ui32RunMode 
)
inlinestatic

Enable the AUX TDC for a measurement.

This function is used for arming the AUX TDC to begin a measurement as soon as the start condition is met. There are two run modes:

  • AUX_TDC_RUNSYNC will wait for a falling event of the start pulse before starting measurement on next rising edge of start. This guarantees an edge triggered start and is recommended for frequency measurements. If the first falling edge is close to the start command it may be missed, but the TDC shall catch later falling edges and in any case guarantee a measurement start synchronous to the rising edge of the start event.
  • The AUX_TDC_RUN is asynchronous start and asynchronous stop mode. Using this a TDC measurement may start immediately if start is high and hence it may not give precise edge to edge measurements. This mode is only recommended when start pulse is guaranteed to arrive at least 7 clock periods after command.
Note
The AUX TDC should be configured and in Idle mode before calling this function.
Parameters
ui32Baseis the base address of the AUX TDC.
ui32RunModeis the run mode for the AUX TDC.
Returns
None

Definition at line 443 of file aux_tdc.h.

static bool AUXTDCIdle ( uint32_t  ui32Base)
inlinestatic

Check if the AUX TDC is in idle mode.

This function can be used to check whether the AUX TDC internal state machine is in idle mode. This is required before setting the polarity of the start and stop event.

Parameters
ui32Baseis the base address of the AUX TDC.
Returns
Returns true if state machine is in idle and returns false if the state machine is in any other state.

Definition at line 399 of file aux_tdc.h.

static void AUXTDCIdleForce ( uint32_t  ui32Base)
inlinestatic

Force the AUX TDC back to Idle mode.

This function will force the AUX TDC in Idle mode. The internal state machine will not go directly to Idle mode, so it is left to the programmer to ensure that the state machine is in Idle mode before doing any new configuration. This can be checked using AUXTDCIdle().

Parameters
ui32Baseis the base address of the AUX TDC.
Returns
None
See also
AUXTDCIdle()

Definition at line 475 of file aux_tdc.h.

static uint32_t AUXTDCLimitGet ( uint32_t  ui32Base)
inlinestatic

Get the saturation limit of the measurement.

This function is used to retrieve the current saturation for the accumulator register.

Parameters
ui32Baseis base address of the AUX TDC.
Returns
Returns the saturation limit.
See also
AUXTDCLimitSet()

Definition at line 609 of file aux_tdc.h.

static void AUXTDCLimitSet ( uint32_t  ui32Base,
uint32_t  ui32Limit 
)
inlinestatic

Set the saturation limit of the measurement.

This function is used to set a saturation limit for the event accumulation register. The saturation limit is defined as a bit width of the accumulation register and therefore increases in power of 2.

Parameters
ui32Baseis base address of the AUX TDC.
ui32Limitis the saturation limit.
Returns
None
Note
The actual value of the accumulation register might increase slightly beyond the saturation value before the saturation takes effect.
See also
AUXTDCLimitGet()

Definition at line 567 of file aux_tdc.h.

uint32_t AUXTDCMeasurementDone ( uint32_t  ui32Base)

Check if the AUX TDC is done measuring.

This function can be used to check whether the AUX TDC has finished a measurement. The AUX TDC may have completed a measurement for two reasons. Either it finish successfully AUX_TDC_DONE or it failed due to a timeout AUX_TDC_TIMEOUT. If the AUX TDC is still measuring it this function will return AUX_TDC_BUSY.

Parameters
ui32Baseis the base address of the AUX TDC.
Returns
Returns the current status of a measurement:

Definition at line 94 of file aux_tdc.c.

static uint32_t AUXTDCMeasurementGet ( uint32_t  ui32Base)
inlinestatic

Get the value of the latest measurement.

This function is used for retrieving the value of the latest measurement performed by the AUX TDC.

Parameters
ui32Baseis the base address of the AUX TDC.
Returns
Returns the result of the latest measurement.

Definition at line 521 of file aux_tdc.h.

static uint32_t AUXTDCStatusGet ( uint32_t  ui32Base)
inlinestatic

Get the status of the AUX TDC internal state machine.

This function will return the current state of the AUX TDC internal state machine.

Parameters
ui32Baseis base address of the AUX TDC
Returns
Returns the current state of the state machine. Possible states for the state machine are:

Definition at line 271 of file aux_tdc.h.

Macro Definition Documentation

#define AUX_TDC_ABORT   0x00000003

Definition at line 104 of file aux_tdc.h.

#define AUX_TDC_BUSY   0x00000001

Definition at line 93 of file aux_tdc.h.

Referenced by AUXTDCMeasurementDone().

#define AUX_TDC_DONE   0x00000004

Definition at line 95 of file aux_tdc.h.

Referenced by AUXTDCMeasurementDone().

#define AUX_TDC_RUN   0x00000002

Definition at line 103 of file aux_tdc.h.

Referenced by AUXTDCEnable().

#define AUX_TDC_RUNSYNC   0x00000001

Definition at line 102 of file aux_tdc.h.

Referenced by AUXTDCEnable().

#define AUX_TDC_TIMEOUT   0x00000002

Definition at line 94 of file aux_tdc.h.

Referenced by AUXTDCMeasurementDone().

#define AUXTDC_CLRCNT   (AUX_TDC_STAT_STATE_CLR_CNT)

Definition at line 114 of file aux_tdc.h.

#define AUXTDC_FORCE_STOP   (AUX_TDC_STAT_STATE_FORCE_STOP)

Definition at line 121 of file aux_tdc.h.

#define AUXTDC_GETRESULTS   (AUX_TDC_STAT_STATE_GET_RESULT)

Definition at line 117 of file aux_tdc.h.

#define AUXTDC_IDLE   (AUX_TDC_STAT_STATE_IDLE)

Definition at line 113 of file aux_tdc.h.

#define AUXTDC_NUM_SAT_VALS   16

Definition at line 218 of file aux_tdc.h.

Referenced by AUXTDCLimitSet().

#define AUXTDC_POR   (AUX_TDC_STAT_STATE_POR)

Definition at line 118 of file aux_tdc.h.

#define AUXTDC_SAT_1048576   (AUX_TDC_SATCFG_LIMIT_R20)

Definition at line 213 of file aux_tdc.h.

#define AUXTDC_SAT_131072   (AUX_TDC_SATCFG_LIMIT_R17)

Definition at line 210 of file aux_tdc.h.

#define AUXTDC_SAT_16384   (AUX_TDC_SATCFG_LIMIT_R14)

Definition at line 207 of file aux_tdc.h.

#define AUXTDC_SAT_16777216   (AUX_TDC_SATCFG_LIMIT_R24)

Definition at line 217 of file aux_tdc.h.

#define AUXTDC_SAT_2097152   (AUX_TDC_SATCFG_LIMIT_R21)

Definition at line 214 of file aux_tdc.h.

#define AUXTDC_SAT_262144   (AUX_TDC_SATCFG_LIMIT_R18)

Definition at line 211 of file aux_tdc.h.

#define AUXTDC_SAT_32768   (AUX_TDC_SATCFG_LIMIT_R15)

Definition at line 208 of file aux_tdc.h.

#define AUXTDC_SAT_4096   (AUX_TDC_SATCFG_LIMIT_R12)

Definition at line 205 of file aux_tdc.h.

#define AUXTDC_SAT_4194304   (AUX_TDC_SATCFG_LIMIT_R22)

Definition at line 215 of file aux_tdc.h.

#define AUXTDC_SAT_524288   (AUX_TDC_SATCFG_LIMIT_R19)

Definition at line 212 of file aux_tdc.h.

#define AUXTDC_SAT_65536   (AUX_TDC_SATCFG_LIMIT_R16)

Definition at line 209 of file aux_tdc.h.

#define AUXTDC_SAT_8192   (AUX_TDC_SATCFG_LIMIT_R13)

Definition at line 206 of file aux_tdc.h.

#define AUXTDC_SAT_8388608   (AUX_TDC_SATCFG_LIMIT_R23)

Definition at line 216 of file aux_tdc.h.

#define AUXTDC_START_ACLK_REF   (AUX_TDC_TRIGSRC_START_SRC_ACLK_REF)

Definition at line 196 of file aux_tdc.h.

#define AUXTDC_START_ADC_DONE   (AUX_TDC_TRIGSRC_START_SRC_ADC_DONE)

Definition at line 174 of file aux_tdc.h.

#define AUXTDC_START_ADC_FIFO_ALMOST_FULL   (AUX_TDC_TRIGSRC_START_SRC_ADC_FIFO_ALMOST_FULL)

Definition at line 175 of file aux_tdc.h.

#define AUXTDC_START_AON_PROG_WU   (AUX_TDC_TRIGSRC_START_SRC_AON_PROG_WU)

Definition at line 179 of file aux_tdc.h.

#define AUXTDC_START_AON_RTC_CH2   (AUX_TDC_TRIGSRC_START_SRC_AON_RTC_CH2)

Definition at line 167 of file aux_tdc.h.

#define AUXTDC_START_AON_SW   (AUX_TDC_TRIGSRC_START_SRC_AON_SW)

Definition at line 178 of file aux_tdc.h.

#define AUXTDC_START_AUX_COMPA   (AUX_TDC_TRIGSRC_START_SRC_AUX_COMPA)

Definition at line 168 of file aux_tdc.h.

#define AUXTDC_START_AUX_COMPB   (AUX_TDC_TRIGSRC_START_SRC_AUX_COMPB)

Definition at line 169 of file aux_tdc.h.

#define AUXTDC_START_AUXIO0   (AUX_TDC_TRIGSRC_START_SRC_AUXIO0)

Definition at line 180 of file aux_tdc.h.

#define AUXTDC_START_AUXIO1   (AUX_TDC_TRIGSRC_START_SRC_AUXIO1)

Definition at line 181 of file aux_tdc.h.

#define AUXTDC_START_AUXIO10   (AUX_TDC_TRIGSRC_START_SRC_AUXIO10)

Definition at line 190 of file aux_tdc.h.

#define AUXTDC_START_AUXIO11   (AUX_TDC_TRIGSRC_START_SRC_AUXIO11)

Definition at line 191 of file aux_tdc.h.

#define AUXTDC_START_AUXIO12   (AUX_TDC_TRIGSRC_START_SRC_AUXIO12)

Definition at line 192 of file aux_tdc.h.

#define AUXTDC_START_AUXIO13   (AUX_TDC_TRIGSRC_START_SRC_AUXIO13)

Definition at line 193 of file aux_tdc.h.

#define AUXTDC_START_AUXIO14   (AUX_TDC_TRIGSRC_START_SRC_AUXIO14)

Definition at line 194 of file aux_tdc.h.

#define AUXTDC_START_AUXIO15   (AUX_TDC_TRIGSRC_START_SRC_AUXIO15)

Definition at line 195 of file aux_tdc.h.

#define AUXTDC_START_AUXIO2   (AUX_TDC_TRIGSRC_START_SRC_AUXIO2)

Definition at line 182 of file aux_tdc.h.

#define AUXTDC_START_AUXIO3   (AUX_TDC_TRIGSRC_START_SRC_AUXIO3)

Definition at line 183 of file aux_tdc.h.

#define AUXTDC_START_AUXIO4   (AUX_TDC_TRIGSRC_START_SRC_AUXIO4)

Definition at line 184 of file aux_tdc.h.

#define AUXTDC_START_AUXIO5   (AUX_TDC_TRIGSRC_START_SRC_AUXIO5)

Definition at line 185 of file aux_tdc.h.

#define AUXTDC_START_AUXIO6   (AUX_TDC_TRIGSRC_START_SRC_AUXIO6)

Definition at line 186 of file aux_tdc.h.

#define AUXTDC_START_AUXIO7   (AUX_TDC_TRIGSRC_START_SRC_AUXIO7)

Definition at line 187 of file aux_tdc.h.

#define AUXTDC_START_AUXIO8   (AUX_TDC_TRIGSRC_START_SRC_AUXIO8)

Definition at line 188 of file aux_tdc.h.

#define AUXTDC_START_AUXIO9   (AUX_TDC_TRIGSRC_START_SRC_AUXIO9)

Definition at line 189 of file aux_tdc.h.

#define AUXTDC_START_FALL   (AUX_TDC_STAT_STATE_START_FALL)

Definition at line 120 of file aux_tdc.h.

#define AUXTDC_START_ISRC_RESET   (AUX_TDC_TRIGSRC_START_SRC_ISRC_RESET)

Definition at line 170 of file aux_tdc.h.

#define AUXTDC_START_MCU_EV   (AUX_TDC_TRIGSRC_START_SRC_MCU_EV)

Definition at line 197 of file aux_tdc.h.

#define AUXTDC_START_OBSMUX0   (AUX_TDC_TRIGSRC_START_SRC_OBSMUX0)

Definition at line 176 of file aux_tdc.h.

#define AUXTDC_START_OBSMUX1   (AUX_TDC_TRIGSRC_START_SRC_OBSMUX1)

Definition at line 177 of file aux_tdc.h.

#define AUXTDC_START_SMPH_AUTOTAKE_DONE   (AUX_TDC_TRIGSRC_START_SRC_SMPH_AUTOTAKE_DONE)

Definition at line 173 of file aux_tdc.h.

#define AUXTDC_START_TDC_PRE   (AUX_TDC_TRIGSRC_START_SRC_TDC_PRE)

Definition at line 198 of file aux_tdc.h.

#define AUXTDC_START_TIMER0_EV   (AUX_TDC_TRIGSRC_START_SRC_TIMER0_EV)

Definition at line 171 of file aux_tdc.h.

#define AUXTDC_START_TIMER1_EV   (AUX_TDC_TRIGSRC_START_SRC_TIMER1_EV)

Definition at line 172 of file aux_tdc.h.

#define AUXTDC_STARTPOL_FALL   (AUX_TDC_TRIGSRC_START_POL_LOW)

Definition at line 165 of file aux_tdc.h.

#define AUXTDC_STARTPOL_RIS   (AUX_TDC_TRIGSRC_START_POL_HIGH)

Definition at line 164 of file aux_tdc.h.

#define AUXTDC_STOP_ACLK_REF   (AUX_TDC_TRIGSRC_STOP_SRC_ACLK_REF)

Definition at line 160 of file aux_tdc.h.

#define AUXTDC_STOP_ADC_DONE   (AUX_TDC_TRIGSRC_STOP_SRC_ADC_DONE)

Definition at line 138 of file aux_tdc.h.

#define AUXTDC_STOP_ADC_FIFO_ALMOST_FULL   (AUX_TDC_TRIGSRC_STOP_SRC_ADC_FIFO_ALMOST_FULL)

Definition at line 139 of file aux_tdc.h.

#define AUXTDC_STOP_AON_PROG_WU   (AUX_TDC_TRIGSRC_STOP_SRC_AON_PROG_WU)

Definition at line 143 of file aux_tdc.h.

#define AUXTDC_STOP_AON_RTC_CH2   (AUX_TDC_TRIGSRC_STOP_SRC_AON_RTC_CH2)

Definition at line 131 of file aux_tdc.h.

#define AUXTDC_STOP_AON_SW   (AUX_TDC_TRIGSRC_STOP_SRC_AON_SW)

Definition at line 142 of file aux_tdc.h.

#define AUXTDC_STOP_AUX_COMPA   (AUX_TDC_TRIGSRC_STOP_SRC_AUX_COMPA)

Definition at line 132 of file aux_tdc.h.

#define AUXTDC_STOP_AUX_COMPB   (AUX_TDC_TRIGSRC_STOP_SRC_AUX_COMPB)

Definition at line 133 of file aux_tdc.h.

#define AUXTDC_STOP_AUXIO0   (AUX_TDC_TRIGSRC_STOP_SRC_AUXIO0)

Definition at line 144 of file aux_tdc.h.

#define AUXTDC_STOP_AUXIO1   (AUX_TDC_TRIGSRC_STOP_SRC_AUXIO1)

Definition at line 145 of file aux_tdc.h.

#define AUXTDC_STOP_AUXIO10   (AUX_TDC_TRIGSRC_STOP_SRC_AUXIO10)

Definition at line 154 of file aux_tdc.h.

#define AUXTDC_STOP_AUXIO11   (AUX_TDC_TRIGSRC_STOP_SRC_AUXIO11)

Definition at line 155 of file aux_tdc.h.

#define AUXTDC_STOP_AUXIO12   (AUX_TDC_TRIGSRC_STOP_SRC_AUXIO12)

Definition at line 156 of file aux_tdc.h.

#define AUXTDC_STOP_AUXIO13   (AUX_TDC_TRIGSRC_STOP_SRC_AUXIO13)

Definition at line 157 of file aux_tdc.h.

#define AUXTDC_STOP_AUXIO14   (AUX_TDC_TRIGSRC_STOP_SRC_AUXIO14)

Definition at line 158 of file aux_tdc.h.

#define AUXTDC_STOP_AUXIO15   (AUX_TDC_TRIGSRC_STOP_SRC_AUXIO15)

Definition at line 159 of file aux_tdc.h.

#define AUXTDC_STOP_AUXIO2   (AUX_TDC_TRIGSRC_STOP_SRC_AUXIO2)

Definition at line 146 of file aux_tdc.h.

#define AUXTDC_STOP_AUXIO3   (AUX_TDC_TRIGSRC_STOP_SRC_AUXIO3)

Definition at line 147 of file aux_tdc.h.

#define AUXTDC_STOP_AUXIO4   (AUX_TDC_TRIGSRC_STOP_SRC_AUXIO4)

Definition at line 148 of file aux_tdc.h.

#define AUXTDC_STOP_AUXIO5   (AUX_TDC_TRIGSRC_STOP_SRC_AUXIO5)

Definition at line 149 of file aux_tdc.h.

#define AUXTDC_STOP_AUXIO6   (AUX_TDC_TRIGSRC_STOP_SRC_AUXIO6)

Definition at line 150 of file aux_tdc.h.

#define AUXTDC_STOP_AUXIO7   (AUX_TDC_TRIGSRC_STOP_SRC_AUXIO7)

Definition at line 151 of file aux_tdc.h.

#define AUXTDC_STOP_AUXIO8   (AUX_TDC_TRIGSRC_STOP_SRC_AUXIO8)

Definition at line 152 of file aux_tdc.h.

#define AUXTDC_STOP_AUXIO9   (AUX_TDC_TRIGSRC_STOP_SRC_AUXIO9)

Definition at line 153 of file aux_tdc.h.

#define AUXTDC_STOP_ISRC_RESET   (AUX_TDC_TRIGSRC_STOP_SRC_ISRC_RESET)

Definition at line 134 of file aux_tdc.h.

#define AUXTDC_STOP_MCU_EV   (AUX_TDC_TRIGSRC_STOP_SRC_MCU_EV)

Definition at line 161 of file aux_tdc.h.

#define AUXTDC_STOP_OBSMUX0   (AUX_TDC_TRIGSRC_STOP_SRC_OBSMUX0)

Definition at line 140 of file aux_tdc.h.

#define AUXTDC_STOP_OBSMUX1   (AUX_TDC_TRIGSRC_STOP_SRC_OBSMUX1)

Definition at line 141 of file aux_tdc.h.

#define AUXTDC_STOP_SMPH_AUTOTAKE_DONE   (AUX_TDC_TRIGSRC_STOP_SRC_SMPH_AUTOTAKE_DONE)

Definition at line 137 of file aux_tdc.h.

#define AUXTDC_STOP_TDC_PRE   (AUX_TDC_TRIGSRC_STOP_SRC_TDC_PRE)

Definition at line 162 of file aux_tdc.h.

#define AUXTDC_STOP_TIMER0_EV   (AUX_TDC_TRIGSRC_STOP_SRC_TIMER0_EV)

Definition at line 135 of file aux_tdc.h.

#define AUXTDC_STOP_TIMER1_EV   (AUX_TDC_TRIGSRC_STOP_SRC_TIMER1_EV)

Definition at line 136 of file aux_tdc.h.

#define AUXTDC_STOPPOL_FALL   (AUX_TDC_TRIGSRC_STOP_POL_LOW)

Definition at line 129 of file aux_tdc.h.

#define AUXTDC_STOPPOL_RIS   (AUX_TDC_TRIGSRC_STOP_POL_HIGH)

Definition at line 128 of file aux_tdc.h.

#define AUXTDC_WAIT_CLRCNT_DONE   (AUX_TDC_STAT_STATE_WAIT_CLR_CNT_DONE)

Definition at line 119 of file aux_tdc.h.

#define AUXTDC_WAIT_START   (AUX_TDC_STAT_STATE_WAIT_START)

Definition at line 111 of file aux_tdc.h.

#define AUXTDC_WAIT_START_CNTEN   (AUX_TDC_STAT_STATE_WAIT_START_STOP_CNT_EN)

Definition at line 112 of file aux_tdc.h.

#define AUXTDC_WAIT_STOP   (AUX_TDC_STAT_STATE_WAIT_STOP)

Definition at line 115 of file aux_tdc.h.

#define AUXTDC_WAIT_STOP_CNTDOWN   (AUX_TDC_STAT_STATE_WAIT_STOP_CNTDWN)

Definition at line 116 of file aux_tdc.h.