Functions | |
HAL_ADC_message_code | HAL_ADC_init (HAL_ADC_SD24_B_Configuration *config) |
The following API configures SD24_B module based on user configuration files "emSwLib_userConfig.c" and "emSwLib_userConfig.h". More... | |
void | HAL_ADC_startConversion (HAL_ADC_SD24_B_Configuration *config) |
The following API starts the enabled converters. More... | |
void | HAL_ADC_stopConversion (HAL_ADC_SD24_B_Configuration *config) |
The following API stops the enabled converters. More... | |
void | HAL_ADC_enableInterrupts (HAL_ADC_SD24_B_Configuration *config) |
The following API enables the interrupt for the master converter. More... | |
void | HAL_ADC_disableInterrupts (HAL_ADC_SD24_B_Configuration *config) |
The following API disables the interrupt for all the channels initialized in adcChannelArray (located in the "emSwLib_userConfig.c") More... | |
void | HAL_ADC_clearVariables (uint8_t phase) |
The following API clears all the global variables used in the ISR.) More... | |
Variables | |
volatile uint8_t | phaseDataReady |
HAL_ADC_SD24_B_Configuration | halAdcConfig |
HAL_ADC_message_code HAL_ADC_init | ( | HAL_ADC_SD24_B_Configuration * | config | ) |
The following API configures SD24_B module based on user configuration files "emSwLib_userConfig.c" and "emSwLib_userConfig.h".
[in] | config | is a pointer to the HAL ADC SD24_B configuration |
void HAL_ADC_startConversion | ( | HAL_ADC_SD24_B_Configuration * | config | ) |
The following API starts the enabled converters.
[in] | config | is a pointer to the HAL ADC SD24_B configuration |
void HAL_ADC_stopConversion | ( | HAL_ADC_SD24_B_Configuration * | config | ) |
The following API stops the enabled converters.
[in] | config | is a pointer to the HAL ADC SD24_B configuration |
void HAL_ADC_enableInterrupts | ( | HAL_ADC_SD24_B_Configuration * | config | ) |
The following API enables the interrupt for the master converter.
[in] | config | is a pointer to the HAL ADC SD24_B configuration |
void HAL_ADC_disableInterrupts | ( | HAL_ADC_SD24_B_Configuration * | config | ) |
The following API disables the interrupt for all the channels initialized in adcChannelArray (located in the "emSwLib_userConfig.c")
[in] | config | is a pointer to the HAL ADC SD24_B configuration |
void HAL_ADC_clearVariables | ( | uint8_t | phase | ) |
The following API clears all the global variables used in the ISR.)
[in] | phase | is the phase index. |
volatile uint8_t phaseDataReady |
HAL_ADC_SD24_B_Configuration halAdcConfig |