CC26xx Driver Library |

- Main Page
- Related Pages
- CC26xx APIs
- Register Descriptions
- Online Resources

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Macros | Functions
aux_tdc.h File Reference
`#include <stdbool.h>`
`#include <stdint.h>`
`#include <inc/hw_types.h>`
`#include <inc/hw_memmap.h>`
`#include <inc/hw_ints.h>`
`#include <inc/hw_aux_tdc.h>`
`#include <driverlib/debug.h>`

Go to the source code of this file.

## Macros
#define | AUX_TDC_BUSY 0x00000001
#define | AUX_TDC_TIMEOUT 0x00000002
#define | AUX_TDC_DONE 0x00000004
#define | AUX_TDC_RUNSYNC 0x00000001
#define | AUX_TDC_RUN 0x00000002
#define | AUX_TDC_ABORT 0x00000003
#define | AUXTDC_WAIT_START AUX_TDC_STAT_STATE_WAIT_START
#define | AUXTDC_WAIT_START_CNTEN AUX_TDC_STAT_STATE_WAIT_START_STOP_CNT_EN
#define | AUXTDC_IDLE AUX_TDC_STAT_STATE_IDLE
#define | AUXTDC_CLRCNT AUX_TDC_STAT_STATE_CLR_CNT
#define | AUXTDC_WAIT_STOP AUX_TDC_STAT_STATE_WAIT_STOP
#define | AUXTDC_WAIT_STOP_CNTDOWN AUX_TDC_STAT_STATE_WAIT_STOP_CNTDWN
#define | AUXTDC_GETRESULTS AUX_TDC_STAT_STATE_GET_RESULT
#define | AUXTDC_POR AUX_TDC_STAT_STATE_POR
#define | AUXTDC_WAIT_CLRCNT_DONE AUX_TDC_STAT_STATE_WAIT_CLR_CNT_DONE
#define | AUXTDC_START_FALL AUX_TDC_STAT_STATE_START_FALL
#define | AUXTDC_FORCE_STOP AUX_TDC_STAT_STATE_FORCE_STOP
#define | AUXTDC_STOPPOL_RIS 0x00000000
#define | AUXTDC_STOPPOL_FALL 0x00002000
#define | AUXTDC_STOP_AON_WUC 0x00000000
#define | AUXTDC_STOP_CMP_A 0x00000100
#define | AUXTDC_STOP_CMP_B 0x00000200
#define | AUXTDC_STOP_CS_RESET 0x00000300
#define | AUXTDC_STOP_TIMER0 0x00000400
#define | AUXTDC_STOP_TIMER1 0x00000500
#define | AUXTDC_STOP_ADC_DONE 0x00000700
#define | AUXTDC_STOP_AIO0 0x00000D00
#define | AUXTDC_STOP_AIO1 0x00000E00
#define | AUXTDC_STOP_AIO2 0x00000F00
#define | AUXTDC_STOP_AIO3 0x00001000
#define | AUXTDC_STOP_AIO4 0x00001100
#define | AUXTDC_STOP_AIO5 0x00001200
#define | AUXTDC_STOP_AIO6 0x00001300
#define | AUXTDC_STOP_AIO7 0x00001400
#define | AUXTDC_STOP_AIO8 0x00001500
#define | AUXTDC_STOP_AIO9 0x00001600
#define | AUXTDC_STOP_AIO10 0x00001700
#define | AUXTDC_STOP_AIO11 0x00001800
#define | AUXTDC_STOP_AIO12 0x00001900
#define | AUXTDC_STOP_AIO13 0x00001A00
#define | AUXTDC_STOP_AIO14 0x00001B00
#define | AUXTDC_STOP_AIO15 0x00001C00
#define | AUXTDC_STOP_ACLK 0x00001D00
#define | AUXTDC_STOP_MCU_EVT 0x00001E00
#define | AUXTDC_STOP_PRESCALER 0x00001F00
#define | AUXTDC_STARTPOL_RIS 0x00000000
#define | AUXTDC_STARTPOL_FALL 0x00002000
#define | AUXTDC_START_AON_WUC 0x00000000
#define | AUXTDC_START_CMP_A 0x00000001
#define | AUXTDC_START_CMP_B 0x00000002
#define | AUXTDC_START_CS_RESET 0x00000003
#define | AUXTDC_START_TIMER0 0x00000004
#define | AUXTDC_START_TIMER1 0x00000005
#define | AUXTDC_START_ADC_DONE 0x00000007
#define | AUXTDC_START_AIO0 0x0000000D
#define | AUXTDC_START_AIO1 0x0000000E
#define | AUXTDC_START_AIO2 0x0000000F
#define | AUXTDC_START_AIO3 0x00000010
#define | AUXTDC_START_AIO4 0x00000011
#define | AUXTDC_START_AIO5 0x00000012
#define | AUXTDC_START_AIO6 0x00000013
#define | AUXTDC_START_AIO7 0x00000014
#define | AUXTDC_START_AIO8 0x00000015
#define | AUXTDC_START_AIO9 0x00000016
#define | AUXTDC_START_AIO10 0x00000017
#define | AUXTDC_START_AIO11 0x00000018
#define | AUXTDC_START_AIO12 0x00000019
#define | AUXTDC_START_AIO13 0x0000001A
#define | AUXTDC_START_AIO14 0x0000001B
#define | AUXTDC_START_AIO15 0x0000001C
#define | AUXTDC_START_ACLK 0x0000001D
#define | AUXTDC_START_MCU_EVT 0x0000001E
#define | AUXTDC_START_PRESCALER 0x0000001F
#define | AUXTDC_SAT_512 0x00000000
#define | AUXTDC_SAT_1024 0x00000001
#define | AUXTDC_SAT_2048 0x00000002
#define | AUXTDC_SAT_4096 0x00000003
#define | AUXTDC_SAT_8192 0x00000004
#define | AUXTDC_SAT_16384 0x00000005
#define | AUXTDC_SAT_32768 0x00000006
#define | AUXTDC_SAT_65536 0x00000007
#define | AUXTDC_SAT_131072 0x00000008
#define | AUXTDC_SAT_262144 0x00000009
#define | AUXTDC_SAT_524288 0x0000000A
#define | AUXTDC_SAT_1048576 0x0000000B
#define | AUXTDC_SAT_2097152 0x0000000C
#define | AUXTDC_SAT_4194304 0x0000000D
#define | AUXTDC_SAT_8388608 0x0000000E
#define | AUXTDC_SAT_WRAP_AROUND 0x0000000F
#define | AUXTDC_NUM_SAT_VALS 16

## Functions
__STATIC_INLINE 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_INLINE bool | AUXTDCIdle (uint32_t ui32Base)
| Check if the AUX TDC is in idle mode. More...
__STATIC_INLINE void | AUXTDCEnable (uint32_t ui32Base, uint32_t ui32RunMode)
| Enable the AUX TDC for a measurement. More...
__STATIC_INLINE 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_INLINE uint32_t | AUXTDCMeasurementGet (uint32_t ui32Base)
| Get the value of the latest measurement. More...
__STATIC_INLINE void | AUXTDCLimitSet (uint32_t ui32Base, uint32_t ui32Limit)
| Set the saturation limit of the measurement. More...
__STATIC_INLINE uint32_t | AUXTDCLimitGet (uint32_t ui32Base)
| Get the saturation limit of the measurement. More...
__STATIC_INLINE bool | AUXTDCCounterEnable (uint32_t ui32Base)
| Enables the counter if possible. More...
__STATIC_INLINE bool | AUXTDCCounterDisable (uint32_t ui32Base)
| Disables the counter if possible. More...
__STATIC_INLINE 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_INLINE uint32_t | AUXTDCCounterGet (uint32_t ui32Base)
| Get the current number of counter compare/stop event to ignore before taking a measurement. More...