XMC Peripheral Library for XMC4000 Family
2.1.16
|
#include <xmc_vadc.h>
Data Fields | |
int8_t | alias_channel |
bool | channel_priority |
uint32_t | alternate_reference: 1 |
uint32_t | boundary_flag_mode_ch0: 4 |
uint32_t | boundary_flag_mode_ch1: 4 |
uint32_t | boundary_flag_mode_ch2: 4 |
uint32_t | boundary_flag_mode_ch3: 4 |
uint32_t | broken_wire_detect: 1 |
uint32_t | broken_wire_detect_channel: 2 |
uint32_t | event_gen_criteria: 2 |
uint32_t | flag_output_condition_ch0: 1 |
uint32_t | flag_output_condition_ch1: 1 |
uint32_t | flag_output_condition_ch2: 1 |
uint32_t | flag_output_condition_ch3: 1 |
uint32_t | input_class: 2 |
uint32_t | invert_boundary_flag_ch0: 1 |
uint32_t | invert_boundary_flag_ch1: 1 |
uint32_t | invert_boundary_flag_ch2: 1 |
uint32_t | invert_boundary_flag_ch3: 1 |
uint32_t | lower_boundary_select: 2 |
uint32_t | result_alignment: 1 |
uint32_t | result_reg_number: 4 |
uint32_t | sync_conversion: 1 |
uint32_t | upper_boundary_select: 2 |
uint32_t | use_global_result: 1 |
Detailed Description
Structure initializing the VADC channel. Use type XMC_VADC_CHANNEL_CONFIG_t for this enumeration.
Field Documentation
int8_t alias_channel |
Specifies the channel which has to be aliased with CH0/CH1 (which ever is applicable). Force the value to (int8_t)-1 to bypass alias feature. Uses XMC_VADC_CHANNEL_ALIAS_t for configuration.
uint32_t alternate_reference |
Input reference voltage selection either VARef or CH-0. Uses XMC_VADC_CHANNEL_REF_t
uint32_t boundary_flag_mode_ch0 |
Specify the basic operation of boundary flag 0 Uses XMC_VADC_GROUP_BOUNDARY_FLAG_MODE_t
uint32_t boundary_flag_mode_ch1 |
Specify the basic operation of boundary flag 1 Uses XMC_VADC_GROUP_BOUNDARY_FLAG_MODE_t
uint32_t boundary_flag_mode_ch2 |
Specify the basic operation of boundary flag 2 Uses XMC_VADC_GROUP_BOUNDARY_FLAG_MODE_t
uint32_t boundary_flag_mode_ch3 |
Specify the basic operation of boundary flag 3 Uses XMC_VADC_GROUP_BOUNDARY_FLAG_MODE_t
uint32_t broken_wire_detect |
Configures extra phase before the capacitor is sampled.
uint32_t broken_wire_detect_channel |
Source to be used to charge the capacitor for BWD feature. Uses XMC_VADC_CHANNEL_BWDCH_t.
bool channel_priority |
Only non priority channels can be converted by Background Request Source
uint32_t event_gen_criteria |
When should an event be generated? Uses XMC_VADC_CHANNEL_EVGEN_t
uint32_t flag_output_condition_ch0 |
Condition for which the boundary flag should change. Uses XMC_VADC_CHANNEL_BOUNDARY_CONDITION_t
uint32_t flag_output_condition_ch1 |
Condition for which the boundary flag should change. Uses XMC_VADC_CHANNEL_BOUNDARY_CONDITION_t
uint32_t flag_output_condition_ch2 |
Condition for which the boundary flag should change. Uses XMC_VADC_CHANNEL_BOUNDARY_CONDITION_t
uint32_t flag_output_condition_ch3 |
Condition for which the boundary flag should change. Uses XMC_VADC_CHANNEL_BOUNDARY_CONDITION_t
uint32_t input_class |
Input conversion class selection. Uses XMC_VADC_CHANNEL_CONV_t
uint32_t invert_boundary_flag_ch0 |
Inverts boundary flag output.
uint32_t invert_boundary_flag_ch1 |
Inverts boundary flag output.
uint32_t invert_boundary_flag_ch2 |
Inverts boundary flag output.
uint32_t invert_boundary_flag_ch3 |
Inverts boundary flag output.
uint32_t lower_boundary_select |
Which boundary register serves as lower bound? Accepts enum XMC_VADC_CHANNEL_BOUNDARY_t
uint32_t result_alignment |
Alignment of the results read in the result register. Uses XMC_VADC_RESULT_ALIGN_t
uint32_t result_reg_number |
Group result register number
uint32_t sync_conversion |
Enables synchronous conversion for the configured channel
uint32_t upper_boundary_select |
Which boundary register serves as upper bound? Accepts enum XMC_VADC_CHANNEL_BOUNDARY_t
uint32_t use_global_result |
Use global result register for background request source channels
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 1.8.11