This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

帮忙改几段代码使其遵守ULP



全部都是这个:

Detected loop counting up. Recommend loops count down as detecting zeros is easier

也想学习一种改的方法:

for (i=0; i<len; i++)
{
   WriteRawRC(FIFODataReg, *(pIndata+i));  //pIndata是外部参数传入的指针
}

必须顺序写入的数据:

for (i=0; i<InLenByte; i++)
{
WriteRawRC(FIFODataReg, pInData[i]);
}

必须顺序读出的数据

for (i=0; i<n; i++)
{
pOutData[i] = ReadRawRC(FIFODataReg);
}

另外我这个变量自己都找不到..