index 7d45ac306c960a4c0be5d2a0a6a8f65a388f55d1..00e53a258fafb6f7949e33ad5dadfc628d80691e 100644 (file)
--- a/pasdk/test_dsp/mib/mib.c
+++ b/pasdk/test_dsp/mib/mib.c
#define min(a, b) (((a) < (b)) ? (a) : (b))
#define max(a, b) (((a) > (b)) ? (a) : (b))
+// FL: (***) debug
+#include "evmc66x_gpio_dbg.h"
+
// -----------------------------------------------------------------------------
inline void IncrementPtr (PAF_InpBufConfig *pBufConfig, Ptr *pPtr, int numWords)
if (status)
return status;
+#if 0 // (***) FL: shows timing of Input Rx SIO reclaim during autodet
+ // (***) debug // B5
+ {
+ static Uint8 toggleState = 0;
+ if (toggleState == 0)
+ GPIOSetOutput(GPIO_PORT_0, GPIO_PIN_99);
+ else
+ GPIOClearOutput(GPIO_PORT_0, GPIO_PIN_99);
+ toggleState = ~(toggleState);
+ }
+#endif
+
// get next block of data to scan
status = DIB_FTABLE_waitForData (device, pBufConfig, syncBufSize);
if (status)
return status;
-
+
// this function updates the tail pointer
status = DIB_FTABLE_syncScan (device, pBufConfig, &timeout);
if (status)