UART_Send_Str("以字節(jié)模式寫入\n"); strcpy(towrite,"ABCDEFGHIJKLMNOPQRSTABCDEFGHIJ"); len=strlen(towrite); j=len/MAX_BYTE_IO; for(i=0;i { mCmdParam.ByteWrite.mByteCount=MAX_BYTE_IO; for(k=0;k { mCmdParam.ByteWrite.mByteBuffer[k]=towrite[counter++]; } CH375ByteWrite(); } mCmdParam.ByteWrite.mByteCount=len%MAX_BYTE_IO; for(k=0;k { mCmdParam.ByteWrite.mByteBuffer[k]=towrite[counter++]; } CH375ByteWrite(); mCmdParam.ByteWrite.mByteCount=0; CH375ByteWrite(); UART_Put_Inf("當(dāng)前文件的偏移量為:",CH375vCurrentOffset); UART_Send_Str("關(guān)閉文件,更新文件長度\n"); mCmdParam.Close.mUpdateLen=1; CH375FileClose();
len=strlen(towrite);中的towrite怎么定義?謝謝