Lines Matching +full:4 +full:- +full:byte
31 /* ----------------------- System includes ----------------------------------*/
35 /* ----------------------- Platform includes --------------------------------*/
38 /* ----------------------- Modbus includes ----------------------------------*/
44 /* ----------------------- Defines ------------------------------------------*/
47 #define MB_PDU_FUNC_READ_SIZE ( 4 )
52 #define MB_PDU_FUNC_WRITE_SIZE ( 4 )
56 #define MB_PDU_FUNC_WRITE_MUL_BYTECNT_OFF ( MB_PDU_DATA_OFF + 4 )
63 #define MB_PDU_FUNC_READWRITE_WRITE_ADDR_OFF ( MB_PDU_DATA_OFF + 4 )
69 /* ----------------------- Static functions ---------------------------------*/
72 /* ----------------------- Start implementation -----------------------------*/
197 /* First byte contains the function code. */ in eMBFuncReadHoldingRegister()
201 /* Second byte in the response contain the number of bytes. */ in eMBFuncReadHoldingRegister()
279 /* First byte contains the function code. */ in eMBFuncReadWriteMultipleHoldingRegister()
283 /* Second byte in the response contain the number of bytes. */ in eMBFuncReadWriteMultipleHoldingRegister()