295 #ifndef ti_drivers_adc_adcbufcc26xx__include 296 #define ti_drivers_adc_adcbufcc26xx__include 302 #include <ti/drivers/PIN.h> 303 #include <ti/drivers/pin/PINCC26XX.h> 309 #include <ti/devices/DeviceFamily.h> 310 #include DeviceFamily_constructPath(driverlib/aux_adc.h) 312 #include <ti/drivers/dpl/HwiP.h> 313 #include <ti/drivers/dpl/ClockP.h> 314 #include <ti/drivers/dpl/SemaphoreP.h> 315 #include <ti/drivers/dpl/SwiP.h> 350 #define ADCBufCC26XX_CMD_ACQUIRE_ADC_SEMAPHORE ADCBuf_CMD_RESERVED + 1 367 #define ADCBufCC26XX_CMD_KEEP_ADC_SEMAPHORE ADCBuf_CMD_RESERVED + 2 377 #define ADCBufCC26XX_CMD_KEEP_ADC_SEMAPHORE_DISABLE ADCBuf_CMD_RESERVED + 3 385 #define ADCBufCC26XX_CMD_RELEASE_ADC_SEMAPHORE ADCBuf_CMD_RESERVED + 4 392 #define ADCBufCC26XX_RESOLUTION 12 394 #define ADCBufCC26XX_BYTES_PER_SAMPLE 2 ADCBufCC26XX_Sampling_Mode
Specifies whether the internal reference of the ADC is sourced from the battery voltage or a fixed in...
Definition: ADCBufCC26XX.h:426
Definition: ADCBufCC26XX.h:428
Definition: ADCBufCC26XX.h:494
Definition: ADCBufCC26XX.h:444
GPTimerCC26XX_Handle timerHandle
Definition: ADCBufCC26XX.h:659
GPTimer driver implementation for CC26XX/CC13XX.
ADCBufCC26XX_Reference_Source refSource
Definition: ADCBufCC26XX.h:534
bool inputScalingEnabled
Definition: ADCBufCC26XX.h:550
bool adcSemaphoreInPossession
Definition: ADCBufCC26XX.h:619
Definition: ADCBufCC26XX.h:448
bool isOpen
Definition: ADCBufCC26XX.h:611
ADCBufCC26XX Hardware Attributes.
Definition: ADCBufCC26XX.h:573
ADCBuf_Return_Mode returnMode
Definition: ADCBufCC26XX.h:633
Definition: ADCBufCC26XX.h:455
Analog to Digital Conversion Buffer (ADCBuf) Input Driver.
Definition: ADCBufCC26XX.h:452
ADCBufCC26XX_Sampling_Mode samplingMode
Definition: ADCBufCC26XX.h:531
uint32_t swiPriority
ADC SWI priority. The higher the number, the higher the priority. The minimum is 0 and the maximum is...
Definition: ADCBufCC26XX.h:581
UDMACC26XX Global configuration.
Definition: UDMACC26XX.h:253
Power manager interface for CC26XX/CC13XX.
uint32_t semaphoreTimeout
Definition: ADCBufCC26XX.h:662
CC26XX specfic extension to ADCBuf_Params.
Definition: ADCBufCC26XX.h:525
PIN_Handle pinHandle
Definition: ADCBufCC26XX.h:651
Definition: ADCBufCC26XX.h:449
uint8_t intPriority
ADC peripheral's interrupt priority.
Definition: ADCBufCC26XX.h:596
ADCBufCC26XX_Reference_Source refSource
Definition: ADCBufCC26XX.h:623
Definition: ADCBufCC26XX.h:451
bool inputScalingEnabled
Definition: ADCBufCC26XX.h:615
ADCBufCC26XX_Sampling_Duration samplingDuration
Definition: ADCBufCC26XX.h:528
Definition: ADCBufCC26XX.h:450
bool keepADCSemaphore
Definition: ADCBufCC26XX.h:617
ADCBufCC26XX_Sampling_Duration samplingDuration
Definition: ADCBufCC26XX.h:627
ADCBuf_Callback callbackFxn
Definition: ADCBufCC26XX.h:629
ADCBuf_Recurrence_Mode recurrenceMode
Definition: ADCBufCC26XX.h:631
Definition: ADCBufCC26XX.h:453
Definition: ADCBufCC26XX.h:456
struct ADCBufCC26XX_Object * ADCBufCC26XX_Handle
The definition of an ADCBuf function table that contains the required set of functions to control a s...
Definition: ADCBuf.h:598
Definition: ADCBufCC26XX.h:429
UDMACC26XX driver implementation.
Definition: ADCBufCC26XX.h:447
Definition: ADCBufCC26XX.h:493
ADCBufCC26XX_Reference_Source
Specifies whether the internal reference of the ADC is sourced from the battery voltage or a fixed in...
Definition: ADCBufCC26XX.h:491
UDMACC26XX_Handle udmaHandle
Definition: ADCBufCC26XX.h:655
Definition: ADCBufCC26XX.h:445
bool conversionInProgress
Definition: ADCBufCC26XX.h:613
SemaphoreP_Struct conversionComplete
Definition: ADCBufCC26XX.h:643
uint8_t currentChannel
Definition: ADCBufCC26XX.h:621
ADCBufCC26XX_AdcChannelLutEntry const * adcChannelLut
Definition: ADCBufCC26XX.h:599
GPTimer Global configuration.
Definition: GPTimerCC26XX.h:404
ADCBufCC26XX_Sampling_Mode samplingMode
Definition: ADCBufCC26XX.h:625
ADCBuf_Recurrence_Mode
Recurrence behavior of a ADCBuf_Conversion specified in the ADCBuf_Params.
Definition: ADCBuf.h:406
ADCBuf_Return_Mode
Return behavior for ADCBuf_convert() specified in the ADCBuf_Params.
Definition: ADCBuf.h:448
uint8_t dio
Definition: ADCBufCC26XX.h:513
PIN_State pinState
Definition: ADCBufCC26XX.h:649
ADCBuf_Conversion * currentConversion
Definition: ADCBufCC26XX.h:645
SwiP_Struct swi
Definition: ADCBufCC26XX.h:641
uint32_t samplingFrequency
Definition: ADCBufCC26XX.h:664
Defines a conversion to be used with ADCBuf_convert().
Definition: ADCBuf.h:314
uint8_t compBInput
Definition: ADCBufCC26XX.h:514
Definition: ADCBufCC26XX.h:446
Definition: ADCBufCC26XX.h:454
ADCBufCC26XX Object.
Definition: ADCBufCC26XX.h:607
const ADCBuf_FxnTable ADCBufCC26XX_fxnTable
HwiP_Struct hwi
Definition: ADCBufCC26XX.h:639
void(* ADCBuf_Callback)(ADCBuf_Handle handle, ADCBuf_Conversion *conversion, void *completedADCBuffer, uint32_t completedChannel, int_fast16_t status)
The definition of a callback function.
Definition: ADCBuf.h:392
Table entry that maps a virtual adc channel to a dio and its corresponding internal analogue signal...
Definition: ADCBufCC26XX.h:511
uint16_t * activeSampleBuffer
Definition: ADCBufCC26XX.h:635
ADCBufCC26XX_Sampling_Duration
Amount of time the ADC spends sampling the analogue input.
Definition: ADCBufCC26XX.h:442