Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00052 #ifndef ti_sdo_ce_universal_UNIVERSAL_
00053 #define ti_sdo_ce_universal_UNIVERSAL_
00054
00055 #ifdef __cplusplus
00056 extern "C" {
00057 #endif
00058
00059 #include <ti/xdais/dm/xdm.h>
00060 #include <ti/xdais/dm/iuniversal.h>
00061
00062 #include <ti/sdo/ce/Engine.h>
00063 #include <ti/sdo/ce/visa.h>
00064 #include <ti/sdo/ce/skel.h>
00065
00068
00070 #define UNIVERSAL_EOK IUNIVERSAL_EOK
00071
00073 #define UNIVERSAL_EFAIL IUNIVERSAL_EFAIL
00074
00076 #define UNIVERSAL_EUNSUPPORTED IUNIVERSAL_EUNSUPPORTED
00077
00079 #define UNIVERSAL_ETIMEOUT VISA_ETIMEOUT
00080
00082 #define UNIVERSAL_FOREVER VISA_FOREVER
00083
00084
00091 #define UNIVERSAL_STUBSNAME "UNIVERSAL_STUBS"
00092
00093
00097 typedef VISA_Handle UNIVERSAL_Handle;
00098
00103 typedef struct IUNIVERSAL_Params UNIVERSAL_Params;
00104
00106 typedef IUNIVERSAL_InArgs UNIVERSAL_InArgs;
00108 typedef IUNIVERSAL_OutArgs UNIVERSAL_OutArgs;
00110 typedef IUNIVERSAL_Cmd UNIVERSAL_Cmd;
00112 typedef IUNIVERSAL_Status UNIVERSAL_Status;
00113
00115 typedef IUNIVERSAL_DynamicParams UNIVERSAL_DynamicParams;
00116
00122 #define UNIVERSAL_VISATYPE "ti.sdo.ce.universal.IUNIVERSAL"
00123
00130 extern SKEL_Fxns UNIVERSAL_SKEL;
00131
00136 extern IUNIVERSAL_Fxns UNIVERSAL_STUBS;
00137
00145 typedef struct IUNIVERSAL_CodecClassConfig {
00146 Bool manageInBufsCache [ XDM_MAX_IO_BUFFERS ];
00147 Bool manageInOutBufsCache [ XDM_MAX_IO_BUFFERS ];
00148 Bool manageOutBufsCache [ XDM_MAX_IO_BUFFERS ];
00149 } IUNIVERSAL_CodecClassConfig;
00150
00151
00152
00153
00154
00179 extern Int32 UNIVERSAL_control(UNIVERSAL_Handle handle,
00180 UNIVERSAL_Cmd id, UNIVERSAL_DynamicParams *params,
00181 UNIVERSAL_Status *status);
00182
00183
00184
00185
00186
00215 extern UNIVERSAL_Handle UNIVERSAL_create(Engine_Handle e, String name,
00216 UNIVERSAL_Params *params);
00217
00218
00219
00220
00221
00239 extern Void UNIVERSAL_delete(UNIVERSAL_Handle handle);
00240
00241
00242
00243
00244
00285 extern Int32 UNIVERSAL_process(UNIVERSAL_Handle handle,
00286 XDM1_BufDesc *inBufs, XDM1_BufDesc *outBufs, XDM1_BufDesc *inOutBufs,
00287 UNIVERSAL_InArgs *inArgs, UNIVERSAL_OutArgs *outArgs);
00288
00289
00290
00291
00330 extern XDAS_Int32 UNIVERSAL_processAsync(UNIVERSAL_Handle handle,
00331 XDM1_BufDesc *inBufs, XDM1_BufDesc *outBufs, XDM1_BufDesc *inOutBufs,
00332 IUNIVERSAL_InArgs *inArgs, IUNIVERSAL_OutArgs *outArgs);
00333
00334
00335
00336
00381 extern XDAS_Int32 UNIVERSAL_processWait(UNIVERSAL_Handle handle,
00382 XDM1_BufDesc *inBufs, XDM1_BufDesc *outBufs, XDM1_BufDesc *inOutBufs,
00383 IUNIVERSAL_InArgs *inArgs, IUNIVERSAL_OutArgs *outArgs, UInt timeout);
00384
00387 #ifdef __cplusplus
00388 }
00389 #endif
00390
00391 #endif
00392
00393
00394
00395
00396