Lines Matching full:pdu
51 #define MB_SER_PDU_SIZE_CRC 2 /*!< Size of CRC field in PDU. */
52 #define MB_SER_PDU_ADDR_OFF 0 /*!< Offset of slave address in Ser-PDU. */
53 #define MB_SER_PDU_PDU_OFF 1 /*!< Offset of Modbus-PDU in Ser-PDU. */
174 /* Total length of Modbus-PDU is Modbus-Serial-Line-PDU minus in eMBMasterRTUReceive()
179 /* Return the start of the Modbus PDU to the caller. */ in eMBMasterRTUReceive()
207 /* First byte before the Modbus-PDU is the slave address. */ in eMBMasterRTUSend()
211 /* Now copy the Modbus-PDU into the Modbus-Serial-Line-PDU. */ in eMBMasterRTUSend()
215 /* Calculate CRC16 checksum for Modbus-Serial-Line-PDU. */ in eMBMasterRTUSend()
414 /* Get Modbus Master send PDU's buffer address pointer.*/
420 /* Set Modbus Master send PDU's buffer length.*/
426 /* Get Modbus Master send PDU's buffer length.*/