PFC:800WPSUC7-4pin
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
adc.c File Reference

ADC peripheral configuration. More...

#include "adc.h"
#include "control_interrupts.h"

Functions

void VADC_Init (void)
 Configuration and initialization of the ADC peripheral.
Global, group, channels and results are configured. Queue is configured and initialize. Scan is configured and load event generated. Pointer to the ADC measurements are defined. More...
 

Variables

Global ADC configuration
const XMC_VADC_GLOBAL_CONFIG_t g_global_config
 
Group ADC configuration
const XMC_VADC_GROUP_CONFIG_t g_group_config
 
Channel ADC configuration
const XMC_VADC_CHANNEL_CONFIG_t g0_channel4_config
 
const XMC_VADC_CHANNEL_CONFIG_t g0_channel5_config
 
const XMC_VADC_CHANNEL_CONFIG_t g0_channel6_config
 
const XMC_VADC_CHANNEL_CONFIG_t g0_channel7_config
 
const XMC_VADC_CHANNEL_CONFIG_t g0_channel0_alias6_config
 
Result ADC configuration
const XMC_VADC_RESULT_CONFIG_t g_result0_handle
 
const XMC_VADC_RESULT_CONFIG_t g_result1_handle
 
const XMC_VADC_RESULT_CONFIG_t g_result7_handle
 
const XMC_VADC_RESULT_CONFIG_t g_result15_handle
 
Queue ADC configuration
const XMC_VADC_QUEUE_CONFIG_t g_queue_config
 
const XMC_VADC_QUEUE_ENTRY_t g_queue_entry1
 
const XMC_VADC_QUEUE_ENTRY_t g_queue_entry2
 
Scan ADC configuration
const XMC_VADC_SCAN_CONFIG_t g_scan_config
 
Background ADC configuration
const XMC_VADC_BACKGROUND_CONFIG_t g_backgnd_config
 

Detailed Description

ADC peripheral configuration.

Author
Meneses Herrera, David
Date
20.06.2017