![]() |
ChibiOS/RT Architecture - Reference Manual - Guides |
ADC Driver code. More...
#include "ch.h"#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. | |
| void | adcStart (ADCDriver *adcp, const ADCConfig *config) |
| Configures and activates the ADC peripheral. | |
| void | adcStop (ADCDriver *adcp) |
| Deactivates the ADC peripheral. | |
| bool_t | adcStartConversion (ADCDriver *adcp, const ADCConversionGroup *grpp, adcsample_t *samples, size_t depth, adccallback_t callback) |
| Starts an ADC conversion. | |
| void | adcStopConversion (ADCDriver *adcp) |
| Stops an ongoing conversion. | |
| msg_t | adcWaitConversion (ADCDriver *adcp, systime_t timeout) |
| Waits for completion. | |
ADC Driver code.
Definition in file adc.c.
1.7.1