#ifndef _CRANDO_H #define _CRANDO_H //CONTROL RANDO //////////////////////////////////////////////////////////////////////////////// ///////////////////////DATA CONTROL///////////////////////////////////////////// /*Define the data source control parameters*/ typedef struct //Defined according the control out needs// { int ninputbytes; //Number of input data bytes// int noutputbytes; //Number of output data bytes// }CData_rando; //COntrol Data Rando// //////////////////////////////////////////////////////////////////////////////// ///////////////////////EXECUTION CONTROL//////////////////////////////////////// /*Define the execution control parameters*/ #define NONACTIVE 0 #define ACTIVE 1 /*Defines a module as active*/ #define TEST_FLOW 2 /*Test flows: Bypass data flow mode*/ #define TEST_PROCESS 3 /*Test Module Process*/ typedef struct //Defined according the control out needs { int status; //Define the status int timeslot; //Define the timeslot to produce the change }CExec_rando; //////////////////////////////////////////////////////////////////////////////// ///////////////////////CONTROL TYPE///////////////////////////////////////////// typedef struct //Defined according the control out needs { CData_rando CData; CExec_rando CExec; }CRando; //Control Data Source #endif