Skip to content

File notation_defs.h

File List > defs > notation_defs > notation_defs.h

Go to the documentation of this file

#ifndef NOTATION_DEFS_H
#define NOTATION_DEFS_H

/******************************************************************************/
/****************************** Includes **************************************/
/******************************************************************************/
#include "tang_defs.h"

/******************************************************************************/
/****************************** Macro *****************************************/
/******************************************************************************/

/******************************************************************************/
/****************************** Defines ***************************************/
/******************************************************************************/

/****************************** Encode Status *********************************/

#define NOTE_DEFS_ENCODE_SUCCESS    (0u)

#define NOTE_DEFS_ENCODE_FAIL       (1u)

/****************************** Decode Status *********************************/

#define NOTE_DEFS_DECODE_SUCCESS    (0u)

#define NOTE_DEFS_DECODE_FAIL       (1u)

/****************************** Flag Builder Macro ****************************/

#define NOTE_STATUS_BLDR(FLAG, HIGH_BITS)    ((FLAG) | (HIGH_BITS))

#endif /* end NOTATION_DEFS_H */