File computation_defs.h
File List > computation_defs > computation_defs.h
Go to the documentation of this file
#ifndef COMPUTATION_DEFS_H
#define COMPUTATION_DEFS_H
/******************************************************************************/
/****************************** Includes **************************************/
/******************************************************************************/
#include "tang_defs.h"
#include "stdlib.h"
/******************************************************************************/
/****************************** Macro *****************************************/
/******************************************************************************/
/******************************************************************************/
/****************************** Defines ***************************************/
/******************************************************************************/
/****************************** Config Status *********************************/
#define COMP_DEFS_CONFIG_SUCCESS (0u)
#define COMP_DEFS_CONFIG_FAIL (1u)
/****************************** Compute Status *********************************/
#define COMP_DEFS_COMPUTE_SUCCESS (0u)
#define COMP_DEFS_COMPUTE_FAIL (1u)
/****************************** Flag Builder Macro ****************************/
#define COMP_STATUS_BLDR(FLAG, HIGH_BITS) ((FLAG) | (HIGH_BITS))
#endif /* end COMPUTATION_DEFS_H */