/*
 * BoardInitExtern.h
 *
 *  Created on: Nov 7, 2025
 *      Author: tummalanr
 */

#ifndef BOARDINITEXTERN_H_
#define BOARDINITEXTERN_H_


#include "event_groups.h"

/**
* BIT 0 LSS Process Complete Event Bit in xAppStatusEventGroup.
*/
#define             AppStsEvntGrpLSSComplete_BIT            (uint32_t)( 1u << 0u )
/**
* BIT 1    CIP Core Synch Complete Bit in xAppStatusEventGroup.
*/
#define             AppStsEvntGrpCIPSyncomplete_BIT         (uint32_t)( 1u << 1u )
/**
* BIT 2    System Configuration Updated Bit in xAppStatusEventGroup.
*/
#define             AppStsEvntGrpSysConfigUpd_BIT           (uint32_t)( 1u << 2u )




/**
*   BIT 0 Event for Application Exit in xAppMonitorEventGroup
*/
#define             AppMonEventGrp_AppExit_BIT              (uint32_t)( 1u << 0u )           //BIT 0

#define             AppMonEventGrp_AppTaskInfo_BIT          (uint32_t)( 1u << 1u )           //BIT 0


extern EventGroupHandle_t  xAppMonitorEventGroup;

extern TaskHandle_t gMainTask;


extern uint32_t  odrdupdtcpucyclcnt[1000u];
extern uint32_t odrdupdtcpucyclcntindx;


extern AppRET_T  BoardMain_init(void *args);
extern void  BoardMain_close(void *args);

#endif /* BOARDINITEXTERN_H_ */
