|
PER Firmware
|
Runtime handle for one ADC instance. More...
#include <adc.h>
Public Attributes | |
| const PHAL_ADC_Config_t * | config |
| PHAL_DMA_Handle_t | dma |
| volatile bool | busy |
| volatile bool | transfer_error |
Runtime handle for one ADC instance.
Zero-initialize (or static declare) and pass to PHAL_ADC_init(). Do not touch the fields yourself.
| volatile bool PHAL_ADC_Handle_t::busy |
true while a transfer is in flight
| const PHAL_ADC_Config_t* PHAL_ADC_Handle_t::config |
the config passed to PHAL_ADC_init()
| PHAL_DMA_Handle_t PHAL_ADC_Handle_t::dma |
DMA channel claimed for this ADC
| volatile bool PHAL_ADC_Handle_t::transfer_error |
set if the last in-flight transfer hit a DMA error