Files
CHJ/user/Protocol/ModbusTest.c

29 lines
660 B
C
Raw Normal View History

2026-03-20 21:16:58 +08:00
#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();
}
}