ChibiOS/HAL
6.1.0
|
ADC Driver code. More...
#include "hal.h"
Go to the source code of this file.
Functions | |
void | adcInit (void) |
ADC Driver initialization. More... | |
void | adcObjectInit (ADCDriver *adcp) |
Initializes the standard part of a ADCDriver structure. More... | |
void | adcStart (ADCDriver *adcp, const ADCConfig *config) |
Configures and activates the ADC peripheral. More... | |
void | adcStop (ADCDriver *adcp) |
Deactivates the ADC peripheral. More... | |
void | adcStartConversion (ADCDriver *adcp, const ADCConversionGroup *grpp, adcsample_t *samples, size_t depth) |
Starts an ADC conversion. More... | |
void | adcStartConversionI (ADCDriver *adcp, const ADCConversionGroup *grpp, adcsample_t *samples, size_t depth) |
Starts an ADC conversion. More... | |
void | adcStopConversion (ADCDriver *adcp) |
Stops an ongoing conversion. More... | |
void | adcStopConversionI (ADCDriver *adcp) |
Stops an ongoing conversion. More... | |
msg_t | adcConvert (ADCDriver *adcp, const ADCConversionGroup *grpp, adcsample_t *samples, size_t depth) |
Performs an ADC conversion. More... | |
void | adcAcquireBus (ADCDriver *adcp) |
Gains exclusive access to the ADC peripheral. More... | |
void | adcReleaseBus (ADCDriver *adcp) |
Releases exclusive access to the ADC peripheral. More... | |
ADC Driver code.
Definition in file hal_adc.c.