|
PFC:800WPSUC7-4pin
|
Files | |
| file | adc.c |
| ADC peripheral configuration. | |
| file | adc.h |
| ADC peripheral configuration header. | |
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... | |
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 |
| 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.
| const XMC_VADC_CHANNEL_CONFIG_t g0_channel0_alias6_config |
G0 Channel6 configuration data, Alias of CH0
| const XMC_VADC_CHANNEL_CONFIG_t g0_channel4_config |
G0 Channel4 (T) configuration data
| const XMC_VADC_CHANNEL_CONFIG_t g0_channel5_config |
G0 Channel5 (V_ac) configuration data
| const XMC_VADC_CHANNEL_CONFIG_t g0_channel6_config |
G0 Channel6 (iL) configuration data
| const XMC_VADC_CHANNEL_CONFIG_t g0_channel7_config |
G0 Channel7 (V_bulk) configuration data
| const XMC_VADC_BACKGROUND_CONFIG_t g_backgnd_config |
| const XMC_VADC_GLOBAL_CONFIG_t g_global_config |
Initialization data of VADC Global resources
| const XMC_VADC_GROUP_CONFIG_t g_group_config |
Initialization data of a VADC group
| const XMC_VADC_QUEUE_CONFIG_t g_queue_config |
Queue configuration
| const XMC_VADC_QUEUE_ENTRY_t g_queue_entry1 |
Queue Entry 1: Inductor current
| const XMC_VADC_QUEUE_ENTRY_t g_queue_entry2 |
Queue Entry 2: AC input voltage
| const XMC_VADC_RESULT_CONFIG_t g_result0_handle |
Temperature Result configuration data
| const XMC_VADC_RESULT_CONFIG_t g_result15_handle |
Bulk voltage Result configuration data
| const XMC_VADC_RESULT_CONFIG_t g_result1_handle |
AC input voltage Result configuration data
| const XMC_VADC_RESULT_CONFIG_t g_result7_handle |
Inductor current Result configuration data
| const XMC_VADC_SCAN_CONFIG_t g_scan_config |
Scan configuration