File generator_defs.h
File List > defs > generator_defs > generator_defs.h
Go to the documentation of this file
#ifndef GENERATOR_DEFS_H
#define GENERATOR_DEFS_H
/******************************************************************************/
/****************************** Includes **************************************/
/******************************************************************************/
#include "tang_defs.h"
#include "stdlib.h"
#include "stdint.h"
#include "stddef.h"
/******************************************************************************/
/****************************** typedef ***************************************/
/******************************************************************************/
/******************************************************************************/
/****************************** Macro *****************************************/
/******************************************************************************/
/******************************************************************************/
/****************************** Defines ***************************************/
/******************************************************************************/
/****************************** Encode Status *********************************/
#define GEN_DEFS_CONFIG_SUCCESS (0u)
#define GEN_DEFS_CONFIG_FAIL (1u)
/****************************** Decode Status *********************************/
#define GEN_DEFS_GENERATION_SUCCESS (0u)
#define GEN_DEFS_GENERATION_FAIL (1u)
/****************************** Flag Builder Macro ****************************/
#define GEN_STATUS_BLDR(FLAG, HIGH_BITS) ((FLAG) | (HIGH_BITS))
#endif /* end GENERATOR_DEFS_H */