Home
last modified time | relevance | path

Searched refs:ucFunctionCode (Results 1 – 5 of 5) sorted by relevance

/hal_espressif-3.4.0/components/freemodbus/modbus/
Dmb.c227 eMBRegisterCB( UCHAR ucFunctionCode, pxMBFunctionHandler pxHandler ) in eMBRegisterCB() argument
232 if( ( 0 < ucFunctionCode ) && ( ucFunctionCode <= MB_FUNC_CODE_MAX ) ) in eMBRegisterCB()
242 xFuncHandlers[i].ucFunctionCode = ucFunctionCode; in eMBRegisterCB()
253 if( xFuncHandlers[i].ucFunctionCode == ucFunctionCode ) in eMBRegisterCB()
255 xFuncHandlers[i].ucFunctionCode = 0; in eMBRegisterCB()
337 static UCHAR ucFunctionCode; in eMBPoll() local
380 ucFunctionCode = ucMBFrame[MB_PDU_FUNC_OFF]; in eMBPoll()
385 if( xFuncHandlers[i].ucFunctionCode == 0 ) in eMBPoll()
389 if( xFuncHandlers[i].ucFunctionCode == ucFunctionCode ) in eMBPoll()
404 ucMBFrame[usLength++] = ( UCHAR )( ucFunctionCode | MB_FUNC_ERROR ); in eMBPoll()
Dmb_m.c308 static UCHAR ucFunctionCode; in eMBMasterPoll() local
373 ucFunctionCode = ucMBFrame[MB_PDU_FUNC_OFF]; in eMBMasterPoll()
376 if (ucFunctionCode & MB_FUNC_ERROR) in eMBMasterPoll()
383 if (xMasterFuncHandlers[i].ucFunctionCode == 0) in eMBMasterPoll()
387 if (xMasterFuncHandlers[i].ucFunctionCode == ucFunctionCode) in eMBMasterPoll()
/hal_espressif-3.4.0/components/freemodbus/modbus/include/
Dmbproto.h76 UCHAR ucFunctionCode; member
Dmb.h265 eMBErrorCode eMBRegisterCB( UCHAR ucFunctionCode,
Dmb_m.h215 eMBErrorCode eMBMasterRegisterCB( UCHAR ucFunctionCode,