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