Searched refs:MB_PDU_SIZE_MIN (Results 1 – 9 of 9) sorted by relevance
117 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()
105 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()
84 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()
80 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()
88 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()
89 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()
70 if( *usLen == ( MB_PDU_FUNC_READ_SIZE + MB_PDU_SIZE_MIN ) ) in eMBFuncReadInputRegister()
75 if( *usLen == ( MB_PDU_FUNC_READ_SIZE + MB_PDU_SIZE_MIN ) ) in eMBFuncReadDiscreteInputs()
67 #define MB_PDU_SIZE_MIN 1 /*!< Function Code */ macro