Lines Matching refs:usRegAddress
127 USHORT usRegAddress; in eMBMasterFuncWriteHoldingRegister() local
133 usRegAddress = ( USHORT )( pucFrame[MB_PDU_FUNC_WRITE_ADDR_OFF] << 8 ); in eMBMasterFuncWriteHoldingRegister()
134 usRegAddress |= ( USHORT )( pucFrame[MB_PDU_FUNC_WRITE_ADDR_OFF + 1] ); in eMBMasterFuncWriteHoldingRegister()
135 usRegAddress++; in eMBMasterFuncWriteHoldingRegister()
139 usRegAddress, 1, MB_REG_WRITE ); in eMBMasterFuncWriteHoldingRegister()
206 USHORT usRegAddress; in eMBMasterFuncWriteMultipleHoldingRegister() local
217 usRegAddress = ( USHORT )( ucMBFrame[MB_PDU_REQ_WRITE_MUL_ADDR_OFF] << 8 ); in eMBMasterFuncWriteMultipleHoldingRegister()
218 usRegAddress |= ( USHORT )( ucMBFrame[MB_PDU_REQ_WRITE_MUL_ADDR_OFF + 1] ); in eMBMasterFuncWriteMultipleHoldingRegister()
219 usRegAddress++; in eMBMasterFuncWriteMultipleHoldingRegister()
230 usRegAddress, usRegCount, MB_REG_WRITE ); in eMBMasterFuncWriteMultipleHoldingRegister()
292 USHORT usRegAddress; in eMBMasterFuncReadHoldingRegister() local
306 usRegAddress = ( USHORT )( ucMBFrame[MB_PDU_REQ_READ_ADDR_OFF] << 8 ); in eMBMasterFuncReadHoldingRegister()
307 usRegAddress |= ( USHORT )( ucMBFrame[MB_PDU_REQ_READ_ADDR_OFF + 1] ); in eMBMasterFuncReadHoldingRegister()
308 usRegAddress++; in eMBMasterFuncReadHoldingRegister()
319 …atus = eMBMasterRegHoldingCB( &pucFrame[MB_PDU_FUNC_READ_VALUES_OFF], usRegAddress, usRegCount, MB… in eMBMasterFuncReadHoldingRegister()