/*************************************************************/ /* The following dynamic stream assignments are specified... */ /*************************************************************/ #include "xbdrv.h" #include "pd1_sup.h" /*************************************************************/ /* Call this procedure to auto route the PD1. */ /*************************************************************/ int RouteSched(int din) { int src[32]; float sf[32]; PD1clrsched(din); src[ 0] = ADC[1]; sf[ 0] = 1; src[ 1] = ADC[0]; sf[ 1] = 1; PD1addmult(din, src, sf, 2, IREG[0]); PD1addsimp(din, DSPout[0], DAC[0]); PD1addsimp(din, IREG[0], DSPin[0]); PD1specIB(din, IB[0], COEF[0]); return(1); } /*************************************************************/ /* Call this procedure to setup delay processor. */ /*************************************************************/ int DelaySet(int din) { PD1clrDEL(din, 0, 0, 0, 0); return(1); } /*************************************************************/ /* Call this procedure to preload coefs to DSPs */ /*************************************************************/ int PreloadCoef(int din) { return(1); }