ChibiOS/HAL
6.1.0
|
Structure representing an ADC driver. More...
#include <hal_adc_lld.h>
Data Fields | |
adcstate_t | state |
Driver state. More... | |
const ADCConfig * | config |
Current configuration data. More... | |
adcsample_t * | samples |
Current samples buffer pointer or NULL . More... | |
size_t | depth |
Current samples buffer depth or 0 . More... | |
const ADCConversionGroup * | grpp |
Current conversion group pointer or NULL . More... | |
thread_reference_t | thread |
Waiting thread. More... | |
mutex_t | mutex |
Mutex protecting the peripheral. More... | |
Structure representing an ADC driver.
Definition at line 144 of file hal_adc_lld.h.
adcstate_t ADCDriver::state |
Driver state.
Definition at line 148 of file hal_adc_lld.h.
Referenced by adc_lld_start(), adc_lld_stop(), adcObjectInit(), adcStart(), adcStartConversionI(), adcStop(), adcStopConversion(), and adcStopConversionI().
const ADCConfig* ADCDriver::config |
Current configuration data.
Definition at line 152 of file hal_adc_lld.h.
Referenced by adcObjectInit(), adcStart(), and adcStop().
adcsample_t* ADCDriver::samples |
Current samples buffer pointer or NULL
.
Definition at line 156 of file hal_adc_lld.h.
Referenced by adcObjectInit(), and adcStartConversionI().
size_t ADCDriver::depth |
Current samples buffer depth or 0
.
Definition at line 160 of file hal_adc_lld.h.
Referenced by adcObjectInit(), and adcStartConversionI().
const ADCConversionGroup* ADCDriver::grpp |
Current conversion group pointer or NULL
.
Definition at line 164 of file hal_adc_lld.h.
Referenced by adcObjectInit(), adcStartConversionI(), adcStopConversion(), and adcStopConversionI().
thread_reference_t ADCDriver::thread |
Waiting thread.
Definition at line 169 of file hal_adc_lld.h.
Referenced by adcConvert(), and adcObjectInit().
mutex_t ADCDriver::mutex |
Mutex protecting the peripheral.
Definition at line 175 of file hal_adc_lld.h.
Referenced by adcAcquireBus(), adcObjectInit(), and adcReleaseBus().