XMC Peripheral Library for XMC4000 Family: XMC_VADC_SCAN_CONFIG_t Struct Reference

XMC Peripheral Library for XMC4000 Family

XMC Peripheral Library for XMC4000 Family  2.1.16
XMC_VADC_SCAN_CONFIG_t Struct Reference

#include <xmc_vadc.h>

Data Fields

uint32_t conv_start_mode: 2
 
uint32_t req_src_priority: 2
 
uint32_t enable_auto_scan: 1
 
uint32_t external_trigger: 1
 
uint32_t gate_signal: 4
 
uint32_t load_mode: 1
 
uint32_t req_src_interrupt: 1
 
uint32_t src_specific_result_reg: 4
 
uint32_t timer_mode: 1
 
uint32_t trigger_edge: 2
 
uint32_t trigger_signal: 4
 

Detailed Description

Structure initializing the VADC scan request source. Use type XMC_VADC_SCAN_CONFIG_t for this structure.

Field Documentation

uint32_t conv_start_mode

One converter is shared between the queue and scan request sources of the same group. This field determines how scan request source would request for conversion. Uses XMC_VADC_STARTMODE_t

uint32_t enable_auto_scan

Enables the continuous conversion mode. Conversion completion of the last channel in a scan sequence will cause a load event.

uint32_t external_trigger

Conversions be initiated by external hardware trigger

uint32_t gate_signal

Select one of the 16 possibilities for gating. Uses XMC_VADC_GATE_INPUT_SELECT_t

uint32_t load_mode

Selects load event mode. Uses XMC_VADC_SCAN_LOAD_t

uint32_t req_src_interrupt

Request source event can be generated after a conversion sequence

uint32_t req_src_priority

Request source priority for the arbiter. If the Conversion start mode has been selected as Cancel inject repeat/Never mode then this field would determine the priority of scan request source. Uses XMC_VADC_GROUP_RS_PRIORITY_t

uint32_t src_specific_result_reg

Use any one Group related result register as the destination for all conversions results. To use the individual result register from each channel configuration, configure this field with 0x0

uint32_t timer_mode

Decides whether timer mode for equi-distant sampling shall be activated or not.

uint32_t trigger_edge

Edge selection for trigger signal. Uses XMC_VADC_TRIGGER_EDGE_t

uint32_t trigger_signal

Select one of the 16 possibilities for trigger. Uses XMC_VADC_TRIGGER_INPUT_SELECT_t enumeration


The documentation for this struct was generated from the following file:
Generated on Mon Aug 7 2017 11:33:58 for XMC Peripheral Library for XMC4000 Family by   doxygen 1.8.11