NULL
This commit is contained in:
28
user/Protocol/ModbusTest.c
Executable file
28
user/Protocol/ModbusTest.c
Executable file
@@ -0,0 +1,28 @@
|
||||
#include "../main/SystemInclude.h"
|
||||
|
||||
//==============================================================================
|
||||
u16 controlCammand;
|
||||
|
||||
/******************************************************************************/
|
||||
void ReadParameterProtocol( void )
|
||||
{
|
||||
while( byteNumber > 1 )
|
||||
{
|
||||
dataByte = 2;
|
||||
|
||||
switch( startAddr & 0xf000 ) // judge:0x8000,9000,A000,D000,E000,F000
|
||||
{
|
||||
//==============================================================================
|
||||
case 0: tempL.Word[0] = 0;
|
||||
|
||||
break;
|
||||
|
||||
default:
|
||||
tempL.Word[0] = 0;
|
||||
break;
|
||||
}
|
||||
|
||||
CopyDataAndJudgeComplete();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user