Go to the documentation of this file.00001
00043 #if !defined (DSP_H)
00044 #define DSP_H
00045
00046
00047
00048 #include <dsplink.h>
00049 #include <_dspdefs.h>
00050
00051 #if defined (DDSP_PROFILE)
00052 #include <profile.h>
00053 #endif
00054
00055
00056 #if defined (__cplusplus)
00057 extern "C" {
00058 #endif
00059
00060
00075 NORMAL_API
00076 Void
00077 DSP_moduleInit (Void) ;
00078
00079
00094 NORMAL_API
00095 Void
00096 DSP_moduleExit (Void) ;
00097
00098
00127 NORMAL_API
00128 DSP_STATUS
00129 DSP_init (IN ProcessorId dspId, IN DSP_Interface * interface) ;
00130
00131
00155 NORMAL_API
00156 DSP_STATUS
00157 DSP_exit (IN ProcessorId dspId) ;
00158
00159
00186 NORMAL_API
00187 DSP_STATUS
00188 DSP_start (IN ProcessorId dspId, IN Uint32 dspAddr) ;
00189
00190
00215 NORMAL_API
00216 DSP_STATUS
00217 DSP_stop (IN ProcessorId dspId) ;
00218
00219
00244 NORMAL_API
00245 DSP_STATUS
00246 DSP_idle (IN ProcessorId dspId) ;
00247
00248
00279 NORMAL_API
00280 DSP_STATUS
00281 DSP_intCtrl (IN ProcessorId dspId,
00282 IN Uint32 intId,
00283 IN DSP_IntCtrlCmd cmd,
00284 IN OUT Pvoid arg) ;
00285
00286
00320 NORMAL_API
00321 DSP_STATUS
00322 DSP_read (IN ProcessorId dspId,
00323 IN Uint32 dspAddr,
00324 IN Endianism endianInfo,
00325 IN Uint32 numBytes,
00326 OUT Uint8 * buffer) ;
00327
00328
00361 NORMAL_API
00362 DSP_STATUS
00363 DSP_write (IN ProcessorId dspId,
00364 IN Uint32 dspAddr,
00365 IN Endianism endianInfo,
00366 IN Uint32 numBytes,
00367 IN Uint8 * buffer) ;
00368
00369
00396 NORMAL_API
00397 Uint32
00398 DSP_addrConvert (IN ProcessorId dspId,
00399 IN Uint32 addr,
00400 IN DSP_AddrConvType type) ;
00401
00402
00428 NORMAL_API
00429 DSP_STATUS
00430 DSP_control (IN ProcessorId dspId,
00431 IN Int32 cmd,
00432 Pvoid arg) ;
00433
00434
00435 #if defined (DDSP_PROFILE)
00436
00460 NORMAL_API
00461 DSP_STATUS
00462 DSP_instrument (IN ProcessorId dspId, OUT DSP_Stats * retVal) ;
00463
00464 #endif
00465
00466
00467 #if defined (DDSP_DEBUG)
00468
00488 NORMAL_API
00489 Void
00490 DSP_debug (IN ProcessorId dspId) ;
00491 #endif
00492
00493
00494 #if defined (__cplusplus)
00495 }
00496 #endif
00497
00498
00499 #endif