Home
last modified time | relevance | path

Searched refs:MB_PDU_SIZE_MIN (Results 1 – 9 of 9) sorted by relevance

/hal_espressif-3.4.0/components/freemodbus/modbus/functions/
Dmbfuncholding_m.c117 vMBMasterSetPDUSndLength( MB_PDU_SIZE_MIN + MB_PDU_REQ_WRITE_SIZE ); in eMBMasterReqWriteHoldingRegister()
131 if( *usLen == ( MB_PDU_SIZE_MIN + MB_PDU_FUNC_WRITE_SIZE ) ) in eMBMasterFuncWriteHoldingRegister()
195 vMBMasterSetPDUSndLength( MB_PDU_SIZE_MIN + MB_PDU_REQ_WRITE_MUL_SIZE_MIN + 2*usNRegs ); in eMBMasterReqWriteMultipleHoldingRegister()
214 … if( ( *usLen == MB_PDU_SIZE_MIN + MB_PDU_FUNC_WRITE_MUL_SIZE ) || xMBMasterRequestIsBroadcast() ) in eMBMasterFuncWriteMultipleHoldingRegister()
281 vMBMasterSetPDUSndLength( MB_PDU_SIZE_MIN + MB_PDU_REQ_READ_SIZE ); in eMBMasterReqReadHoldingRegister()
303 else if( *usLen >= MB_PDU_SIZE_MIN + MB_PDU_FUNC_READ_SIZE_MIN ) in eMBMasterFuncReadHoldingRegister()
387 … vMBMasterSetPDUSndLength( MB_PDU_SIZE_MIN + MB_PDU_REQ_READWRITE_SIZE_MIN + 2*usNWriteRegs ); in eMBMasterReqReadWriteMultipleHoldingRegister()
411 else if( *usLen >= MB_PDU_SIZE_MIN + MB_PDU_FUNC_READWRITE_SIZE_MIN ) in eMBMasterFuncReadWriteMultipleHoldingRegister()
Dmbfunccoils_m.c105 vMBMasterSetPDUSndLength( MB_PDU_SIZE_MIN + MB_PDU_REQ_READ_SIZE ); in eMBMasterReqReadCoils()
129 else if ( *usLen >= MB_PDU_SIZE_MIN + MB_PDU_FUNC_READ_SIZE_MIN ) in eMBMasterFuncReadCoils()
212 vMBMasterSetPDUSndLength( MB_PDU_SIZE_MIN + MB_PDU_REQ_WRITE_SIZE ); in eMBMasterReqWriteCoil()
228 if( *usLen == ( MB_PDU_FUNC_WRITE_SIZE + MB_PDU_SIZE_MIN ) ) in eMBMasterFuncWriteCoil()
322 vMBMasterSetPDUSndLength( MB_PDU_SIZE_MIN + MB_PDU_REQ_WRITE_MUL_SIZE_MIN + ucByteCount ); in eMBMasterReqWriteMultipleCoils()
Dmbfuncholding.c84 if( *usLen == ( MB_PDU_FUNC_WRITE_SIZE + MB_PDU_SIZE_MIN ) ) in eMBFuncWriteHoldingRegister()
120 if( *usLen >= ( MB_PDU_FUNC_WRITE_MUL_SIZE_MIN + MB_PDU_SIZE_MIN ) ) in eMBFuncWriteMultipleHoldingRegister()
180 if( *usLen == ( MB_PDU_FUNC_READ_SIZE + MB_PDU_SIZE_MIN ) ) in eMBFuncReadHoldingRegister()
248 if( *usLen >= ( MB_PDU_FUNC_READWRITE_SIZE_MIN + MB_PDU_SIZE_MIN ) ) in eMBFuncReadWriteMultipleHoldingRegister()
Dmbfunccoils.c80 if( *usLen == ( MB_PDU_FUNC_READ_SIZE + MB_PDU_SIZE_MIN ) ) in eMBFuncReadCoils()
157 if( *usLen == ( MB_PDU_FUNC_WRITE_SIZE + MB_PDU_SIZE_MIN ) ) in eMBFuncWriteCoil()
213 if( *usLen > ( MB_PDU_FUNC_WRITE_SIZE + MB_PDU_SIZE_MIN ) ) in eMBFuncWriteMultipleCoils()
Dmbfuncinput_m.c88 vMBMasterSetPDUSndLength( MB_PDU_SIZE_MIN + MB_PDU_REQ_READ_SIZE ); in eMBMasterReqReadInputRegister()
110 else if( *usLen >= MB_PDU_SIZE_MIN + MB_PDU_FUNC_READ_SIZE_MIN ) in eMBMasterFuncReadInputRegister()
Dmbfuncdisc_m.c89 vMBMasterSetPDUSndLength( MB_PDU_SIZE_MIN + MB_PDU_REQ_READ_SIZE ); in eMBMasterReqReadDiscreteInputs()
112 else if( *usLen >= MB_PDU_SIZE_MIN + MB_PDU_FUNC_READ_SIZE_MIN ) in eMBMasterFuncReadDiscreteInputs()
Dmbfuncinput.c70 if( *usLen == ( MB_PDU_FUNC_READ_SIZE + MB_PDU_SIZE_MIN ) ) in eMBFuncReadInputRegister()
Dmbfuncdisc.c75 if( *usLen == ( MB_PDU_FUNC_READ_SIZE + MB_PDU_SIZE_MIN ) ) in eMBFuncReadDiscreteInputs()
/hal_espressif-3.4.0/components/freemodbus/modbus/include/
Dmbframe.h67 #define MB_PDU_SIZE_MIN 1 /*!< Function Code */ macro