![]() |
![]() |
TI-RTOS Drivers
tidrivers_full_2_20_01_10
|
ADCBufCC26XX Object. More...
#include <ADCBufCC26XX.h>
Data Fields | |
bool | isOpen |
bool | conversionInProgress |
bool | inputScalingEnabled |
bool | keepADCSemaphore |
bool | adcSemaphoreInPossession |
uint8_t | currentChannel |
ADCBufCC26XX_Reference_Source | refSource |
ADCBufCC26XX_Sampling_Mode | samplingMode |
ADCBufCC26XX_Sampling_Duration | samplingDuration |
ADCBuf_Callback | callbackFxn |
ADCBuf_Recurrence_Mode | recurrenceMode |
ADCBuf_Return_Mode | returnMode |
Hwi_Struct | hwi |
Swi_Struct | swi |
Semaphore_Struct | conversionComplete |
ADCBuf_Conversion * | currentConversion |
PIN_State | pinState |
PIN_Handle | pinHandle |
UDMACC26XX_Handle | udmaHandle |
GPTimerCC26XX_Handle | timerHandle |
uint32_t | semaphoreTimeout |
uint32_t | samplingFrequency |
ADCBufCC26XX Object.
The application must not access any member variables of this structure!
bool ADCBufCC26XX_Object::isOpen |
Has the obj been opened
bool ADCBufCC26XX_Object::conversionInProgress |
Is the ADC currently doing conversions
bool ADCBufCC26XX_Object::inputScalingEnabled |
Is the analogue input scaled
bool ADCBufCC26XX_Object::keepADCSemaphore |
Should the driver keep the ADC semaphore after a conversion
bool ADCBufCC26XX_Object::adcSemaphoreInPossession |
Does the driver currently possess the ADC semaphore
uint8_t ADCBufCC26XX_Object::currentChannel |
The current virtual channel the ADCBuf driver is sampling on
ADCBufCC26XX_Reference_Source ADCBufCC26XX_Object::refSource |
Reference source for the ADC to use
ADCBufCC26XX_Sampling_Mode ADCBufCC26XX_Object::samplingMode |
Synchronous or asynchronous sampling mode
ADCBufCC26XX_Sampling_Duration ADCBufCC26XX_Object::samplingDuration |
Time the ADC spends sampling in ADCBufCC26XX_SAMPING_MODE_SYNCHRONOUS
ADCBuf_Callback ADCBufCC26XX_Object::callbackFxn |
Pointer to callback function
ADCBuf_Recurrence_Mode ADCBufCC26XX_Object::recurrenceMode |
Should we convert continuously or one-shot
ADCBuf_Return_Mode ADCBufCC26XX_Object::returnMode |
Mode for all conversions
Hwi_Struct ADCBufCC26XX_Object::hwi |
Hwi object
Swi_Struct ADCBufCC26XX_Object::swi |
Swi object
Semaphore_Struct ADCBufCC26XX_Object::conversionComplete |
ADC semaphore
ADCBuf_Conversion* ADCBufCC26XX_Object::currentConversion |
Pointer to the current conversion struct
PIN_State ADCBufCC26XX_Object::pinState |
Pin state object
PIN_Handle ADCBufCC26XX_Object::pinHandle |
Pin handle
UDMACC26XX_Handle ADCBufCC26XX_Object::udmaHandle |
UDMA handle
GPTimerCC26XX_Handle ADCBufCC26XX_Object::timerHandle |
Handle to underlying GPTimer peripheral
uint32_t ADCBufCC26XX_Object::semaphoreTimeout |
Timeout for read semaphore in ADCBuf_RETURN_MODE_BLOCKING
uint32_t ADCBufCC26XX_Object::samplingFrequency |
Frequency in Hz at which the ADC is triggered