/*
 * CIPCoreExterns.h
 *
 *  Created on: Nov 15, 2025
 *      Author: tummalanr
 */

#ifndef CIPCOREEXTERNS_H_
#define CIPCOREEXTERNS_H_

#include "SharedMemoryGlobal.h"


//from IPC Msg Task IPCMsgProcessTask to APP_PZxCyclicTask Processing  task
typedef struct    __attribute__((packed))
{
    uint8_t        PzNo;
}ipc_pzxcyclicmsgprocess;


//CIPCore_DataSync.h
extern uint8_t  CIP_Synch_Done;
extern uint16_t SysStatusConfig_IPC_ClientId;
extern uint16_t IOModules_IPC_ClientId;
extern uint16_t PZxModules_IPC_ClientId;
extern uint16_t MBN_IPC_ClientId;

extern QueueHandle_t   ipcmsgcyclicstnopqueue;
extern QueueHandle_t   ipcmsgcyclicpropopqueue;
extern QueueHandle_t   ipcmsgcyclicextpropopqueue;

extern volatile ecat_runstateinfo prevecatstate;
extern QueueHandle_t   ipcmsgwrreqqueue;

extern uint32_t    mbnresprecvd;


//CIPCore_DataSync.c
extern AppRET_T CIPDataSync_IPCProcessInit(void);

#endif /* CIPCOREEXTERNS_H_ */
