ChibiOS/HAL
7.0.3
|
Structure representing an ADC driver. More...
#include <hal_adc.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... | |
adcstate_t hal_adc_driver::state |
Driver state.
Definition at line 163 of file hal_adc.h.
Referenced by adc_lld_start(), adc_lld_stop(), adcObjectInit(), adcStart(), adcStartConversionI(), adcStop(), adcStopConversion(), and adcStopConversionI().
const ADCConfig* hal_adc_driver::config |
Current configuration data.
Definition at line 167 of file hal_adc.h.
Referenced by adcObjectInit(), adcStart(), and adcStop().
adcsample_t* hal_adc_driver::samples |
Current samples buffer pointer or NULL
.
Definition at line 171 of file hal_adc.h.
Referenced by adcObjectInit(), and adcStartConversionI().
size_t hal_adc_driver::depth |
Current samples buffer depth or 0
.
Definition at line 175 of file hal_adc.h.
Referenced by adcObjectInit(), and adcStartConversionI().
const ADCConversionGroup* hal_adc_driver::grpp |
Current conversion group pointer or NULL
.
Definition at line 179 of file hal_adc.h.
Referenced by adcObjectInit(), adcStartConversionI(), adcStopConversion(), and adcStopConversionI().
thread_reference_t hal_adc_driver::thread |
Waiting thread.
Definition at line 184 of file hal_adc.h.
Referenced by adcConvert(), and adcObjectInit().
mutex_t hal_adc_driver::mutex |
Mutex protecting the peripheral.
Definition at line 190 of file hal_adc.h.
Referenced by adcAcquireBus(), adcObjectInit(), and adcReleaseBus().