/*
 *************************************************************************
 *                                                                       *
 *                      ROBERT BOSCH GMBH                                *
 *                          STUTTGART                                    *
 *                                                                       *
 *          Alle Rechte vorbehalten - All rights reserved                *
 *                                                                       *
 *************************************************************************

 module:           t2dvar1.c

 derived from:     new

 function:         checks correct coding for tester interface


 FDEF:             %T2DVAR 1.10


 *************************************************************************
 * Administrative Information (automatically filled in by PVCS)          *
 *************************************************************************
 * $Author:   stgollni  $
 * $Date:   Feb 14 2000 11:47:28  $
 * $Revision:   1.0  $
 *************************************************************************


 *************************************************************************
 * Points to be taken into consideration when/if the module is modified: *
 *************************************************************************

 List Of Changes
 ***************

 <date>     <name>      <rev>   <description>

 09.02.00   K3/ESI2-Gh  1.0     N: checks correct coding for tester interface
 \*{list_of_changes...}*\


 *************************************************************************
*/


#define     T2DVAR_ModId                /* module identifier */


/* Include Headerfiles                                                  */
/* ===================                                                  */


#include   PROJECT_H       /* project specific header file              */
                           /*  (defined in MAK- or PSB-file)            */
#include   DFPMDEF_H       /* methods of fault path management          */
                           /*  (defined in <project>.h)                 */
                           /*  (if not necessary remove include line)   */
#include   <t2dvar.d>
                           /* DAMOS definitions and declarations:       */
                           /*  - definitions of local RAMs, exported    */
                           /*    RAMs and Application Parameters        */
                           /*  - declarations of imported RAMs and      */
                           /*    Application Parameters                 */


/************************************************************************/
/*                 Module Internal Definitions                          */
/************************************************************************/

/* Define-Constants                                                     */
/* ================                                                     */
/*{constant_definition...}*/

/* Macros Local To This Module                                          */
/* ===========================                                          */
/*{macro_definition...}*/

/* Local Module RAM-Definitions (attribute static)                      */
/* ===============================================                      */
/* Definition of variables only local to this module. That is, not to   */
/* be exported to other modules and not relevant for calibration.       */

/*{static_ram_definition...}*/
/*{static_bitstruktur_definition...}*/

/* Local Prototypes (attribute static)                                  */
/* ===================================                                  */
/* Declarations (Prototypes) of functions, only used in this module     */

/*{static_function_prototype...}*/


/************************************************************************/
/*                 Global Definitions                                   */
/************************************************************************/

/* Exported RAM-Definitions                                             */
/* ========================                                             */
/* Definition of variables to be exported to other modules but not      */
/* relevant for application                                             */

/*{data_definition...}*/

/* Imported RAM-Definitions                                             */
/* ========================                                             */
/* Declaration of variables to be imported from other modules but not   */
/* relevant for application                                             */

/*{extern_data_definition...}*/


/* Prototypes															*/
/* ==========															*/
/* Declarations (Prototypes) of functions								*/

Byte checkCodingState (void);
// /*{data_type_of_return_value}*/ /*{function_name}*/ (/*{parameter}*/);

/************************************************************************/
/*                Process Definitions                                   */
/************************************************************************/

/*{processes...}*/



/************************************************************************/
/*                Prototype Definitions                                 */
/************************************************************************/

Byte checkCodingState (void)
{
#if (SY_VAR > 0)
	if( B_varnpl == TRUE )
	{
		/* error */
		return (1);
	}
	else
	{
		/* coding OK */
		return (0);
	}
#else
	/* coding OK */
	return (0);
#endif
}
