Freescale Semiconductor Inc.
    Regional Technical Application Center

 

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

#include "System_Cfg.h"

Include dependency graph for Adc_Filter_ReportError.h:

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

Go to the source code of this file.

Defines

#define ADC_FLTR_INIT_ID   ((uint8_t)0x00)
#define ADC_FLTR_CALLBACK_PTR_ID   ((uint8_t)0x01)
#define ADC_FLTR_E_PARAM_CONFIG   ((uint8_t)0x10)
#define ADC_FLTR_E_UNINIT   ((uint8_t)0x11)
#define ADC_FLTR_E_PARAM_CHANNEL   ((uint8_t)0x12)
#define ADC_FLTR_E_AVERAGE   ((uint8_t)0x13)
#define ADC_FLTR_E_FNC_CALLBACK_UNINIT   ((uint8_t)0x14)

Functions

void vfnAdc_Filter_Report_Error (uint8_t ApiId, uint8_t ErrorId)
 Serve to catch and save any data inconsistency passed throughout
every Pwm function. Each type of error is saved in RAM variables
user is able to use them as convenience.


Define Documentation

#define ADC_FLTR_CALLBACK_PTR_ID   ((uint8_t)0x01)

#define ADC_FLTR_E_AVERAGE   ((uint8_t)0x13)

#define ADC_FLTR_E_FNC_CALLBACK_UNINIT   ((uint8_t)0x14)

#define ADC_FLTR_E_PARAM_CHANNEL   ((uint8_t)0x12)

#define ADC_FLTR_E_PARAM_CONFIG   ((uint8_t)0x10)

ADC Filter Error Types

#define ADC_FLTR_E_UNINIT   ((uint8_t)0x11)

#define ADC_FLTR_INIT_ID   ((uint8_t)0x00)

Include Definitions from System Clock API Error Types


Function Documentation

void vfnAdc_Filter_Report_Error ( uint8_t  ApiId,
uint8_t  ErrorId 
)

Serve to catch and save any data inconsistency passed throughout
every Pwm function. Each type of error is saved in RAM variables
user is able to use them as convenience.

Author:
R01160
Parameters:
Pwm Instance Id, Api Error type, Error definition tyoe
Returns:
none
Todo:
Warning: