|
XMC42_800WPSU_LLC
|
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. 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_group0_config |
| const XMC_VADC_GROUP_CONFIG_t | g_group1_config |
Channel ADC configuration | |
| const XMC_VADC_CHANNEL_CONFIG_t | g0_channel6_config |
| const XMC_VADC_CHANNEL_CONFIG_t | g1_channel6_config |
| const XMC_VADC_CHANNEL_CONFIG_t | g0_channel3_config |
| const XMC_VADC_CHANNEL_CONFIG_t | g0_channel5_config |
Result ADC configuration | |
| const XMC_VADC_RESULT_CONFIG_t | g_result3_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 |
| void VADC_Init | ( | void | ) |
Configuration and initialization of the ADC peripheral.
Global, group, channels and results are configured. Queue is configured and initialize. Pointer to the ADC measurements are defined.
Definition at line 241 of file adc.c.
References ADCResult_12V, ADCResult_12VOr, ADCResult_iOut, ADCResult_iR, CH3, CH5, CH6, g0_channel3_config, g0_channel5_config, g0_channel6_config, g1_channel6_config, g_global_config, g_group0_config, g_group1_config, g_queue_config, g_queue_entry1, g_queue_entry2, g_result15_handle, g_result3_handle, g_result7_handle, MASTER, RES15_CH5, RES3_CH3, RES7_CHx, and SLAVE.
Referenced by main().
| const XMC_VADC_CHANNEL_CONFIG_t g0_channel3_config |
G0 Channel3 (Iout) configuration data
Definition at line 138 of file adc.c.
Referenced by VADC_Init().
| const XMC_VADC_CHANNEL_CONFIG_t g0_channel5_config |
G0 Channel5 (resonat current) configuration data
Definition at line 148 of file adc.c.
Referenced by VADC_Init().
| const XMC_VADC_CHANNEL_CONFIG_t g0_channel6_config |
G0 Channel6 (12VDC-Oring) configuration data
Definition at line 117 of file adc.c.
Referenced by VADC_Init().
| const XMC_VADC_CHANNEL_CONFIG_t g1_channel6_config |
G1 Channel6 (12VDC) configuration data
Definition at line 128 of file adc.c.
Referenced by VADC_Init().
| const XMC_VADC_GLOBAL_CONFIG_t g_global_config |
Initialization data of VADC Global resources
Definition at line 61 of file adc.c.
Referenced by VADC_Init().
| const XMC_VADC_GROUP_CONFIG_t g_group0_config |
Initialization data of VADC group 0
Definition at line 92 of file adc.c.
Referenced by VADC_Init().
| const XMC_VADC_GROUP_CONFIG_t g_group1_config |
Initialization data of VADC group 1
Definition at line 102 of file adc.c.
Referenced by VADC_Init().
| const XMC_VADC_QUEUE_CONFIG_t g_queue_config |
Queue configuration
Definition at line 195 of file adc.c.
Referenced by VADC_Init().
| const XMC_VADC_QUEUE_ENTRY_t g_queue_entry1 |
Queue Entry 1: 12VDC and 12VDC-Oring (synchronized)
Definition at line 206 of file adc.c.
Referenced by VADC_Init().
| const XMC_VADC_QUEUE_ENTRY_t g_queue_entry2 |
Queue Entry 2: output current
Definition at line 215 of file adc.c.
Referenced by VADC_Init().
| const XMC_VADC_RESULT_CONFIG_t g_result15_handle |
Resonant current Result configuration data
Definition at line 181 of file adc.c.
Referenced by VADC_Init().
| const XMC_VADC_RESULT_CONFIG_t g_result3_handle |
Output current Result configuration data
Definition at line 163 of file adc.c.
Referenced by VADC_Init().
| const XMC_VADC_RESULT_CONFIG_t g_result7_handle |
Output voltages (output and oring) Result configuration data
Definition at line 172 of file adc.c.
Referenced by VADC_Init().