/*
 * ModuleDiscoveryInfo.c
 *
 *  Created on: Mar 16, 2025
 *      Author: tummalanr
 */



#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include <stdarg.h>

#include <inttypes.h>
#include <kernel/dpl/DebugP.h>
#include <kernel/dpl/ClockP.h>



#include    "SystemStsConfig.h"
#include    "SharedMemoryExterns.h"



system_discoveredmapids     io_discmapids[IO_INSTANCE_MAX] = {0u};

uint8_t     app_dip_maxinsts = 0u;          //max no of insts i.e data size in dip cyclic data as per discovery.
uint8_t     app_dop_maxinsts = 0u;          //max no of insts i.e data size in dop cyclic data as per discovery.

uint8_t     ioip_pos_dataoffset[IO_INSTANCE_MAX] = {0u}; //contains the data offset in ioip_framebuf[] based on discovery positions
uint8_t     ioip_pos_datasize[IO_INSTANCE_MAX] = {0u}; //contains the data szie in ioip_framebuf[] based on discovery positions

uint8_t     ioop_pos_dataoffset[IO_INSTANCE_MAX] = {0u}; //contains the data offset in ioop_framebuf[] based on discovery positions
uint8_t     ioop_pos_datasize[IO_INSTANCE_MAX] = {0u};  //contains the data szie in ioop_framebuf[] based on discovery positions
