Functions | Variables
Hal_adc_api_sd24b

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
 

Detailed Description

Function Documentation

§ HAL_ADC_init()

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

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

§ HAL_ADC_startConversion()

void HAL_ADC_startConversion ( HAL_ADC_SD24_B_Configuration config)

The following API starts the enabled converters.

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

§ HAL_ADC_stopConversion()

void HAL_ADC_stopConversion ( HAL_ADC_SD24_B_Configuration config)

The following API stops the enabled converters.

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

§ HAL_ADC_enableInterrupts()

void HAL_ADC_enableInterrupts ( HAL_ADC_SD24_B_Configuration config)

The following API enables the interrupt for the master converter.

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

§ HAL_ADC_disableInterrupts()

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")

Parameters
[in]configis a pointer to the HAL ADC SD24_B 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 2018, Texas Instruments Incorporated