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
 
adc_pretrigger_sel_t pretriggerSel
 
adc_trigger_sel_t triggerSel
 
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 214 of file adc_driver.h.

Field Documentation

adc_clk_divide_t clockDivide

Divider of the input clock for the ADC

Definition at line 216 of file adc_driver.h.

bool continuousConvEnable

Enable Continuous conversions

Definition at line 225 of file adc_driver.h.

bool dmaEnable

Enable DMA for the ADC

Definition at line 223 of file adc_driver.h.

adc_input_clock_t inputClock

Input clock source

Definition at line 219 of file adc_driver.h.

adc_pretrigger_sel_t pretriggerSel

Pretrigger source selected from Trigger Latching and Arbitration Unit - affects only the first 4 control channels

Definition at line 221 of file adc_driver.h.

adc_resolution_t resolution

ADC resolution (8,10,12 bit)

Definition at line 218 of file adc_driver.h.

uint8_t sampleTime

Sample time in AD Clocks

Definition at line 217 of file adc_driver.h.

adc_trigger_t trigger

ADC trigger type (software, hardware) - affects only the first control channel

Definition at line 220 of file adc_driver.h.

adc_trigger_sel_t triggerSel

Trigger source selected from Trigger Latching and Arbitration Unit

Definition at line 222 of file adc_driver.h.

Voltage reference used

Definition at line 224 of file adc_driver.h.


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