NorthStar-Endurance-TestBench/common/prj_modules.h

57 lines
2.1 KiB
C

/**
* @file
*
* @brief This file references all the modules used through the project.
* It is intended to be jointly used with the log module to trace
* the source of an activity.
*
*/
#ifndef _PRJ_MODULES_H_
#define _PRJ_MODULES_H_
/******************************************************************************
* Templates
******************************************************************************/
/******************************************************************************
* Includes
******************************************************************************/
/******************************************************************************
* Macros (parameters)
******************************************************************************/
/******************************************************************************
* Macros (constants)
******************************************************************************/
/******************************************************************************
* Type declarations
******************************************************************************/
typedef enum
{
MODULE_NONE = 0u, /* Reserved for forbidden code 0. */
MODULE_LOG = 1u,
MODULE_MAIN = 2u,
/**< Developer may add new modules here (not between existing fields!). */
MODULE_HAL_GPIO = 3u,
MODULE_HAL_ADC = 4u,
MODULE_HAL_SYSTEM = 6u,
MODULE_MAP_HARDWARE = 7u,
MODULE_PU_BOARD = 8u,
MODULE_VALVE_CONTROLLER = 9u,
MODULE_NUMBER /* Amount of modules referenced in the CCU manager. */
} PrjModuleUid_en;
/******************************************************************************
* Global variables
******************************************************************************/
/******************************************************************************
* Functions declarations
******************************************************************************/
#endif /* END _PRJ_MODULE_H_ */