|
3.3kW Totem-pole PFC with SiC and XMC1404
|
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 |
| const XMC_VADC_GLOBAL_SHS_CONFIG_t | adc_sh_config |
Group ADC configuration | |
| const XMC_VADC_GROUP_CONFIG_t | g_group_config |
Channel ADC configuration | |
| const XMC_VADC_CHANNEL_CONFIG_t | g1_channel3_config |
| const XMC_VADC_CHANNEL_CONFIG_t | g1_channel2_config |
| const XMC_VADC_CHANNEL_CONFIG_t | g1_channel7_config |
Result ADC configuration | |
| const XMC_VADC_RESULT_CONFIG_t | g_result0_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 |
| 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_GLOBAL_SHS_CONFIG_t adc_sh_config |
| const XMC_VADC_CHANNEL_CONFIG_t g1_channel2_config |
| const XMC_VADC_CHANNEL_CONFIG_t g1_channel3_config |
| const XMC_VADC_CHANNEL_CONFIG_t g1_channel7_config |
| const XMC_VADC_GLOBAL_CONFIG_t g_global_config |
| const XMC_VADC_GROUP_CONFIG_t g_group_config |
| 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 |
| const XMC_VADC_RESULT_CONFIG_t g_result0_handle |
| const XMC_VADC_RESULT_CONFIG_t g_result15_handle |
| const XMC_VADC_RESULT_CONFIG_t g_result7_handle |
| const XMC_VADC_SCAN_CONFIG_t g_scan_config |