Functions | Variables
Hal_adc_api_sd24

Functions

HAL_ADC_message_code HAL_ADC_init (HAL_ADC_SD24_Configuration *config)
 The following API configures SD24 module based on user configuration files "emSwLib_userConfig.c" and "emSwLib_userConfig.h". More...
 
void HAL_ADC_startConversion (HAL_ADC_SD24_Configuration *config)
 The following API starts the enabled converters. More...
 
void HAL_ADC_stopConversion (HAL_ADC_SD24_Configuration *config)
 The following API stops the enabled converters. More...
 
void HAL_ADC_enableInterrupt (HAL_ADC_SD24_Configuration *config)
 The following API enables the interrupt for the master converter. More...
 
void HAL_ADC_disableInterrupt (HAL_ADC_SD24_Configuration *config)
 The following API disables the interrupt for the master converter. More...
 
void HAL_ADC_printResult (HAL_ADC_SD24_Configuration *config)
 The following API sends the stored results to the GUI. 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_Configuration halAdcConfig
 

Detailed Description

Function Documentation

§ HAL_ADC_init()

The following API configures SD24 module based on user configuration files "emSwLib_userConfig.c" and "emSwLib_userConfig.h".

Parameters
[in]configis a pointer to the HAL ADC SD24 configuration
Returns
HAL_ADC_message_code

§ HAL_ADC_startConversion()

void HAL_ADC_startConversion ( HAL_ADC_SD24_Configuration config)

The following API starts the enabled converters.

Parameters
[in]configis a pointer to the HAL ADC SD24 configuration
Returns
none

§ HAL_ADC_stopConversion()

void HAL_ADC_stopConversion ( HAL_ADC_SD24_Configuration config)

The following API stops the enabled converters.

Parameters
[in]configis a pointer to the HAL ADC SD24 configuration
Returns
none

§ HAL_ADC_enableInterrupt()

void HAL_ADC_enableInterrupt ( HAL_ADC_SD24_Configuration config)

The following API enables the interrupt for the master converter.

Parameters
[in]configis a pointer to the HAL ADC SD24 configuration
Returns
none

§ HAL_ADC_disableInterrupt()

void HAL_ADC_disableInterrupt ( HAL_ADC_SD24_Configuration config)

The following API disables the interrupt for the master converter.

Parameters
[in]configis a pointer to the HAL ADC SD24 configuration
Returns
none

§ HAL_ADC_printResult()

void HAL_ADC_printResult ( HAL_ADC_SD24_Configuration config)

The following API sends the stored results to the GUI.

Parameters
[in]configis a pointer to the HAL ADC SD24 configuration
Returns
none

§ HAL_ADC_clearVariables()

void HAL_ADC_clearVariables ( uint8_t  phase)

The following API clears all the global variables used in the ISR.)

Parameters
[in]phaseis the phase index.
Returns
none

Variable Documentation

§ phaseDataReady

volatile uint8_t phaseDataReady

§ halAdcConfig

© Copyright 1995-2020, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale