S32 SDK
adc_converter_config_t Struct Reference

Defines the converter configuration. More...

#include <adc_driver.h>

Data Fields

adc_clk_divide_t clockDivide
 
uint8_t sampleTime
 
adc_resolution_t resolution
 
adc_input_clock_t inputClock
 
adc_trigger_t trigger
 
bool dmaEnable
 
adc_voltage_reference_t voltageRef
 
bool continuousConvEnable
 

Detailed Description

Defines the converter configuration.

This structure is used to configure the ADC converter

Implements : adc_converter_config_t_Class

Definition at line 44 of file adc_driver.h.

Field Documentation

adc_clk_divide_t clockDivide

Divider of the input clock for the ADC

Definition at line 46 of file adc_driver.h.

bool continuousConvEnable

Enable Continuous conversions

Definition at line 53 of file adc_driver.h.

bool dmaEnable

Enable DMA for the ADC

Definition at line 51 of file adc_driver.h.

adc_input_clock_t inputClock

Input clock source

Definition at line 49 of file adc_driver.h.

adc_resolution_t resolution

ADC resolution (8,10,12 bit)

Definition at line 48 of file adc_driver.h.

uint8_t sampleTime

Sample time in AD Clocks

Definition at line 47 of file adc_driver.h.

adc_trigger_t trigger

ADC trigger type (software, hardware)

Definition at line 50 of file adc_driver.h.

Voltage reference used

Definition at line 52 of file adc_driver.h.


The documentation for this struct was generated from the following file: