#ifndef _CDERANDO_H #define _CDERANDO_H //CONTROL DERANDO //////////////////////////////////////////////////////////////////////////////// ///////////////////////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_derando; //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_derando; //////////////////////////////////////////////////////////////////////////////// ///////////////////////CONTROL TYPE///////////////////////////////////////////// typedef struct //Defined according the control out needs { CData_derando CData; CExec_derando CExec; }CDerando; //Control Derando #endif