Freescale Semiconductor Inc.
    Regional Technical Application Center

 

E:/PROJECTS/IOP/ADC Average/Src/ADC_Filter/ADC_Filter_Drv/src/Adc_Filter.h File Reference

This file contains all Configuration parameters of ADC Filter driver. More...

#include "Adc.h"
#include "Adc_Filter_ReportError.h"
#include "AdcFltr_Cfg.h"

Include dependency graph for Adc_Filter.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define AVERAGE_RELOAD_SAMPLE_BUFFER()

Functions

void vfnADC_Start_Average (void)
 Start ADC Averaging on every configured channels.
void vfnADC_Stop_Average (void)
 Stops ADC averaging on the whole driver.
void vfnAdc_Sample_Acquire (void)
 This functions serves to start sampling of all configured ADC Channels and
to keep track of which channel need to be triggered.
void vfnFilter_1_End (void)
void vfnAdc_Average (tAdcFltr_FilterStruct *filter)
 Saves the sample acquired from an specific ADC Channel and Compute the Filter at the end of the sample
acquisition.
void vfnAdcFltr_Init (tAdcFltr_FilterStruct *filter)
 Initialize ADC Filter structure by configuring all ADC conversion channels
and control variables.

Variables

tAdcFltr_FilterStructAdcFltrCntl_t


Detailed Description

This file contains all Configuration parameters of ADC Filter driver.

Copyright (c) 2008 Freescale Semiconductor Freescale Confidential Proprietary

Author:
Freescale Semiconductor

Guadalajara Applications Laboratory RTAC Americas

R01160

Version:
0.1
Date:
11/23/2008

Define Documentation

 
#define AVERAGE_RELOAD_SAMPLE_BUFFER (  ) 

Value:

Save new samples, Trigger eDMA module and reset the ADC channel counter


Function Documentation

void vfnAdc_Average ( tAdcFltr_FilterStruct filter  ) 

Saves the sample acquired from an specific ADC Channel and Compute the Filter at the end of the sample
acquisition.

Author:
R01160
Parameters:
ADC Filter Strucutre. (tAdcFltr_FilterStruct)
Returns:
none
Warning:

void vfnAdc_Sample_Acquire ( void   ) 

This functions serves to start sampling of all configured ADC Channels and
to keep track of which channel need to be triggered.

Author:
R01160
Parameters:
none 
Returns:
none
Warning:
This function shall be handled only by a PIT channel.

void vfnADC_Start_Average ( void   ) 

Start ADC Averaging on every configured channels.

Author:
R01160
Parameters:
none 
Returns:
none

void vfnADC_Stop_Average ( void   ) 

Stops ADC averaging on the whole driver.

Author:
R01160
Parameters:
none 
Returns:
none

void vfnAdcFltr_Init ( tAdcFltr_FilterStruct filter  ) 

Initialize ADC Filter structure by configuring all ADC conversion channels
and control variables.

Author:
R01160
Parameters:
ADC Filter Strucutre. (tAdcFltr_FilterStruct)
Returns:
none

void vfnFilter_1_End ( void   ) 


Variable Documentation