const Spi_DataType * buf;\r
Spi_NumberOfDataType copyCnt;\r
Spi_NumberOfDataType fifoLeft;\r
- boolean done = 0;\r
- boolean lastJob = 0;\r
int i;\r
jobUnitPtr = &Spi_JobUnit[jobIndex];\r
\r
}\r
\r
\r
+#if defined(USE_LDEBUG_PRINTF) && ( DEBUG_LVL <= DEBUG_HIGH )\r
void Spi_PrintSeqInfo(const Spi_SequenceConfigType *seqConfigPtr) {\r
int i = 0;\r
uint32 job;\r
while ((job = seqConfigPtr->JobAssignment[i]) != JOB_NOT_VALID) {\r
DEBUG(DEBUG_HIGH,"%d ",job);\r
i++;\r
- } DEBUG(DEBUG_HIGH,"\n");\r
+ }\r
+ DEBUG(DEBUG_HIGH,"\n");\r
}\r
+#endif\r
\r
\r
/**\r
volatile struct DSPI_tag *spiHw;\r
uint32 confMask;\r
uint8 confNr;\r
- Spi_UnitType *spiUnit;\r
\r
// TODO: check that the queue is empty.. if so do the next job.\r
if (Spi_Global.asyncMode == SPI_POLLING_MODE) {\r
if (spiHw->SR.B.TXRXS) {\r
// Still not done..\r
} else {\r
- spiUnit = GET_SPI_UNIT_PTR(confNr);\r
Spi_Isr(confNr);\r
}\r
}\r
\r
#define IOHWAB_E_INIT 0x01\r
\r
-#define IOHWAB_E_PARAM_CHANNEL 0x11\r
+#define IOHWAB_E_PARAM_SIGNAL 0x11\r
#define IOHWAB_E_PARAM_DUTY 0x12\r
\r
/******************************************* DET macros *******************************************/\r
\r
//typedef sint32 IoHwAb_ChannelType;\r
\r
+typedef sint32 IoHwAb_SignalType;\r
+\r
/* Duty cycle type (per mille) */\r
typedef uint32 IoHwAb_DutyType;\r
#define IOHWAB_DUTY_MIN 0 /* 0% */\r