Index: firmware/App/Services/NVMsgQ.h =================================================================== diff -u -r45b03b9f23005c05fc75f69416595a155e250cbe -r43e60a63eae841e599ff9106f43177a8f63d22be --- firmware/App/Services/NVMsgQ.h (.../NVMsgQ.h) (revision 45b03b9f23005c05fc75f69416595a155e250cbe) +++ firmware/App/Services/NVMsgQ.h (.../NVMsgQ.h) (revision 43e60a63eae841e599ff9106f43177a8f63d22be) @@ -15,10 +15,20 @@ #ifndef _NV_MSG_Q_H_ #define _NV_MSG_Q_H_ -#include "NVDriver.h" #include "Common.h" #include "DDDefs.h" +#include "NVDriver.h" +/** + * @defgroup NVMsgQ NVMsgQ + * @brief + * + * @addtogroup NVMsgQ + * @{ + */ + +// ********** public definitions ********** + #define MIN_JOBS_NEEDED_FOR_SECTOR_0 5U ///< Min queue count needed to erase and write all (5) records back in sector 0. #define DD_USAGE_INFO_START_ADDRESS 0x00000030 /* 48 */ ///< DG usage info start address in RTC RAM (48). #define DD_SCHEDULED_RUNS_START_ADDRESS (DD_USAGE_INFO_START_ADDRESS + sizeof(DD_SERVICE_GROUP_T)) ///< DG scheduled runs start address in RTC RAM. @@ -39,6 +49,8 @@ NUM_OF_NVDATAMGMT_READ_RECORDS_STATES, ///< Number of NVDataMgmt read records states. } NVDATAMGMT_RECORDS_READ_STATUS_T; +// ********** public function prototypes ********** + void initNVMsgQ ( void ); void execNVDataMgmtProcessRecord( void ); @@ -61,4 +73,6 @@ PROCESS_RECORD_JOB_T getCurrentProcessRecordJob ( void ); +/**@}*/ + #endif /* _NV_MSG_Q_H_ */